summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0005_post_shell_output.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/test_0005_post_shell_output.py')
-rw-r--r--tests/units/test_0005_post_shell_output.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/test_0005_post_shell_output.py b/tests/units/test_0005_post_shell_output.py
index 622e482..1c6f7a3 100644
--- a/tests/units/test_0005_post_shell_output.py
+++ b/tests/units/test_0005_post_shell_output.py
@@ -13,8 +13,8 @@ class TestPostShellOutputMethods(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()