Unit Tests
- Typos in template.t.
This commit is contained in:
@@ -135,7 +135,7 @@ sys.exit(0)
|
|||||||
|
|
||||||
def test_onmodify_builtin_with_log(self):
|
def test_onmodify_builtin_with_log(self):
|
||||||
# Testing a builtin hook and keeping track of its input/output
|
# Testing a builtin hook and keeping track of its input/output
|
||||||
# The builtin hook in found in test/test_hooks
|
# The builtin hook is found in test/test_hooks
|
||||||
hookname = "on-modify-for-template.py"
|
hookname = "on-modify-for-template.py"
|
||||||
self.t.hooks.add_default(hookname, log=True)
|
self.t.hooks.add_default(hookname, log=True)
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@ sys.exit(0)
|
|||||||
|
|
||||||
def test_onmodify_bad_builtin_with_log(self):
|
def test_onmodify_bad_builtin_with_log(self):
|
||||||
# Testing a builtin hook and keeping track of its input/output
|
# Testing a builtin hook and keeping track of its input/output
|
||||||
# The builtin hook in found in test/test_hooks
|
# The builtin hook is found in test/test_hooks
|
||||||
hookname = "on-modify-for-template-badexit.py"
|
hookname = "on-modify-for-template-badexit.py"
|
||||||
self.t.hooks.add_default(hookname, log=True)
|
self.t.hooks.add_default(hookname, log=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user