Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
estyxx committed Feb 13, 2024
1 parent 539824c commit 5e9bb59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions backend/api/cms/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion backend/pytest.ini
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5e9bb59

Please sign in to comment.