def METHOD_NAME(self):
    self.testdatapath = os.path.join(os.path.dirname(__file__), "testdata")
    self.user = self.create_user('lennon@thebeatles.com', 'testpassword', is_active=True)
    # Login user
    response = self.client.post('/accounts/login/', {
            'username': 'lennon@thebeatles.com',
            'password': 'testpassword',
            })
    self.assertEqual(response.status_code, 302)