Skip to content

Add python-dotenv to the http dev dependencies and make live tests skip without credentials #25

Open

Description

@figitaki

packages/http/tests/conftest.py imports python-dotenv, but no dev dependency list declares it, so a fresh pip install -e ./packages/http[dev] cannot run the tests.

The live tests in packages/http/tests/test_activities.py and test_queries.py fail rather than skip when TURNKEY_API_PUBLIC_KEY and friends are not set.

Follow-up: add python-dotenv to the http dev extra, and add a module-level skip when the credentials are missing so offline runs stay green. The offline tests added in #21 already run without credentials.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions