summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0011_post_hardware.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/test_0011_post_hardware.py')
-rw-r--r--tests/units/test_0011_post_hardware.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/test_0011_post_hardware.py b/tests/units/test_0011_post_hardware.py
index 1f3e160..105c029 100644
--- a/tests/units/test_0011_post_hardware.py
+++ b/tests/units/test_0011_post_hardware.py
@@ -21,8 +21,8 @@ class TestPostHardwareMethods(unittest.TestCase):
self.assertEqual(returned.status_code, 400)
def test_get(self):
- returned = requests.get(self.url, headers=self.headers)
- self.assertEqual(returned.status_code, 405)
+ returned = requests.get(self.url, headers=self.headers, json={ "scope": { "id": 6, "type": "computer" }})
+ self.assertEqual(returned.status_code, 200)
if __name__ == '__main__':
unittest.main()