2
0
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:
Matthias Mair
2024-01-07 21:03:14 +01:00
parent a92442e60e
commit f83fedbbb8
181 changed files with 2080 additions and 2080 deletions

View File

@@ -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')