style: reformat code

This commit is contained in:
Hang
2026-08-23 23:19:26 +01:00
parent c1ac0065ee
commit f629288d91
3 changed files with 5 additions and 2 deletions

View File

@@ -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:

View File

@@ -66,7 +66,6 @@ class AssetList(BasePage):
import time
time.sleep(2)
def filter(self):
self.find_element(*self._filter_button_locator).click()

View File

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