summaryrefslogtreecommitdiff
path: root/test/pacman/tests/replace101.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-08 23:52:52 -0500
committerDan McGee <dan@archlinux.org>2011-08-09 15:46:11 -0500
commit5a6ebec7b27e0ec15c2fe79b394f9f65aecc33cd (patch)
tree30585f0755c893efe7600848c5e6f2565e0506c4 /test/pacman/tests/replace101.py
parent96c4b1c3033e4f018ab20af5d35cf9cbd8b31cf4 (diff)
Add a slightly simpler versioned replace test
It turns out we have a few problems here which are best tackled independently. The first is simply parsing replacements as dep strings; the second will be dealing with replaces when the original package name still exists in the repository. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/replace101.py')
-rw-r--r--test/pacman/tests/replace101.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/pacman/tests/replace101.py b/test/pacman/tests/replace101.py
index 86c40ac6..ee0f8607 100644
--- a/test/pacman/tests/replace101.py
+++ b/test/pacman/tests/replace101.py
@@ -1,4 +1,4 @@
-self.description = "Sysupgrade with a versioned replacement"
+self.description = "Sysupgrade with a versioned replacement, original disappears"
sp1 = pmpkg("python2-yaml", "5-1")
sp1.replaces = ["python-yaml<5"]
@@ -6,11 +6,6 @@ sp1.conflicts = ["python-yaml<5"]
sp1.files = ["lib/python2/file"]
self.addpkg2db("sync", sp1)
-# the python3 version
-sp2 = pmpkg("python-yaml", "5-1")
-sp2.files = ["lib/python3/file"]
-self.addpkg2db("sync", sp2)
-
lp1 = pmpkg("python-yaml", "4-1")
lp1.files = ["lib/python2/file"]
self.addpkg2db("local", lp1)