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

Method test_all_defaults

test/default.test.py:70–78  ·  view source on GitHub ↗

Verify all defaults are employed

(self)

Source from the content-addressed store, hash-verified

68 cls.t.config("default.scheduled", "eom")
69
70 def test_all_defaults(self):
71 """Verify all defaults are employed"""
72 self.t("add all defaults")
73 code, out, err = self.t("export")
74 self.assertIn('"description":"all defaults"', out)
75 self.assertIn('"project":"PROJECT"', out)
76 self.assertIn('"priority":"M"', out)
77 self.assertIn('"due":"', out)
78 self.assertIn('"scheduled":"', out)
79
80 def test_all_specified(self):
81 self.t("add project:specific priority:L due:eoy all specified")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected