Skip to content

Commit

Permalink
add doctests to pytest.ini remove asgi.py
Browse files Browse the repository at this point in the history
Due to version switch from 3 to 2 asgi is not supported and is removed.

Add doctests to treemap.py for demonstration purpose, add doc test
execution to pytest due to that.
  • Loading branch information
nichtsfrei committed Dec 1, 2020
1 parent d41d00b commit 2bc1ce5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
34 changes: 0 additions & 34 deletions pheme/asgi.py

This file was deleted.

1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -- FILE: pytest.ini (or tox.ini)
[pytest]
addopts = --doctest-modules
DJANGO_SETTINGS_MODULE = pheme.settings
# -- recommended but optional:
python_files = tests.py test_*.py *_tests.py
Expand Down

0 comments on commit 2bc1ce5

Please sign in to comment.