Add Cloudflare catch-all mail worker
This commit is contained in:
@@ -104,6 +104,13 @@ class MinimalBoundaryRegressionTests(unittest.TestCase):
|
||||
code = mail_service.yyds_get_oai_code("token", "user@example.com", timeout=1, poll_interval=0)
|
||||
self.assertEqual(code, "ABC-123")
|
||||
|
||||
def test_confirmation_subject_code_beats_lowercase_css_token(self):
|
||||
code = mail_service.extract_verification_code(
|
||||
".mj-column-per-100 { width: 100%; }",
|
||||
"SpaceXAI confirmation code: XOE-G02",
|
||||
)
|
||||
self.assertEqual(code, "XOE-G02")
|
||||
|
||||
def test_pending_recovery_acquires_pending_and_target_locks_in_fixed_order(self):
|
||||
acquired = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user