mirror of
https://github.com/Screenly/Anthias.git
synced 2026-04-19 14:09:36 -04:00
- Fix Jinja2 base template: move '&& rm -rf' inside last dependency block to avoid Docker parse error on rendered output - Update test-runner workflow: remove celery/redis services, use pytest - Apply ruff formatting to conftest.py, test_app.py, __main__.py Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
378 B
Python
16 lines
378 B
Python
import os
|
|
|
|
import pytest
|
|
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'anthias_django.settings')
|
|
os.environ.setdefault('ENVIRONMENT', 'test')
|
|
os.environ.setdefault('DJANGO_ALLOW_ASYNC_UNSAFE', 'true')
|
|
|
|
|
|
@pytest.fixture(scope='session')
|
|
def browser_type_launch_args():
|
|
return {
|
|
'headless': True,
|
|
'args': ['--no-sandbox', '--disable-dev-shm-usage'],
|
|
}
|