|
@@ -79,4 +79,4 @@ class OldLoginTestCase(APITestCase): |
|
|
headers = {"HTTP_AUTHORIZATION": "Bearer {token}".format(token=request.data["access"])} |
|
|
headers = {"HTTP_AUTHORIZATION": "Bearer {token}".format(token=request.data["access"])} |
|
|
request = self.client.get("/api/passwords/", **headers) |
|
|
request = self.client.get("/api/passwords/", **headers) |
|
|
self.assertEqual(request.status_code, 200) |
|
|
self.assertEqual(request.status_code, 200) |
|
|
self.assertEqual(request.data["results"][0]['login'], password.login) |
|
|
|
|
|
|
|
|
self.assertEqual(request.data["results"][0]['login'], password.login) |