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_lowercase_periods(self):
"""Basic smoke test.
This is for the function
dates_times.am_pm.check_lowercase_periods.
"""
assert chk.check_lowercase_periods(
"Basic smoke phrase without issues.") == []
assert chk.check_lowercase_periods(
"It happened at 7 a.m.") == []
assert chk.check_lowercase_periods(
"It happened at 7 am.") != []
def test_smoke_check_lowercase_periods(self):
"""Basic smoke test.
This is for the function
dates_times.am_pm.check_lowercase_periods.
"""
assert chk.check_lowercase_periods(
"Basic smoke phrase without issues.") == []
assert chk.check_lowercase_periods(
"It happened at 7 a.m.") == []
assert chk.check_lowercase_periods(
"It happened at 7 am.") != []
def test_smoke_check_lowercase_periods(self):
"""Basic smoke test.
This is for the function
dates_times.am_pm.check_lowercase_periods.
"""
assert chk.check_lowercase_periods(
"Basic smoke phrase without issues.") == []
assert chk.check_lowercase_periods(
"It happened at 7 a.m.") == []
assert chk.check_lowercase_periods(
"It happened at 7 am.") != []