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

Method setUp

test/bash_completion.test.py:85–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83
84class TestBashCompletionBase(TestCase):
85 def setUp(self):
86 self.t = Task()
87
88 # Used also in tasksh script
89 self.t.config("alias.samplealias", "long")
90 self.t.config("abbreviation.minimum", "5")
91
92 self.t.tasksh_script = os.path.join(self.t.datadir, "task.sh")
93
94 with open(self.t.tasksh_script, "w") as tasksh:
95 tasksh.write(prepare_tasksh(self.t))
96
97
98class TestBashCompletion(TestBashCompletionBase):

Callers

nothing calls this directly

Calls 3

TaskClass · 0.90
prepare_taskshFunction · 0.85
configMethod · 0.80

Tested by

no test coverage detected