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:
@@ -136,6 +136,7 @@ void Eval::evaluateInfixExpression (const std::string& e, Variant& v) const
|
||||
// Parse for syntax checking and operator replacement.
|
||||
if (_debug)
|
||||
context.debug ("[1;37;42mFILTER[0m Infix " + dump (tokens));
|
||||
|
||||
infixParse (tokens);
|
||||
if (_debug)
|
||||
context.debug ("[1;37;42mFILTER[0m Infix parsed " + dump (tokens));
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user