Answer principles round 1: 0 🔴, 1 🟡; test the no-table message apart from the unreadable one
This commit is contained in:
@@ -417,6 +417,7 @@ class Plans(unittest.TestCase):
|
|||||||
without = planned("", CUT, "origin/main").why
|
without = planned("", CUT, "origin/main").why
|
||||||
self.assertIn("origin/main", without)
|
self.assertIn("origin/main", without)
|
||||||
self.assertIn("no items table", without)
|
self.assertIn("no items table", without)
|
||||||
|
self.assertNotIn("cannot be read", without)
|
||||||
empty = planned(EMPTY, LastCut(None, "", 4, []), "origin/main").why
|
empty = planned(EMPTY, LastCut(None, "", 4, []), "origin/main").why
|
||||||
self.assertIn("holds no item", empty)
|
self.assertIn("holds no item", empty)
|
||||||
self.assertNotIn("no items table", empty)
|
self.assertNotIn("no items table", empty)
|
||||||
|
|||||||
Reference in New Issue
Block a user