diff options
author | Akihiro Motoki <amotoki@gmail.com> | 2019-12-17 16:39:14 +0900 |
---|---|---|
committer | Akihiro Motoki <amotoki@gmail.com> | 2019-12-17 16:39:14 +0900 |
commit | 91fb009706526ed8d36ca8f2cf57f1763a9af520 (patch) | |
tree | 9b2ce9885b29c8ae625b9ec2fd8a2d06eee32067 /neutronclient/tests | |
parent | e68234ecf6ce402660dd0577b8b86513594a6005 (diff) | |
download | python-neutronclient-91fb009706526ed8d36ca8f2cf57f1763a9af520.tar.gz |
Fix pep8 errors with hacking 2.0.0
Change-Id: I4737d4bc4fa116f45e2361eba93f48feae0161a4
Diffstat (limited to 'neutronclient/tests')
-rw-r--r-- | neutronclient/tests/unit/osc/v2/logging/test_network_log.py | 4 | ||||
-rw-r--r-- | neutronclient/tests/unit/qos/test_cli20_rule.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/neutronclient/tests/unit/osc/v2/logging/test_network_log.py b/neutronclient/tests/unit/osc/v2/logging/test_network_log.py index 43c0bcb..d364535 100644 --- a/neutronclient/tests/unit/osc/v2/logging/test_network_log.py +++ b/neutronclient/tests/unit/osc/v2/logging/test_network_log.py @@ -139,8 +139,8 @@ class TestCreateNetworkLog(TestNetworkLog): self.mocked = self.neutronclient.create_network_log self.cmd = network_log.CreateNetworkLog(self.app, self.namespace) loggables = { - "loggable_resources": [{"type": RES_TYPE_SG, - "type": RES_TYPE_FWG}] + "loggable_resources": [{"type": RES_TYPE_SG}, + {"type": RES_TYPE_FWG}] } self.neutronclient.list_network_loggable_resources = mock.Mock( return_value=loggables) diff --git a/neutronclient/tests/unit/qos/test_cli20_rule.py b/neutronclient/tests/unit/qos/test_cli20_rule.py index c1da5af..f77c3c4 100644 --- a/neutronclient/tests/unit/qos/test_cli20_rule.py +++ b/neutronclient/tests/unit/qos/test_cli20_rule.py @@ -33,9 +33,9 @@ class CLITestV20QoSRuleJSON(test_cli20.CLITestV20Base): # qos_rule_types. resources = 'rule_types' cmd_resources = 'qos_rule_types' - response_contents = [{'type': 'bandwidth_limit', - 'type': 'dscp_marking', - 'type': 'minimum_bandwidth'}] + response_contents = [{'type': 'bandwidth_limit'}, + {'type': 'dscp_marking'}, + {'type': 'minimum_bandwidth'}] cmd = qos_rule.ListQoSRuleTypes(test_cli20.MyApp(sys.stdout), None) |