Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change readme to use python command instead of pytest to run unit tests #20867

Merged
merged 2 commits into from
Jan 2, 2023

Conversation

flash1293
Copy link
Contributor

Depending on your setup, when following the guide in the readme to set up a local python venv, the pytest alias might still point to a global binary which is not running in the venv.

This causes the tests to fail in surprising ways (e.g. because dependencies are not installed in the global python environment but are present in the local venv).

As the python alias is definitely pointing to environment which has the dependencies of the cdk installed, this PR changes the readme to run unit tests using python -m pytest instead.

@flash1293 flash1293 added the CDK Connector Development Kit label Dec 23, 2022
@flash1293 flash1293 marked this pull request as ready for review December 23, 2022 16:24
@flash1293 flash1293 requested a review from a team as a code owner December 23, 2022 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants