Update test_views.py
This commit is contained in:
parent
25867d35e6
commit
929f6fb384
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ class TestViews(TestCase):
|
|||
self.assertEquals(response.status_code, 200)
|
||||
self.assertTemplateUsed(response, 'frontend/index.html')
|
||||
if response.status_code == 200:
|
||||
print("\033[92mPassed!"")
|
||||
print("\033[92mPassed!")
|
||||
else:
|
||||
print("\033[91mFailed!")
|
||||
|
||||
|
@ -27,7 +27,7 @@ class TestViews(TestCase):
|
|||
|
||||
self.assertEquals(response.status_code, 302)
|
||||
if response.status_code == 302:
|
||||
print("\033[92mPassed!"")
|
||||
print("\033[92mPassed!")
|
||||
else:
|
||||
print("\033[91mFailed!")
|
||||
|
||||
|
@ -37,7 +37,7 @@ class TestViews(TestCase):
|
|||
|
||||
self.assertEquals(response.status_code, 302)
|
||||
if response.status_code == 302:
|
||||
print("\033[92mPassed!"")
|
||||
print("\033[92mPassed!")
|
||||
else:
|
||||
print("\033[91mFailed!")
|
||||
|
||||
|
|
Loading…
Reference in a new issue