Skip to content

Commit

Permalink
Adding py.test
Browse files Browse the repository at this point in the history
  • Loading branch information
aericson committed Feb 27, 2016
1 parent 57bf211 commit b2695f1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.py[cod]
.cache

# C extensions
*.so
Expand Down
10 changes: 0 additions & 10 deletions manage.py

This file was deleted.

3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
DJANGO_SETTINGS_MODULE=tests.settings
python_paths = .
Empty file added tests/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ envlist =

[testenv]
commands=
python manage.py test
py.test
deps=
django18: Django==1.8.9
django19: Django==1.9.2
pytest-django
pytest-pythonpath

[testenv:py27-pyflakes]
commands = pyflakes templated_email
Expand Down

0 comments on commit b2695f1

Please sign in to comment.