forked from PostHog/posthog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
23 lines (21 loc) 路 1.25 KB
/
Copy pathpytest.ini
File metadata and controls
23 lines (21 loc) 路 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[pytest]
pythonpath = . common tools/hogli-commands tools/query-performance-ai
env =
DEBUG=1
TEST=1
DJANGO_SETTINGS_MODULE = posthog.settings
# --pytest-durations=0 disables the pytest-durations plugin by default; CI shard steps re-enable it explicitly
# -p no:tach disables tach's pytest plugin: without --tach it builds the full import graph (~5-10s
# per invocation) only to print a "could be skipped" hint. Opt back in with: pytest -p tach --tach
addopts = -p no:warnings -p no:tach --reuse-db --pytest-durations=0 --ignore=posthog/user_scripts --ignore=services/llm-gateway --ignore=services/stripe-mock --ignore=common/ingestion/acceptance_tests --ignore=tools/hogli --ignore=tools/hogli-commands --ignore=tools/traffic-sim --ignore=tools/query-performance-ai
markers =
ee
clickhouse_only
skip_on_multitenancy
async_migrations
requires_secrets: test needs internal secrets or infra and is skipped on external PRs
quarantine: applied automatically to tests quarantined via .test_quarantine.json (hogli test:quarantine)
persons_db_direct: test exercises the persons DB directly and must not have the personhog fake / ORM block active
asyncio_mode = auto
asyncio_default_fixture_loop_scope = module
asyncio_default_test_loop_scope = module