summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsabel Arrans <isabelarrans@gmail.com>2020-10-26 20:52:43 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-27 17:05:01 +0100
commit09a064c3ff9f10f15f984ebe038b0d552bdb89ea (patch)
tree500ea8bc0a59ed3db24fbadbae6bf5e878a2a919
parent4f5c357dcd1a5531955cf8cd185fc86bbec66168 (diff)
#915 fix POST /hardware test
-rw-r--r--tests/units/test_0011_post_hardware.py2
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__':