Skip to content

Commit

Permalink
Fix make test to test for docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
percurnicus committed May 5, 2016
1 parent 7c12db1 commit b0a48c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ test:
# the following test line should be used
# py.test --doctest-modules --ignore=setup.py --doctest-glob="docs/*rst"
get_mission_data
py.test --doctest-modules --ignore=setup.py
# Test python code
py.test tests --doctest-modules --ignore=setup.py
# Test docstrings
py.test --doctest-modules --ignore=setup.py planetaryimage
# Test docs
# The doc tests will fail due to how usage.rst is structured.
# py.test --doctest-modules --ignore=setup.py --doctest-glob="docs/*.rst" docs


test-all:
tox
Expand Down

0 comments on commit b0a48c5

Please sign in to comment.