mirror of https://git.48k.eu/ogserver
#915 fix POST /hardware test
parent
4f5c357dcd
commit
09a064c3ff
|
@ -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__':
|
||||
|
|
Loading…
Reference in New Issue