summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/pmtest.py')
-rw-r--r--test/pacman/pmtest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index c7bda9c1..d48c03f1 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -43,6 +43,7 @@ class pmtest(object):
"--config", self.configfile(),
"--root", self.rootdir(),
"--dbpath", self.dbdir(),
+ "--hookdir", self.hookdir(),
"--cachedir", self.cachedir()]
def __str__(self):
@@ -306,4 +307,7 @@ class pmtest(object):
def cachedir(self):
return os.path.join(self.root, util.PM_CACHEDIR)
+ def hookdir(self):
+ return os.path.join(self.root, util.PM_HOOKDIR)
+
# vim: set ts=4 sw=4 et: