Commit 1cc32d8b00149a29aecd382e82485e515bc9121d

Authored by Andrew Buss
1 parent 6d5fa0bba8
Exists in master

fixed test_create_flashcard

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

flashcards/tests/test_api.py View file @ 1cc32d8
... ... @@ -199,7 +199,7 @@
199 199 user.sections.add(Section.objects.get(pk=1))
200 200 user.save()
201 201 data = {'text': 'this is a flashcard',
202   - 'material_date': str(datetime.now()),
  202 + 'material_date': now(),
203 203 'mask': '[]',
204 204 'section': '1',
205 205 'previous': None}