Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
treussart committed Nov 12, 2017
1 parent abf0fa5 commit 63922d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion probemanager/home/tests/test_views.py
Expand Up @@ -41,7 +41,6 @@ def test_login(self):
response = client_not_logged.get('/admin/', follow=True)
self.assertEqual(response.status_code, 200)
self.assertIn('<title>Log in | Probe Manager site admin</title>', str(response.content))
self.assertIn('<label class="required" for="id_username">Username:</label> <input type="text" name="username" autofocus maxlength="254" required id="id_username" />', str(response.content))
self.assertEqual(str(response.context['user']), 'AnonymousUser')
response = client_not_logged.get('/admin/')
self.assertRedirects(response, expected_url='/admin/login/?next=/admin/', status_code=302, target_status_code=200)
Expand Down

0 comments on commit 63922d1

Please sign in to comment.