Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_smoke_check_midnight_noon(self):
"""Basic smoke test.
This for the function
dates_times.am_pm.midnight_noon.
"""
assert chk.check_midnight_noon(
"Basic smoke phrase without issues.") == []
assert chk.check_midnight_noon(
"It happened at noon.") == []
assert chk.check_midnight_noon(
"It happened at 12 a.m.") != []
def test_smoke_check_midnight_noon(self):
"""Basic smoke test.
This for the function
dates_times.am_pm.midnight_noon.
"""
assert chk.check_midnight_noon(
"Basic smoke phrase without issues.") == []
assert chk.check_midnight_noon(
"It happened at noon.") == []
assert chk.check_midnight_noon(
"It happened at 12 a.m.") != []
def test_smoke_check_midnight_noon(self):
"""Basic smoke test.
This for the function
dates_times.am_pm.midnight_noon.
"""
assert chk.check_midnight_noon(
"Basic smoke phrase without issues.") == []
assert chk.check_midnight_noon(
"It happened at noon.") == []
assert chk.check_midnight_noon(
"It happened at 12 a.m.") != []