Skip to content

Commit

Permalink
Move test app outside of package for Django 1.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavisp3 committed Jan 22, 2016
1 parent 31a39f1 commit e6f2288
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
Expand Up @@ -6,7 +6,7 @@

from generic_aggregation import generic_annotate as _generic_annotate, generic_aggregate as _generic_aggregate, generic_filter as _generic_filter
from generic_aggregation.utils import fallback_generic_annotate, fallback_generic_aggregate, fallback_generic_filter
from generic_aggregation.generic_aggregation_tests.models import (
from generic_aggregation_tests.models import (
Food, Rating, CharFieldGFK
)

Expand Down
4 changes: 2 additions & 2 deletions runtests.py
Expand Up @@ -29,7 +29,7 @@
},
INSTALLED_APPS=[
'django.contrib.contenttypes',
'generic_aggregation.generic_aggregation_tests',
'generic_aggregation_tests',
],
MIDDLEWARE_CLASSES=(
'django.contrib.sessions.middleware.SessionMiddleware',
Expand All @@ -40,7 +40,7 @@
NULLS_ASC_SORT_FIRST=nulls_asc_sort_first,
)

app_to_test = 'generic_aggregation.generic_aggregation_tests'
app_to_test = 'generic_aggregation_tests'

from django.test.utils import get_runner

Expand Down
2 changes: 1 addition & 1 deletion settings_migrations.py
Expand Up @@ -7,7 +7,7 @@

INSTALLED_APPS = [
'django.contrib.contenttypes',
'generic_aggregation.generic_aggregation_tests',
'generic_aggregation_tests',
]

MIDDLEWARE_CLASSES = (
Expand Down

0 comments on commit e6f2288

Please sign in to comment.