mirror of
https://github.com/TheLovinator1/discord-reminder-bot.git
synced 2025-08-19 15:34:38 +02:00
Merge branch 'master' into renovate/sqlalchemy-2.x
This commit is contained in:
@@ -99,7 +99,7 @@ class TestCountdown:
|
|||||||
regex2: str = r"2040-01-18 \d+:00 \(in \d+ days, \d+ minutes\)"
|
regex2: str = r"2040-01-18 \d+:00 \(in \d+ days, \d+ minutes\)"
|
||||||
assert re.match(regex2, trigger_text)
|
assert re.match(regex2, trigger_text)
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
regex3: str = r"2040-01-18 \d+:00 \(in \d+ days\, \d+ minutes\)"
|
regex3: str = r"2040-01-18 \d+:00 \(in \d+ days, \d+ hours\)"
|
||||||
assert re.match(regex3, trigger_text)
|
assert re.match(regex3, trigger_text)
|
||||||
|
|
||||||
def test_make_button(self) -> None: # noqa: ANN101
|
def test_make_button(self) -> None: # noqa: ANN101
|
||||||
@@ -175,7 +175,7 @@ class TestCountdown:
|
|||||||
regex2: str = r"2040-01-18 \d+:00 \(in \d+ days, \d+ minutes\)"
|
regex2: str = r"2040-01-18 \d+:00 \(in \d+ days, \d+ minutes\)"
|
||||||
assert re.match(regex2, trigger_text)
|
assert re.match(regex2, trigger_text)
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
regex3: str = r"2040-01-18 \d+:00 \(in \d+ days\, \d+ minutes\)"
|
regex3: str = r"2040-01-18 \d+:00 \(in \d+ days, \d+ hours\)"
|
||||||
assert re.match(regex3, trigger_text)
|
assert re.match(regex3, trigger_text)
|
||||||
|
|
||||||
# Check if type is Page
|
# Check if type is Page
|
||||||
|
Reference in New Issue
Block a user