[yum-commits] Branch 'yum-3_2_X' - test/skipbroken-tests.py
Tim Lauridsen
timlau at osuosl.org
Mon Apr 6 05:36:18 UTC 2009
test/skipbroken-tests.py | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
New commits:
commit f8c520d5ef29402073dd517c8bae67ed7b010ef3
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Mon Apr 6 07:34:50 2009 +0200
fix indetation error, made when commiting ccca634fd6f5bbb11d90eb32ef1b34a27f6d2ed7
diff --git a/test/skipbroken-tests.py b/test/skipbroken-tests.py
index 8b2c322..d6f763c 100644
--- a/test/skipbroken-tests.py
+++ b/test/skipbroken-tests.py
@@ -367,22 +367,22 @@ class SkipBrokenTests(DepsolveTests):
But it only work if foo-1.0 -> foo-2.0 is added as an update, it is not
pulled in by it self.
"""
- ipo1 = self.instPackage('foo', '1')
- ipo1.addRequires('barlib', 'EQ', ('0', '1', '0'))
- ipo2 = self.instPackage('bar', '1')
- ipo2.addProvides('barlib', 'EQ', ('0', '1', '0'))
- ipo3 = self.instPackage('zap', '1')
- po1 = self.repoPackage('foo', '2')
- po1.addRequires('barlib', 'EQ', ('0', '2', '0'))
- po2 = self.repoPackage('bar', '2')
- po2.addProvides('barlib', 'EQ', ('0', '2', '0'))
- po3 = self.repoPackage('zap', '2')
- po3.addRequires('barlib', 'EQ', ('0', '2', '0'))
- #FIXME: Find out why this line is needed, it should be auto updated by the solver.
- self.tsInfo.addUpdate(po1, oldpo=ipo1) # why is this needed, it should work without ?
- self.tsInfo.addUpdate(po3, oldpo=ipo3)
- self.assertEquals('ok', *self.resolveCode(skip=True))
- self.assertResult([po1,po2,po3])
+ ipo1 = self.instPackage('foo', '1')
+ ipo1.addRequires('barlib', 'EQ', ('0', '1', '0'))
+ ipo2 = self.instPackage('bar', '1')
+ ipo2.addProvides('barlib', 'EQ', ('0', '1', '0'))
+ ipo3 = self.instPackage('zap', '1')
+ po1 = self.repoPackage('foo', '2')
+ po1.addRequires('barlib', 'EQ', ('0', '2', '0'))
+ po2 = self.repoPackage('bar', '2')
+ po2.addProvides('barlib', 'EQ', ('0', '2', '0'))
+ po3 = self.repoPackage('zap', '2')
+ po3.addRequires('barlib', 'EQ', ('0', '2', '0'))
+ #FIXME: Find out why this line is needed, it should be auto updated by the solver.
+ self.tsInfo.addUpdate(po1, oldpo=ipo1) # why is this needed, it should work without ?
+ self.tsInfo.addUpdate(po3, oldpo=ipo3)
+ self.assertEquals('ok', *self.resolveCode(skip=True))
+ self.assertResult([po1,po2,po3])
def testBumpedSoName1(self):
More information about the Yum-commits
mailing list