Test the rungs rule-hook leaves unchecked, the home it reads the ladder under and the prompts' rungs at the ladder's ends
CI / tests (pull_request) Successful in 2m59s
CI / tests (pull_request) Successful in 2m59s
This commit is contained in:
@@ -122,7 +122,9 @@ class LoadTest(ConfigCase):
|
||||
|
||||
def test_tells_a_checkout_no_config_names_from_one_whose_config_is_faulty(self) -> None:
|
||||
self.assertIsInstance(load(self.checkout, self.checkout, self.home), Unnamed)
|
||||
self.assertIsInstance(located(str(self.checkout), self.home), Unnamed, "a folder that is no checkout has no config either")
|
||||
outside = located(str(self.checkout), self.home)
|
||||
self.assertIsInstance(outside, Unnamed, "a folder that is no checkout has no config either")
|
||||
self.assertIn("not a git repository", outside.reason)
|
||||
self.write("acme", CLIENT.replace('plan = "folder:todo.md"\n', ""))
|
||||
self.assertNotIsInstance(load(self.checkout, self.checkout, self.home), Unnamed)
|
||||
self.assertIn("`plan` is missing", self.failure())
|
||||
|
||||
Reference in New Issue
Block a user