Skip to content

Commit

Permalink
Merge pull request nitely#30 from benjaminabel/tests-reorganisation
Browse files Browse the repository at this point in the history
Move tests to root directory
  • Loading branch information
nitely committed Nov 20, 2014
2 parents 9fd6930 + 7a44c36 commit 4fc044c
Show file tree
Hide file tree
Showing 29 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ install:
script:
- pep8 --max-line-length=120 --exclude='migrations,tests' .
- flake8 --select=F401 ./spirit
- coverage run --source=. run_tests.py test
- coverage run --source=. runtests.py test
after_success:
- coveralls
2 changes: 1 addition & 1 deletion example/settings_test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
from .local_settings_sample_dev import *

INSTALLED_APPS += (
'spirit.tests',
'tests',
)
2 changes: 1 addition & 1 deletion run_tests.py → runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def log_warnings():

def run_tests():
test_runner = DiscoverRunner()
failures = test_runner.run_tests(["spirit", ])
failures = test_runner.run_tests(["tests", ])
sys.exit(failures)


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from django.test import TestCase

from spirit.tests.models.auto_slug import AutoSlugPopulateFromModel, AutoSlugModel, AutoSlugDefaultModel, \
from .models.auto_slug import AutoSlugPopulateFromModel, AutoSlugModel, AutoSlugDefaultModel, \
AutoSlugBadPopulateFromModel


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4fc044c

Please sign in to comment.