diff --git a/backend/api/cms/tests/factories.py b/backend/api/cms/tests/factories.py index 217266101e..17957b9c46 100644 --- a/backend/api/cms/tests/factories.py +++ b/backend/api/cms/tests/factories.py @@ -96,11 +96,6 @@ class Meta: @register class SiteFactory(SiteFactory): - """ - Extends wagtail_factories.SiteFactory to use custom HomePage as root page. - """ - - hostname = "pycon.it" root_page = factory.SubFactory(GenericPageFactory) is_default_site = True diff --git a/backend/pytest.ini b/backend/pytest.ini index 35dcf4381d..c1535007cc 100644 --- a/backend/pytest.ini +++ b/backend/pytest.ini @@ -1,5 +1,5 @@ [pytest] DJANGO_SETTINGS_MODULE=pycon.settings.test norecursedirs = .git htmlcov tmp* .* build dist CVS _darcs {arch} *.egg -addopts = --failed-first --nomigrations --reuse-db +addopts = --failed-first --nomigrations --reuse-db -l -s python_files = test_*.py