Commit ad20a79c authored by Sofia Papagiannaki's avatar Sofia Papagiannaki

astakos: Fix test

parent 7ec0615f
......@@ -774,11 +774,11 @@ class ValidateAccessToken(TestCase):
kwargs={'token_id': self.token.code})
r = self.client.head(url)
self.assertEqual(r.status_code, 400)
self.assertEqual(r.status_code, 405)
r = self.client.put(url)
self.assertEqual(r.status_code, 400)
self.assertEqual(r.status_code, 405)
r = self.client.post(url)
self.assertEqual(r.status_code, 400)
self.assertEqual(r.status_code, 405)
r = self.client.get(url)
self.assertEqual(r.status_code, 200)
......
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 to comment