From 1cc32d8b00149a29aecd382e82485e515bc9121d Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Sun, 17 May 2015 00:36:22 -0700 Subject: [PATCH] fixed test_create_flashcard --- flashcards/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashcards/tests/test_api.py b/flashcards/tests/test_api.py index 877533f..b9c1571 100644 --- a/flashcards/tests/test_api.py +++ b/flashcards/tests/test_api.py @@ -199,7 +199,7 @@ class FlashcardDetailTest(APITestCase): user.sections.add(Section.objects.get(pk=1)) user.save() data = {'text': 'this is a flashcard', - 'material_date': str(datetime.now()), + 'material_date': now(), 'mask': '[]', 'section': '1', 'previous': None} -- 1.9.1