Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Close to done with this cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Sinchok committed Mar 2, 2015
1 parent 29daf2f commit 4b54617
Show file tree
Hide file tree
Showing 7 changed files with 202 additions and 212 deletions.
9 changes: 6 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import os
import sys
from logan.runner import configure_app

sys.path.append(os.path.dirname(__file__))
configure_app(
project="betty",
default_settings="betty.conf.server",
config_path="./tests/betty.testconf.py"
)
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
python_files=test*.py
addopts=--tb=short
timeout=5
DJANGO_SETTINGS_MODULE=tests.settings
django_find_project = false

[flake8]
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"httmock==1.2.2",
"django-discover-runner",
"flake8>=2.0,<2.1",
"pytest",
"pytest-django",
"pytest==2.6.4",
"pytest-django==2.8.0",
"pytest-cov>=1.4",
"coveralls==0.4.1",
]
Expand Down
2 changes: 0 additions & 2 deletions tests/settings.py → tests/betty.testconf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from betty.conf.server import * # noqa

import os
import tempfile

Expand Down

0 comments on commit 4b54617

Please sign in to comment.