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_month_year_comma(self):
"""Basic smoke test.
This is for the function
dates_times.dates.check_month_year_comma.
"""
assert chk.check_month_year_comma(
"Basic smoke phrase without issues.") == []
assert chk.check_month_year_comma(
"It happened in August 2008.") == []
assert chk.check_month_year_comma(
"It happened in August, 2008.") != []
def test_smoke_check_month_year_comma(self):
"""Basic smoke test.
This is for the function
dates_times.dates.check_month_year_comma.
"""
assert chk.check_month_year_comma(
"Basic smoke phrase without issues.") == []
assert chk.check_month_year_comma(
"It happened in August 2008.") == []
assert chk.check_month_year_comma(
"It happened in August, 2008.") != []
def test_smoke_check_month_year_comma(self):
"""Basic smoke test.
This is for the function
dates_times.dates.check_month_year_comma.
"""
assert chk.check_month_year_comma(
"Basic smoke phrase without issues.") == []
assert chk.check_month_year_comma(
"It happened in August 2008.") == []
assert chk.check_month_year_comma(
"It happened in August, 2008.") != []