[pytest] # NOTE: Combined test collection across all three directories fails because # packages/secubox-users/api/ and packages/secubox-auth/api/ are both named # "api" on sys.path — whichever is added first shadows the other. # Structural fix (renaming the packages) is deferred to a dedicated cleanup PR. # # ALWAYS run tests per-directory: # python3 -m pytest common/secubox_core/tests -q # 18 tests # python3 -m pytest packages/secubox-users/tests -q # 44 tests # python3 -m pytest packages/secubox-auth/tests -q # 8 tests # # DO NOT run: python3 -m pytest common/ packages/ -q (api/ collision) # Run tests per-directory only — no testpaths configured to avoid the api/ collision. # norecursedirs prevents bare `pytest` from wandering into subdirs and hitting the collision. norecursedirs = packages common remote-ui board image scripts docs tests markers = integration: real-socket / real-transport tests (excluded via -m "not integration" in CI)