Add recurring Daily Slop Drop collaboration cycle
This commit is contained in:
1 parent
3c6d41b49c
commit
cec957ead6
2 files changed
+119
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import datetime as dt
|
||||
import unittest
|
||||
|
||||
from scripts.open_daily_cycle import cycle_body, cycle_marker
|
||||
|
||||
|
||||
class DailyCycleTests(unittest.TestCase):
|
||||
def test_marker_is_stable(self):
|
||||
self.assertEqual(cycle_marker(dt.date(2026, 8, 7)), "[CYCLE 2026-08-07]")
|
||||
|
||||
def test_cycle_requires_video_and_both_agents(self):
|
||||
body = cycle_body(dt.date(2026, 8, 7))
|
||||
self.assertIn("Timmy pass", body)
|
||||
self.assertIn("Vincent pass", body)
|
||||
self.assertIn("MP4 walkthrough", body)
|
||||
self.assertIn("No progress updates", body)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user