MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / setUp

Method setUp

test/edit.test.py:40–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38
39class TestTaskEdit(TestCase):
40 def setUp(self):
41 self.t = Task()
42
43 # Workaround to always assume changes were introduced via "task edit"
44 self.editor = mkstemp_exec(b"echo '' >> $1\n")
45
46 self.t.env["VISUAL"] = self.editor
47
48 def test_newline_description_edit(self):
49 """task edit - parsing entries containing multiline descriptions"""

Callers

nothing calls this directly

Calls 2

TaskClass · 0.90
mkstemp_execFunction · 0.90

Tested by

no test coverage detected