Answer product-owner round 1: 1 🔴, 1 🟡 (1 misread); DM through the checkout of a held-up issue's repo and show the DM in the window

This commit is contained in:
2026-11-19 02:44:22 +01:00
parent 1c6f229cd9
commit d652ab20d3
4 changed files with 20 additions and 9 deletions
+8 -1
View File
@@ -73,7 +73,14 @@ class Notify(Project):
self.name_notifier("slack", SLACK_KEYS)
slack = Slack({"ok": True})
with contextlib.chdir(self.checkout):
self.assertIsNone(system_effects(through("slack", slack)).dm("Which one?"))
self.assertIsNone(system_effects(through("slack", slack)).dm("Which one?", None))
self.assertEqual(slack.requests, [SLACK_POST])
def test_a_dm_that_names_a_directory_goes_through_the_notifier_for_the_project_holding_it_from_any_current_directory(self):
self.name_notifier("slack", SLACK_KEYS)
slack = Slack({"ok": True})
with contextlib.chdir(self.home):
self.assertIsNone(system_effects(through("slack", slack)).dm("Which one?", str(self.checkout)))
self.assertEqual(slack.requests, [SLACK_POST])
def test_skips_the_notice_for_a_project_that_names_no_notifier_even_where_its_env_file_holds_the_keys(self):