diff options
author | Isabel Arrans <isabelarrans@gmail.com> | 2020-10-26 20:52:43 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-10-27 17:05:01 +0100 |
commit | 09a064c3ff9f10f15f984ebe038b0d552bdb89ea (patch) | |
tree | 500ea8bc0a59ed3db24fbadbae6bf5e878a2a919 /tests/units/test_0011_post_hardware.py | |
parent | 4f5c357dcd1a5531955cf8cd185fc86bbec66168 (diff) |
#915 fix POST /hardware test
Diffstat (limited to 'tests/units/test_0011_post_hardware.py')
-rw-r--r-- | tests/units/test_0011_post_hardware.py | 2 |
1 files changed, 1 insertions, 1 deletions
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__': |