diff options
Diffstat (limited to 'tests/units/test_0006_post_session.py')
-rw-r--r-- | tests/units/test_0006_post_session.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/test_0006_post_session.py b/tests/units/test_0006_post_session.py index 0b733d9..544ae2a 100644 --- a/tests/units/test_0006_post_session.py +++ b/tests/units/test_0006_post_session.py @@ -14,8 +14,8 @@ class TestPostSessionMethods(unittest.TestCase): self.assertEqual(returned.status_code, 200) def test_get(self): - returned = requests.post(self.url, headers=self.headers) - self.assertEqual(returned.status_code, 404) + returned = requests.get(self.url, headers=self.headers) + self.assertEqual(returned.status_code, 405) if __name__ == '__main__': unittest.main() |