mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-23 02:23:07 +02:00
tests: Extend setup assertion for debugging
This commit is contained in:
parent
845963fe0d
commit
700680363d
1 changed files with 2 additions and 2 deletions
|
@ -160,8 +160,8 @@ class IntegrationTest(object):
|
||||||
'print(cache.warriors["default"].__class__.__name__)', direct=True)
|
'print(cache.warriors["default"].__class__.__name__)', direct=True)
|
||||||
|
|
||||||
if not soft:
|
if not soft:
|
||||||
assert tw_class == 'TaskWarrior'
|
assert tw_class == 'TaskWarrior', "not {}".format(tw_class)
|
||||||
assert cache_class == 'TaskCache'
|
assert cache_class == 'TaskCache', "not {}".format(cache_class)
|
||||||
elif tw_class != 'TaskWarrior' or cache_class != 'TaskCache':
|
elif tw_class != 'TaskWarrior' or cache_class != 'TaskCache':
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue