update for devops

This commit is contained in:
2019-02-15 16:39:47 +00:00
parent 4bf933d8f5
commit 11a7401b7d
3 changed files with 32 additions and 4 deletions

View File

@@ -318,7 +318,7 @@ class ComicBookTests(TestCase):
def test_account_page(self):
c = Client()
user = User.objects.get(username='test')
self.assertEqual(user.username, 'test')
response = c.get('/comic/account/')
self.assertEqual(response.status_code, 302)
@@ -326,5 +326,3 @@ class ComicBookTests(TestCase):
response = c.get('/comic/account/')
self.assertEqual(response.status_code, 200)
response = c.post('/comic/account/')