mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
tests: Test for proper location of the default TaskWarrior object
This commit is contained in:
parent
1a2c158002
commit
545c8c48f0
1 changed files with 2 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue