Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / remove041.py
blobbe27fd4c08d298cd50a0a9b327b9a00ec468166e
1 self.description = "Remove a no longer needed package (multiple provision)"
3 lp1 = pmpkg("pkg1")
4 lp1.provides = ["imaginary"]
5 self.addpkg2db("local", lp1)
7 lp2 = pmpkg("pkg2")
8 lp2.provides = ["imaginary"]
9 self.addpkg2db("local", lp2)
11 lp3 = pmpkg("pkg3")
12 lp3.depends = ["imaginary"]
13 self.addpkg2db("local", lp3)
15 self.args = "-R %s" % lp1.name
17 self.addrule("PACMAN_RETCODE=0")
18 self.addrule("!PKG_EXIST=pkg1")
19 self.addrule("PKG_EXIST=pkg2")