015c622016
Add 162 integration tests covering authentication flows, TOTP MFA, SSH key/certificate management, organization workflows, multi-org access, self-service features, admin operations, authorization, security edge cases, department/principal management, CA management, policy compliance, WebAuthn passkeys, and ZeroTier network access. Includes: - Reusable API client library with session management - Test fixtures for users, organizations, memberships, and CAs - Helper functions for SSH key generation and verification - Documentation for running and writing tests Also update test configuration to disable conflicting maas plugins and configure WebAuthn/session settings for localhost testing.
25 lines
570 B
INI
25 lines
570 B
INI
[pytest]
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
addopts =
|
|
-v
|
|
--strict-markers
|
|
-p no:maas-django
|
|
-p no:maas-perftest
|
|
-p no:maas-seeds
|
|
--cov=gatehouse_app
|
|
--cov-report=term-missing
|
|
--cov-report=html
|
|
--cov-branch
|
|
markers =
|
|
unit: Unit tests
|
|
integration: Integration tests
|
|
slow: Slow running tests
|
|
external_auth: External authentication tests
|
|
oauth: OAuth flow tests
|
|
google: Google OAuth tests
|
|
github: GitHub OAuth tests
|
|
microsoft: Microsoft OAuth tests
|