def test_login_view(self):
        test_url = reverse('users:login')
        response = self.client.get(test_url)
        self.assertEqual(response.status_code, 200)
Lets user log in.
dataset/ETHPy150Open openlearningtools/opencompetencies/users/tests.py/UserViewTests.test_login_view