Commit 2eb8e72b by Őry Máté

dashboard: fix changed login url in tests

parent 543ddb8a
...@@ -30,8 +30,8 @@ class VmDetailTest(TestCase): ...@@ -30,8 +30,8 @@ class VmDetailTest(TestCase):
self.g1.delete() self.g1.delete()
def login(self, client, username, password='password'): def login(self, client, username, password='password'):
response = client.post('/login/', {'username': username, response = client.post('/accounts/login/', {'username': username,
'password': password}) 'password': password})
self.assertNotEqual(response.status_code, 403) self.assertNotEqual(response.status_code, 403)
def test_404_vm_page(self): def test_404_vm_page(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment