summaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-23 14:14:44 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-23 14:14:44 +0200
commit7a141721c5bb0ba2e65191c514a15ff01220ebca (patch)
treef4b201e5cb946f633c5f72afe446ec3db72b0a66 /tests/unittests
parenta62d3ddcf6ec06ccf0f3c2dd0fd969c83304d89b (diff)
downloadvyos-cloud-init-7a141721c5bb0ba2e65191c514a15ff01220ebca.tar.gz
vyos-cloud-init-7a141721c5bb0ba2e65191c514a15ff01220ebca.zip
make checkers happy about unused loop index
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/test_handler/test_handler_apt_source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_source.py b/tests/unittests/test_handler/test_handler_apt_source.py
index 9edd3df5..3056e9d0 100644
--- a/tests/unittests/test_handler/test_handler_apt_source.py
+++ b/tests/unittests/test_handler/test_handler_apt_source.py
@@ -219,7 +219,7 @@ class TestAptSourceConfig(TestCase):
# check if it added the right ammount of keys
calls = []
- for i in range(keynum):
+ for _ in range(keynum):
calls.append(call(('apt-key', 'add', '-'), 'fakekey 1234'))
mockobj.assert_has_calls(calls, any_order=True)