Tests - Remove assertTriggered, redundant with assertTriggeredCount

This commit is contained in:
Renato Alves 2015-02-15 17:44:47 +00:00
parent 7cd42b5d2f
commit 80c01f3ffb
5 changed files with 0 additions and 30 deletions

View file

@ -478,13 +478,6 @@ class LoggedHook(Hook):
return newlog
def assertTriggered(self):
"""Check if current hook file was triggered/used by taskwarrior
"""
log = self._parse_log()
assert log["calls"], "{0} was never called".format(self.hookname)
def assertTriggeredCount(self, count):
"""Check if current hook file was triggered/used by taskwarrior and
how many times.