diff --git a/schemes/infrastructure/clock.py b/schemes/infrastructure/clock.py index 47730295..c6ddfea3 100644 --- a/schemes/infrastructure/clock.py +++ b/schemes/infrastructure/clock.py @@ -1,4 +1,4 @@ -from datetime import datetime, timedelta +from datetime import datetime class Clock: @@ -14,9 +14,7 @@ def now(self, now: datetime) -> None: class SystemClock(Clock): @property def now(self) -> datetime: - # TODO: remove once showcased - # return datetime.now() - return datetime.now() + timedelta(weeks=4) + return datetime.now() @now.setter def now(self, now: datetime) -> None: diff --git a/tests/infrastructure/test_clock.py b/tests/infrastructure/test_clock.py index 2f287d97..9a45a78b 100644 --- a/tests/infrastructure/test_clock.py +++ b/tests/infrastructure/test_clock.py @@ -11,8 +11,6 @@ class TestSystemClock: def clock_fixture(self) -> SystemClock: return SystemClock() - # TODO: remove once showcased - @pytest.mark.skip def test_get_now(self, clock: SystemClock) -> None: with patch("schemes.infrastructure.clock.datetime") as mock_datetime: mock_datetime.now.return_value = datetime(2020, 1, 2, 12)