Add unittests for the session adapter
This commit is contained in:
committed by
Michael van Tellingen
parent
e107d73716
commit
03073eb004
@@ -2,8 +2,6 @@ from __future__ import absolute_import, unicode_literals
|
||||
|
||||
import pytest
|
||||
from wagtail.wagtailcore.models import Page, Site
|
||||
from wagtail_factories import SiteFactory
|
||||
from tests.factories.page import PageFactory
|
||||
|
||||
pytest_plugins = [
|
||||
'tests.fixtures'
|
||||
@@ -16,4 +14,3 @@ def django_db_setup(django_db_setup, django_db_blocker):
|
||||
# Remove some initial data that is brought by the sandbox module
|
||||
Site.objects.all().delete()
|
||||
Page.objects.all().exclude(depth=1).delete()
|
||||
|
||||
|
Reference in New Issue
Block a user