Skip to content

test(python-sdk): pytest integration tests for precheck()#9

Merged
Shaivpidadi merged 1 commit intodevfrom
feat/1.4b-precheck-integration-test
Apr 20, 2026
Merged

test(python-sdk): pytest integration tests for precheck()#9
Shaivpidadi merged 1 commit intodevfrom
feat/1.4b-precheck-integration-test

Conversation

@Shaivpidadi
Copy link
Copy Markdown
Member

Replaces closed PR #6 (auto-closed when base branch was deleted). Rebased onto dev.

- tests/integration/test_precheck_integration.py: proper pytest tests
  (sync and async) marked @pytest.mark.integration
- pyproject.toml: register integration marker, add src pythonpath,
  switch to --import-mode=importlib so src/ takes priority over
  legacy root-level governs_ai/ directory
- conftest.py: insert src/ at sys.path[0] as safety fallback
- governs_ai/exceptions/precheck.py: add missing Optional/Dict/Any
  imports (Python 3.13 compat)

Refs: GOV-37
@Shaivpidadi Shaivpidadi merged commit fad03be into dev Apr 20, 2026
1 check passed
@Shaivpidadi Shaivpidadi deleted the feat/1.4b-precheck-integration-test branch April 20, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant