refactor: split large modules and harden live-room fudai flow
This commit is contained in:
1 parent
1845561405
commit
36e374ef67
86 files changed
+7422
-8404
No files matched your search
@@ -170,6 +170,18 @@ def test_parse_mmss_from_full_text_extracts_valid_pair():
|
||||
assert ss == "53"
|
||||
|
||||
|
||||
def test_parse_mmss_from_full_text_extracts_compact_4digits_pair():
|
||||
mm, ss = _parse_mmss_from_full_text("1340后开奖")
|
||||
assert mm == "13"
|
||||
assert ss == "40"
|
||||
|
||||
|
||||
def test_parse_mmss_from_full_text_extracts_compact_3digits_pair():
|
||||
mm, ss = _parse_mmss_from_full_text("940后开奖")
|
||||
assert mm == "09"
|
||||
assert ss == "40"
|
||||
|
||||
|
||||
def test_parse_mmss_from_full_text_ignores_non_countdown_text():
|
||||
mm, ss = _parse_mmss_from_full_text("直播间,否则会失去抽奖机会")
|
||||
assert mm == ""
|
||||
|
||||
Reference in new issue
Block a user