#915 fix POST /hardware test

master
Isabel Arrans 2020-10-26 20:52:43 +01:00 committed by OpenGnSys Support Team
parent 4f5c357dcd
commit 09a064c3ff
1 changed files with 1 additions and 1 deletions

View File

@ -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__':