From 09a064c3ff9f10f15f984ebe038b0d552bdb89ea Mon Sep 17 00:00:00 2001 From: Isabel Arrans Date: Mon, 26 Oct 2020 20:52:43 +0100 Subject: #915 fix POST /hardware test --- tests/units/test_0011_post_hardware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/units/test_0011_post_hardware.py b/tests/units/test_0011_post_hardware.py index 105c029..117f914 100644 --- a/tests/units/test_0011_post_hardware.py +++ b/tests/units/test_0011_post_hardware.py @@ -21,7 +21,7 @@ class TestPostHardwareMethods(unittest.TestCase): self.assertEqual(returned.status_code, 400) def test_get(self): - returned = requests.get(self.url, headers=self.headers, json={ "scope": { "id": 6, "type": "computer" }}) + returned = requests.get(self.url, headers=self.headers, json={"client": ["192.168.56.11"]}) self.assertEqual(returned.status_code, 200) if __name__ == '__main__': -- cgit v1.2.3-18-g5258