[yum-commits] Branch 'yum-3_2_X' - test/simpleobsoletestests.py
James Antill
james at osuosl.org
Fri Nov 7 20:08:47 UTC 2008
test/simpleobsoletestests.py | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 164337d34544f90823c885075605524b06a2ff5b
Author: James Antill <james at and.org>
Date: Fri Nov 7 15:08:38 2008 -0500
Add testcase for install obsoleters
diff --git a/test/simpleobsoletestests.py b/test/simpleobsoletestests.py
index 05ebf05..4ea7c82 100644
--- a/test/simpleobsoletestests.py
+++ b/test/simpleobsoletestests.py
@@ -217,6 +217,12 @@ class SimpleObsoletesTests(OperationsTests):
self.assertResult((p.obsoletes_i386, p.obsoletes_x86_64, p.requires_obsoletes))
+ def testInstallObsoletenoarchTonoarch(self):
+ p = self.pkgs
+ res, msg = self.runOperation(['install', 'zsh-ng'], [p.installed_noarch], [p.obsoletes_noarch])
+ self.assert_(res=='ok', msg)
+ self.assertResult((p.obsoletes_noarch,))
+
class GitMetapackageObsoletesTests(OperationsTests):
@staticmethod
More information about the Yum-commits
mailing list