mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
tests: Move MockCache to base module
This commit is contained in:
parent
0b3b1719c5
commit
fc0e9ea4be
3 changed files with 8 additions and 8 deletions
|
@ -268,3 +268,9 @@ class MockVim(object):
|
|||
|
||||
vars = dict(taskwiki_sort_orders=dict(T='extra'))
|
||||
warriors = dict()
|
||||
|
||||
# Mock Cache object
|
||||
class MockCache(object):
|
||||
warriors = {'default': 'default', 'T': 'extra'}
|
||||
buffer_has_authority = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue