mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-04 02:51:34 +00:00
switched to single quotes everywhere
This commit is contained in:
@@ -5,15 +5,15 @@ import json
|
||||
import requests
|
||||
|
||||
# We expect the server to be running on the local host
|
||||
url = "http://localhost:8000/api/"
|
||||
url = 'http://localhost:8000/api/'
|
||||
|
||||
print("Testing InvenTree API endpoint")
|
||||
print('Testing InvenTree API endpoint')
|
||||
|
||||
response = requests.get(url)
|
||||
|
||||
assert response.status_code == 200
|
||||
|
||||
print("- Response 200 OK")
|
||||
print('- Response 200 OK')
|
||||
|
||||
data = json.loads(response.text)
|
||||
|
||||
@@ -26,6 +26,6 @@ for key in required_keys:
|
||||
# Check that the worker is running
|
||||
assert data['worker_running']
|
||||
|
||||
print("- Background worker is operational")
|
||||
print('- Background worker is operational')
|
||||
|
||||
print("API Endpoint Tests Passed OK")
|
||||
print('API Endpoint Tests Passed OK')
|
||||
|
Reference in New Issue
Block a user