[pytest] DJANGO_SETTINGS_MODULE = backend.config.test asyncio_mode = auto addopts = -v --tb=short --no-header --strict-markers --strict-config -p no:warnings -p no:playwright --import-mode=importlib markers = unit: Unit tests — no DB, no HTTP, pure logic integration: Integration tests — DB required, no mocks api: API endpoint tests — full request/response cycle async_test: Async tests using pytest-asyncio slow: Tests that take more than 1 second smoke: Fast sanity tests — run in CI on every push auth: Authentication / authorization specific tests common: apps.common tests store: Store / product tests customer: Customer domain tests vendor: Vendor domain tests payments: Payment / Paystack tests notifications: Notification / email / SMS tests celery: Celery task tests webhook: Webhook handling tests redis: Tests requiring a live Redis instance (skipped when Redis unavailable) filterwarnings = ignore::DeprecationWarning ignore::PendingDeprecationWarning ignore::django.utils.deprecation.RemovedInDjango61Warning log_cli = true log_cli_level = INFO log_cli_format = [%(levelname)-8s] %(name)s — %(message)s # Test discovery roots — separated by category testpaths = tests apps store customer vendor Paystack_Webhoook_Prod notification chat admin_backend userauths