summaryrefslogtreecommitdiff
path: root/tests/component/rpm
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-03-27 11:36:25 +0100
committerGuido Günther <agx@sigxcpu.org>2015-03-27 12:16:31 +0100
commit8de3ae9567e821ad8432f67afd8756b35189ecba (patch)
treea5698609ac91555093f476d8f82f48734e139171 /tests/component/rpm
parente3591101e1de375c3ed7430382b88030e240260f (diff)
tests: minor test case cleanups
Remove unused imports, remove unused variables or actually use them
Diffstat (limited to 'tests/component/rpm')
-rw-r--r--tests/component/rpm/test_pq_rpm.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/component/rpm/test_pq_rpm.py b/tests/component/rpm/test_pq_rpm.py
index f0dac8d..0ebaaa2 100644
--- a/tests/component/rpm/test_pq_rpm.py
+++ b/tests/component/rpm/test_pq_rpm.py
@@ -147,7 +147,6 @@ class TestPqRpm(RpmRepoTestBase):
def test_switch(self):
"""Basic test for switch action"""
repo = self.init_test_repo('gbp-test')
- pkg_files = repo.list_files()
branches = repo.get_local_branches() + ['patch-queue/master']
# Switch to non-existent pq-branch should create one
eq_(mock_pq(['switch']), 0)