Fix pep8 issues
flake8 was updated to 3.8.0, and it
caught a couple of omissions including
E741 (ambiguous variable name) and
E225 (missing whitespace around operator).
Change-Id: I375e948684bb4a6b35297689f837056b0cb48fb1
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
diff --git a/manila_tempest_tests/tests/api/admin/test_quotas.py b/manila_tempest_tests/tests/api/admin/test_quotas.py
index 215b25d..5dbab2a 100644
--- a/manila_tempest_tests/tests/api/admin/test_quotas.py
+++ b/manila_tempest_tests/tests/api/admin/test_quotas.py
@@ -118,7 +118,7 @@
self.tenant_id, self.user_id,
version=PRE_SHARE_REPLICA_QUOTAS_MICROVERSION)
- for key in('share_replicas', 'replica_gigabytes'):
+ for key in ('share_replicas', 'replica_gigabytes'):
self.assertNotIn(key, quotas)
@ddt.data(
diff --git a/manila_tempest_tests/tests/api/test_shares_actions.py b/manila_tempest_tests/tests/api/test_shares_actions.py
index 7cedb6c..2212fb9 100644
--- a/manila_tempest_tests/tests/api/test_shares_actions.py
+++ b/manila_tempest_tests/tests/api/test_shares_actions.py
@@ -545,10 +545,10 @@
@testtools.skipUnless(CONF.share.run_snapshot_tests,
"Snapshot tests are disabled.")
def test_list_snapshots_with_detail_use_limit(self):
- for l, o in [('1', '1'), ('0', '1')]:
+ for limit, offset in [('1', '1'), ('0', '1')]:
filters = {
- 'limit': l,
- 'offset': o,
+ 'limit': limit,
+ 'offset': offset,
'share_id': self.shares[0]['id'],
}