Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modified generic_views for unittest2 discovery.

  • Loading branch information...
commit 3ca3d2206c31ed251474d66b6775fa0903c09eae 1 parent 5e84abe
@prestontimmons prestontimmons authored carljm committed
View
0  tests/generic_views/base.py → tests/generic_views/test_base.py
File renamed without changes
View
0  tests/generic_views/dates.py → tests/generic_views/test_dates.py
File renamed without changes
View
0  tests/generic_views/detail.py → tests/generic_views/test_detail.py
File renamed without changes
View
0  tests/generic_views/edit.py → tests/generic_views/test_edit.py
File renamed without changes
View
0  tests/generic_views/forms.py → tests/generic_views/test_forms.py
File renamed without changes
View
0  tests/generic_views/list.py → tests/generic_views/test_list.py
File renamed without changes
View
10 tests/generic_views/tests.py
@@ -1,11 +1,11 @@
from __future__ import absolute_import
-from .base import (ViewTest, TemplateViewTest, RedirectViewTest,
+from .test_base import (ViewTest, TemplateViewTest, RedirectViewTest,
GetContextDataTest)
-from .dates import (ArchiveIndexViewTests, YearArchiveViewTests,
+from .test_dates import (ArchiveIndexViewTests, YearArchiveViewTests,
MonthArchiveViewTests, WeekArchiveViewTests, DayArchiveViewTests,
DateDetailViewTests)
-from .detail import DetailViewTest
-from .edit import (FormMixinTests, BasicFormTests, ModelFormMixinTests,
+from .test_detail import DetailViewTest
+from .test_edit import (FormMixinTests, BasicFormTests, ModelFormMixinTests,
CreateViewTests, UpdateViewTests, DeleteViewTests)
-from .list import ListViewTests
+from .test_list import ListViewTests
View
2  tests/generic_views/views.py
@@ -7,7 +7,7 @@
from django.utils.decorators import method_decorator
from django.views import generic
-from .forms import AuthorForm, ContactForm
+from .test_forms import AuthorForm, ContactForm
from .models import Artist, Author, Book, Page, BookSigning

0 comments on commit 3ca3d22

Please sign in to comment.
Something went wrong with that request. Please try again.