Modified generic_views for unittest2 discovery.

This commit is contained in:
Preston Timmons 2013-04-06 13:43:31 -05:00 committed by Carl Meyer
parent 5e84abec14
commit 3ca3d2206c
8 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
from __future__ import absolute_import from __future__ import absolute_import
from .base import (ViewTest, TemplateViewTest, RedirectViewTest, from .test_base import (ViewTest, TemplateViewTest, RedirectViewTest,
GetContextDataTest) GetContextDataTest)
from .dates import (ArchiveIndexViewTests, YearArchiveViewTests, from .test_dates import (ArchiveIndexViewTests, YearArchiveViewTests,
MonthArchiveViewTests, WeekArchiveViewTests, DayArchiveViewTests, MonthArchiveViewTests, WeekArchiveViewTests, DayArchiveViewTests,
DateDetailViewTests) DateDetailViewTests)
from .detail import DetailViewTest from .test_detail import DetailViewTest
from .edit import (FormMixinTests, BasicFormTests, ModelFormMixinTests, from .test_edit import (FormMixinTests, BasicFormTests, ModelFormMixinTests,
CreateViewTests, UpdateViewTests, DeleteViewTests) CreateViewTests, UpdateViewTests, DeleteViewTests)
from .list import ListViewTests from .test_list import ListViewTests

View File

@ -7,7 +7,7 @@ from django.core.urlresolvers import reverse, reverse_lazy
from django.utils.decorators import method_decorator from django.utils.decorators import method_decorator
from django.views import generic from django.views import generic
from .forms import AuthorForm, ContactForm from .test_forms import AuthorForm, ContactForm
from .models import Artist, Author, Book, Page, BookSigning from .models import Artist, Author, Book, Page, BookSigning