[yum-git] test/operationstests.py
Florian Festi
ffesti at linux.duke.edu
Mon Jan 21 13:55:39 UTC 2008
test/operationstests.py | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit fb42ce2fadfdd51bb0c3cf01a963d7d040a3f664
Author: Florian Festi <ffesti at redhat.com>
Date: Mon Jan 21 14:55:28 2008 +0100
Two more "install kernel" test cases
diff --git a/test/operationstests.py b/test/operationstests.py
index 39e5cc6..12a1627 100644
--- a/test/operationstests.py
+++ b/test/operationstests.py
@@ -131,3 +131,13 @@ class KernelTests(OperationsTests):
p = self.pkgs
res, msg = self.runOperation(['install','kernel'], p.inst, p.avail)
self.assertResult(p.inst)
+
+ def testKernelInstall(self):
+ p = self.pkgs
+ res, msg = self.runOperation(['install','kernel-2.6.23.1-42'], p.inst, p.avail)
+ self.assertResult(p.inst + [ p.avail[4] ] )
+
+ def testKernelInstall(self):
+ p = self.pkgs
+ res, msg = self.runOperation(['install','kernel-2.6.23.8'], p.inst, p.avail)
+ self.assertResult(p.inst)
More information about the Yum-cvs-commits
mailing list