mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-20 01:03:06 +02:00
Mappings: Delegate to VimwikiFollowLink for link creation
This commit is contained in:
parent
a95efa91f2
commit
0ac7da0fde
3 changed files with 33 additions and 3 deletions
|
@ -599,3 +599,28 @@ class TestViewportsPreserveHierarchyUponCompletion(IntegrationTest):
|
|||
sleep(0.5)
|
||||
self.command("w", regex="written$", lines=1)
|
||||
sleep(0.5)
|
||||
|
||||
|
||||
class TestViewportRecurrentInstanceTaskGeneration(IntegrationTest):
|
||||
|
||||
viminput = """
|
||||
=== Work tasks | +TODAY ===
|
||||
"""
|
||||
|
||||
vimoutput = """
|
||||
=== Work tasks | +TODAY ===
|
||||
* [ ] daily task #{uuid}
|
||||
"""
|
||||
|
||||
tasks = [
|
||||
dict(description="daily task", recur="daily", due="today"),
|
||||
]
|
||||
|
||||
def execute(self):
|
||||
self.command("w", regex="written$", lines=1)
|
||||
|
||||
# Assert that the task did not change after another successful
|
||||
# subsequent saving. See pull request #125.
|
||||
self.command("w", regex="written$", lines=1)
|
||||
task = self.tw.tasks.pending()[0]
|
||||
assert task['description'] == "daily task"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue