mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-09-30 17:58:11 +00:00
style: reformat code
This commit is contained in:
5
.github/workflows/django.yml
vendored
5
.github/workflows/django.yml
vendored
@@ -48,7 +48,10 @@ jobs:
|
||||
uv run python3 manage.py makemigrations --check --dry-run
|
||||
uv run python3 manage.py collectstatic --noinput
|
||||
- name: Run Tests
|
||||
run: uv run pytest -n auto --cov
|
||||
run: uv run pytest --cov
|
||||
env:
|
||||
DATABASE_ENGINE: sqlite3
|
||||
DATABASE_NAME: db.sqlite3
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
with:
|
||||
|
||||
@@ -66,7 +66,6 @@ class AssetList(BasePage):
|
||||
import time
|
||||
time.sleep(2)
|
||||
|
||||
|
||||
def filter(self):
|
||||
self.find_element(*self._filter_button_locator).click()
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ from selenium import webdriver
|
||||
import importlib.metadata as _importlib_metadata
|
||||
importlib.metadata = _importlib_metadata
|
||||
|
||||
|
||||
def pytest_configure():
|
||||
settings.PASSWORD_HASHERS = (
|
||||
'django.contrib.auth.hashers.MD5PasswordHasher',
|
||||
|
||||
Reference in New Issue
Block a user