mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
Tests - Remove assertTriggered, redundant with assertTriggeredCount
This commit is contained in:
parent
7cd42b5d2f
commit
80c01f3ffb
5 changed files with 0 additions and 30 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue