[yum-commits] Branch 'yum-3_2_X' - test/simpleobsoletestests.py

James Antill james at osuosl.org
Wed Aug 5 19:22:20 UTC 2009


 test/simpleobsoletestests.py |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 49f77005d64a627aa947da0689711641888ff743
Author: James Antill <james at and.org>
Date:   Wed Aug 5 15:22:00 2009 -0400

    Testcase for using install instead of update in update, for obsoletes

diff --git a/test/simpleobsoletestests.py b/test/simpleobsoletestests.py
index e5f6770..cf1821f 100644
--- a/test/simpleobsoletestests.py
+++ b/test/simpleobsoletestests.py
@@ -566,6 +566,12 @@ class SimpleObsoletesTests(OperationsTests):
         # FIXME: Optimally we'd get:
         # self.assertResult((all['arp3'], all['arp4']))
 
+    def testRLDaplFixUpdateNotInstall(self):
+        rps, aps, ret, all = self._helperRLDaplMess()
+        res, msg = self.runOperation(['update', 'dapl-1.2.1*'], [], rps + aps)
+
+        # self.assert_(res=='err', msg)
+        self.assertResult([])
 
 class GitMetapackageObsoletesTests(OperationsTests):
 


More information about the Yum-commits mailing list