Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / remove040.py
blob9d95b60ec8bc8452c6517b793e89b78acb297efe
1 self.description = "Remove a package that requires 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 = "-R %s" % lp1.name
13 self.addrule("PACMAN_RETCODE=0")
14 self.addrule("!PKG_EXIST=pkg1")
15 self.addrule("PKG_EXIST=pkg2")