diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-05-23 14:14:44 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-05-23 14:14:44 +0200 |
commit | 7a141721c5bb0ba2e65191c514a15ff01220ebca (patch) | |
tree | f4b201e5cb946f633c5f72afe446ec3db72b0a66 | |
parent | a62d3ddcf6ec06ccf0f3c2dd0fd969c83304d89b (diff) | |
download | vyos-cloud-init-7a141721c5bb0ba2e65191c514a15ff01220ebca.tar.gz vyos-cloud-init-7a141721c5bb0ba2e65191c514a15ff01220ebca.zip |
make checkers happy about unused loop index
-rw-r--r-- | tests/unittests/test_handler/test_handler_apt_source.py | 2 |
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) |