tests: Test for proper location of the default TaskWarrior object

This commit is contained in:
Tomas Babej 2015-04-04 22:26:22 +02:00
parent 1a2c158002
commit 545c8c48f0

View file

@ -122,8 +122,9 @@ class IntegrationTest(object):
return False
# Assert that TW and cache objects exist
tw_class = self.client.command('py print(tw.__class__.__name__)')
cache_class = self.client.command('py print(cache.__class__.__name__)')
tw_class = self.client.command(
'py print(cache.warriors["default"].__class__.__name__)')
if not soft:
assert tw_class == 'TaskWarrior'