diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/units/test_0006_post_session.py | 2 | ||||
-rw-r--r-- | tests/units/test_0012_post_software.py | 2 |
2 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 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() diff --git a/tests/units/test_0012_post_software.py b/tests/units/test_0012_post_software.py index 47e63c3..f298e35 100644 --- a/tests/units/test_0012_post_software.py +++ b/tests/units/test_0012_post_software.py @@ -31,7 +31,7 @@ class TestPostSoftwareMethods(unittest.TestCase): returned = requests.get(self.url, headers=self.headers, json={ 'client' : ['192.168.56.11'], 'disk' : 1, 'partition' : 1 }) - self.assertEqual(returned.status_code, 405) + self.assertEqual(returned.status_code, 200) if __name__ == '__main__': unittest.main() |