Skip to content
Snippets Groups Projects
Commit ff38fd93 authored by Jonas Braathen's avatar Jonas Braathen
Browse files

Give scheduletask fixture a non-naive datetime to squelch warning

parent 2f111894
No related branches found
No related tags found
1 merge request!41Identity model changes
......@@ -5,7 +5,7 @@ from greg.models import ScheduleTask
@pytest.fixture
def scheduletask():
ScheduleTask.objects.create(name="foo", last_completed="2020-10-15 23:04")
ScheduleTask.objects.create(name="foo", last_completed="2020-10-15T23:04Z")
return ScheduleTask.objects.get(id=1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment