Skip to content

run unit tests locally without pharia api keys#16

Open
mooncitydev wants to merge 1 commit intoAleph-Alpha:masterfrom
mooncitydev:fix-conftest-integration-skip-only
Open

run unit tests locally without pharia api keys#16
mooncitydev wants to merge 1 commit intoAleph-Alpha:masterfrom
mooncitydev:fix-conftest-integration-skip-only

Conversation

@mooncitydev
Copy link
Copy Markdown

@mooncitydev mooncitydev commented Apr 8, 2026

Previously, pytest_collection_modifyitems in tests/conftest.py skipped every collected test when PHARIA_DATA_API_BASE_URL and PHARIA_API_KEY were unset. Local runs never exercised modules like the filter tests unless credentials were configured.

This change only applies the skip to integration entrypoints (test_integration.py, test_create_stage.py), so unit tests run without Pharia API keys.

Also adds tests/test_client_unit.py covering Client validation and ValueError messages.

@mooncitydev mooncitydev requested a review from alphamt as a code owner April 8, 2026 18:32
@mooncitydev mooncitydev force-pushed the fix-conftest-integration-skip-only branch from 809329e to d60ce2b Compare April 8, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant