Skip to content

Commit

Permalink
deps: drop tox as we don't use it now
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwang44 committed Apr 8, 2024
1 parent 0e38475 commit f115d02
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 44 deletions.
21 changes: 5 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,15 @@ This repository serves the website of PyCon TW, Python Conference Taiwan. This p

## Run Tests

Tests are managed with [pytest-django](http://pytest-django.readthedocs.org/en/latest/tutorial.html). You have two options to run tests, either with the local environment, or in an isolated one via [Tox](http://tox.readthedocs.org/en/latest/).
Tests are managed with [pytest-django](http://pytest-django.readthedocs.org/en/latest/tutorial.html). You can run tests in your local environment:

- Run the following command inside `src`:

### Testing in the Local Environment
pytest

Run the following command inside `src`:

pytest

To run tests with coverage report:

pytest --cov=.


### Testing with Tox

Run the following inside the top-level directory (the one with `tox.ini`):

tox
- To run tests with coverage report:

pytest --cov=.

## How to Contribute

Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ urllib3==1.26.5

# For upload to Google cloud storage
google-cloud-storage==1.36.1
django-storages==1.11.1;
django-storages==1.11.1

# Django REST framework: a powerful and flexible toolkit for building Web APIs.
# https://www.django-rest-framework.org/
Expand Down
2 changes: 0 additions & 2 deletions requirements/local.txt

This file was deleted.

25 changes: 0 additions & 25 deletions tox.ini

This file was deleted.

0 comments on commit f115d02

Please sign in to comment.