From b11608152e9e2a9af32e15a100d3d034222ad3e4 Mon Sep 17 00:00:00 2001 From: Isabel Arrans Date: Fri, 23 Oct 2020 18:55:17 +0200 Subject: #915 restore more tests --- tests/units/test_0011_post_hardware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/units/test_0011_post_hardware.py') 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() -- cgit v1.2.3-18-g5258