summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)