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_decade_apostrophes_long(self):
"""Basic smoke test.
This is for the function
dates_times.dates.decade_apostrophes_long.
"""
assert chk.check_decade_apostrophes_long(
"Basic smoke phrase without issues.") == []
assert chk.check_decade_apostrophes_long(
"It happened in the 1980s.") == []
assert chk.check_decade_apostrophes_long(
"It happened in the 1980's.") != []
def test_smoke_check_decade_apostrophes_long(self):
"""Basic smoke test.
This is for the function
dates_times.dates.decade_apostrophes_long.
"""
assert chk.check_decade_apostrophes_long(
"Basic smoke phrase without issues.") == []
assert chk.check_decade_apostrophes_long(
"It happened in the 1980s.") == []
assert chk.check_decade_apostrophes_long(
"It happened in the 1980's.") != []
def test_smoke_check_decade_apostrophes_long(self):
"""Basic smoke test.
This is for the function
dates_times.dates.decade_apostrophes_long.
"""
assert chk.check_decade_apostrophes_long(
"Basic smoke phrase without issues.") == []
assert chk.check_decade_apostrophes_long(
"It happened in the 1980s.") == []
assert chk.check_decade_apostrophes_long(
"It happened in the 1980's.") != []