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

Create working example with Pycharm #1

Merged
merged 3 commits into from Nov 7, 2019
Merged

Create working example with Pycharm #1

merged 3 commits into from Nov 7, 2019

Conversation

quiqua
Copy link

@quiqua quiqua commented Nov 7, 2019

Hej! I've looked into the project:

I've installed Pycharm and cloned your project.
As I am using Python3.7 at the moment, I replaced the Pipfiles to make it work and removed obsolete files for this issue.

Here is what I did in terminal:

pipenv --three
pipenv install -d pytest pytest-dotenv
pipenv shell

I then loaded Pycharm, added the project and ran the test successfully:
Screenshot 2019-11-07 at 10 04 44

You can see in the screenshot, that my virtualenv was used.

Try to set your virtualenv here and run it again:
Screenshot 2019-11-07 at 10 22 10

Hope this helps :)

@namgivu namgivu changed the base branch from master to quiqua/pycharm-example November 7, 2019 23:56
@namgivu namgivu merged commit 21b0c48 into namgivu:quiqua/pycharm-example Nov 7, 2019
@namgivu
Copy link
Owner

namgivu commented Nov 8, 2019

Great great thanks! I have re-checked and all working right today @quiqua !
Regards

@namgivu
Copy link
Owner

namgivu commented Mar 30, 2020

Re-visit today and wanna add some critical notes to get this work basing on @quiqua guide

To get PyCharm test run working with pytest-dotenv
01 must use dev-package version for pytest and pytest-dotenv
02 must use -d pip install i.e. pipenv sync -d

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.

None yet

2 participants