tests: Extend setup assertion for debugging

This commit is contained in:
Tomas Babej 2016-12-16 17:37:33 +01:00
parent 845963fe0d
commit 700680363d

View file

@ -160,8 +160,8 @@ class IntegrationTest(object):
'print(cache.warriors["default"].__class__.__name__)', direct=True)
if not soft:
assert tw_class == 'TaskWarrior'
assert cache_class == 'TaskCache'
assert tw_class == 'TaskWarrior', "not {}".format(tw_class)
assert cache_class == 'TaskCache', "not {}".format(cache_class)
elif tw_class != 'TaskWarrior' or cache_class != 'TaskCache':
return False