1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-04 16:45:07 -05:00
pacman/pactest/tests/query001.py

10 lines
173 B
Python

self.description = "Query a package"
p = pmpkg("foobar")
p.files = ["bin/foobar"]
self.addpkg2db("local", p)
self.args = "-Q foobar"
self.addrule("PACMAN_OUTPUT=foobar")