This is a replacement for the removed testcase from commit
1d7329e8c21e125b10b910684665af891f44af6e.
Signed-off-by: Jan Blunck
---
bindings/python/tests/solvable.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/bindings/python/tests/solvable.py b/bindings/python/tests/solvable.py
index 141368f..8a7bdaa 100644
--- a/bindings/python/tests/solvable.py
+++ b/bindings/python/tests/solvable.py
@@ -39,6 +39,10 @@ class TestSequenceFunctions(unittest.TestCase):
solv = list(self.pool.providers( 'product:openSUSE' ))
assert len(solv) == 1, len(solv)
+ def test_iterate_pool(self):
+ for s in self.pool:
+ assert str(s.pool()) == str(self.pool)
+
def test_creation(self):
repo = self.pool.create_repo( 'test' )
assert repo
--
1.6.1.3
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-devel+help@opensuse.org