2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

Merge remote-tracking branch 'inventree/master'

This commit is contained in:
Oliver Walters
2022-08-01 17:45:46 +10:00
3 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ repos:
- id: check-added-large-files
- id: mixed-line-ending
- repo: https://github.com/pycqa/flake8
rev: '4.0.1'
rev: '5.0.0'
hooks:
- id: flake8
additional_dependencies: [
@ -29,7 +29,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/jazzband/pip-tools
rev: 6.6.2
rev: 6.8.0
hooks:
- id: pip-compile
name: pip-compile requirements-dev.in

View File

@ -13,7 +13,7 @@ import common.models
from InvenTree.api_version import INVENTREE_API_VERSION
# InvenTree software version
INVENTREE_SW_VERSION = "0.8.0"
INVENTREE_SW_VERSION = "0.9.0 dev"
def inventreeInstanceName():

View File

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