Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / remove042.py
blob796d040686b22d5118edb4cc3cd11555db926a7e
1 self.description = "Cascade remove a package required by another package"
3 lp1 = pmpkg("pkg1")
4 lp1.depends = ["imaginary"]
5 self.addpkg2db("local", lp1)
7 lp2 = pmpkg("pkg2")
8 lp2.provides = ["imaginary"]
9 self.addpkg2db("local", lp2)
11 self.args = "-Rc %s" % lp2.name
13 self.addrule("PACMAN_RETCODE=0")
14 self.addrule("!PKG_EXIST=pkg1")
15 self.addrule("!PKG_EXIST=pkg2")