Unit Tests

- Added a default 'hooks=off' to the basetest class, after it was discovered
  that the scan for runnable hooks takes non-trivial time.
This commit is contained in:
Paul Beckingham 2014-09-27 16:48:48 -04:00
parent 61bed34a19
commit 071cf55c00
2 changed files with 3 additions and 1 deletions

View file

@ -48,7 +48,8 @@ class Task(object):
# Cannot call self.config until confirmation is disabled
with open(self.taskrc, 'w') as rc:
rc.write("data.location={0}\n"
"confirmation=no\n".format(self.datadir))
"confirmation=no\n"
"hooks=off\n".format(self.datadir))
# Setup configuration to talk to taskd automatically
if self.taskd is not None: