futureized tests
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
from statements import *
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from .statements import *
|
||||
|
||||
@override_settings(TESTING=True)
|
||||
class WorkoutViewTest(TestCase):
|
||||
@@ -120,7 +125,7 @@ class WorkoutViewTest(TestCase):
|
||||
|
||||
form = FlexOptionsForm(form_data)
|
||||
if not form.is_valid():
|
||||
print form.errors
|
||||
print(form.errors)
|
||||
self.assertTrue(form.is_valid())
|
||||
|
||||
response = self.c.post(url,form_data)
|
||||
|
||||
Reference in New Issue
Block a user