mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-04 11:01:35 +00:00
added autofixes
This commit is contained in:
@@ -17,12 +17,7 @@ print("- Response 200 OK")
|
||||
|
||||
data = json.loads(response.text)
|
||||
|
||||
required_keys = [
|
||||
'server',
|
||||
'version',
|
||||
'apiVersion',
|
||||
'worker_running',
|
||||
]
|
||||
required_keys = ['server', 'version', 'apiVersion', 'worker_running']
|
||||
|
||||
for key in required_keys:
|
||||
assert key in data
|
||||
|
Reference in New Issue
Block a user