mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 02:41:21 +00:00
1 parent
6118d1319c
commit
07f427226d
2 files changed
+5
-5
No files matched your search
@@ -11,7 +11,7 @@ print("Testing InvenTree API endpoint")
|
||||
|
||||
response = requests.get(url)
|
||||
|
||||
assert(response.status_code == 200)
|
||||
assert response.status_code == 200
|
||||
|
||||
print("- Response 200 OK")
|
||||
|
||||
@@ -25,11 +25,11 @@ required_keys = [
|
||||
]
|
||||
|
||||
for key in required_keys:
|
||||
assert(key in data)
|
||||
assert key in data
|
||||
print(f"- Found key '{key}'")
|
||||
|
||||
# Check that the worker is running
|
||||
assert(data['worker_running'])
|
||||
assert data['worker_running']
|
||||
|
||||
print("- Background worker is operational")
|
||||
|
||||
|
||||
Reference in new issue
Block a user