summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0006_post_session.py
diff options
context:
space:
mode:
authorDiego Crespo Quinta <diegocrespodcq98@gmail.com>2020-10-22 19:46:24 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-22 22:37:36 +0200
commit45711db04ff2d6d5ac0ebaf59be33fb2e7650ec5 (patch)
tree4a45b06520ad95cd794aba1b783fe9895739861b /tests/units/test_0006_post_session.py
parent1d451acff5f6b088a1475e89dd4e8580eef7df47 (diff)
#915 Fix expected returned codes in GET /session and GET /software tests
Fix incorrect status code.
Diffstat (limited to 'tests/units/test_0006_post_session.py')
-rw-r--r--tests/units/test_0006_post_session.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/test_0006_post_session.py b/tests/units/test_0006_post_session.py
index 6116a27..c7ddb38 100644
--- a/tests/units/test_0006_post_session.py
+++ b/tests/units/test_0006_post_session.py
@@ -28,7 +28,7 @@ class TestPostSessionMethods(unittest.TestCase):
def test_get(self):
returned = requests.get(self.url, headers=self.headers, json={ 'client': ['192.168.56.11'] })
- self.assertEqual(returned.status_code, 405)
+ self.assertEqual(returned.status_code, 200)
if __name__ == '__main__':
unittest.main()