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

Method setUpClass

test/columns.test.py:109–117  ·  view source on GitHub ↗

Executed once before any test in the class

(cls)

Source from the content-addressed store, hash-verified

107class TestUUIDFormats(TestCase):
108 @classmethod
109 def setUpClass(cls):
110 """Executed once before any test in the class"""
111 cls.t = Task()
112 cls.t.config("report.xxx.columns", "uuid")
113 cls.t.config("verbose", "nothing")
114
115 cls.t("add zero")
116 code, out, err = cls.t("_get 1.uuid")
117 cls.uuid = out.strip()
118
119 def test_uuid_long(self):
120 """Verify formatting of 'uuid.long' column"""

Callers

nothing calls this directly

Calls 2

TaskClass · 0.90
configMethod · 0.80

Tested by

no test coverage detected