summaryrefslogtreecommitdiffstats
path: root/tests/test_gd_diff.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gd_diff.py')
-rw-r--r--tests/test_gd_diff.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_gd_diff.py b/tests/test_gd_diff.py
index eb3b81e..33ce492 100644
--- a/tests/test_gd_diff.py
+++ b/tests/test_gd_diff.py
@@ -86,14 +86,14 @@ class TestGdDiff(object):
def test_read_packages(self):
- pkgs_iter = read_packages(self.pkgs_file)
- assert len(list(pkgs_iter)) == 82
+ pkgs = read_packages(self.pkgs_file)
+ assert len(pkgs) == 82
def test_read_packages_sanity(self):
- pkgs_iter = read_packages(self.pkgs_file)
+ pkgs = read_packages(self.pkgs_file)
- for pkg in pkgs_iter:
+ for pkg in pkgs:
assert not ' ' in pkg