#9 TI-1: Clean-up

- Remove unused variables
- add empty line for PEP8 conformity
This commit is contained in:
Thomas Lauf 2018-07-24 18:51:00 +02:00
parent 8685a9e2bf
commit b0193b3683
2 changed files with 1 additions and 2 deletions

View file

@ -4,6 +4,7 @@ import sys
import unittest
import datetime
class BaseTestCase(unittest.TestCase):
def tap(self, out):
sys.stderr.write("--- tap output start ---\n")

View file

@ -356,8 +356,6 @@ class TestUndo(TestCase):
"""Test undo of command 'start'"""
now_utc = datetime.now().utcnow()
one_hour_before_utc = now_utc - timedelta(hours=1)
two_hours_before_utc = now_utc - timedelta(hours=2)
three_hours_before_utc = now_utc - timedelta(hours=3)
self.t("start {:%Y%m%dT%H%M%SZ} foo".format(one_hour_before_utc))