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

Correct API docs path and fix pytest invocation #379

Merged
merged 4 commits into from
Mar 18, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Run Tests
Use these commands to run code style checks and the test suite::

black -l 100 --check .
DJANGO_DEV=1 pytest
DJANGO_DEV=1 python -m pytest
Copy link
Member

@pombredanne pombredanne Mar 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are in an activated virtualenv, pytest should work. Did you experience an issue here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. As mentioned here, it fails on the first run. I've generated an asciinema to reproduce the issue as well.



Data import
Expand Down Expand Up @@ -245,7 +245,7 @@ Start the webserver::

For full documentation about API endpoints use this URL::

http://127.0.0.1:8000/api/docs
http://127.0.0.1:8000/api/schema/swagger-ui/



Expand Down