Change line-length to 120

This commit is contained in:
2022-07-21 20:22:27 +02:00
parent bacd689356
commit 0376ae0214
3 changed files with 22 additions and 64 deletions

View File

@ -55,8 +55,6 @@ class TestClass:
def test_calc_countdown(self):
"""Check if calc_countdown returns days, hours and minutes."""
# FIXME: This will break when there is 0 seconds/hours/days left
pattern = re.compile(
r"\d* (day|days), \d* (hour|hours). \d* (minute|minutes)",
)
pattern = re.compile(r"\d* (day|days), \d* (hour|hours). \d* (minute|minutes)")
countdown = calc_countdown(self.job)
assert pattern.match(countdown)