Fix copy-paste errors in extension unit test
Change-Id: I68656de10c3287a73d230b8ec006d39973a9b002
(cherry-picked from commit 327bbbe34c
)
This commit is contained in:
parent
953df03965
commit
757a340295
@ -727,7 +727,7 @@ class GroupPolicyExtensionTestCase(test_extensions_base.ExtensionTestCase):
|
||||
self.assertEqual(expected_value, res['policy_classifier'])
|
||||
|
||||
def test_delete_policy_classifier(self):
|
||||
self._test_entity_delete('policy_action')
|
||||
self._test_entity_delete('policy_classifier')
|
||||
|
||||
def _test_create_policy_rule(self, data, expected_value,
|
||||
default_data=None):
|
||||
@ -823,7 +823,7 @@ class GroupPolicyExtensionTestCase(test_extensions_base.ExtensionTestCase):
|
||||
self.assertEqual(expected_value, res['policy_rule'])
|
||||
|
||||
def test_delete_policy_rule(self):
|
||||
self._test_entity_delete('policy_action')
|
||||
self._test_entity_delete('policy_rule')
|
||||
|
||||
def _test_create_policy_rule_set(self, data, expected_value,
|
||||
default_data=None):
|
||||
|
Loading…
Reference in New Issue
Block a user