1
Fork 0
This repository has been archived on 2024-07-16. You can view files and clone it, but cannot push or open issues or pull requests.
wagtail-draftail-snippet/tests/fixtures.py
2020-02-13 17:53:35 +05:30

8 lines
151 B
Python

import pytest
@pytest.fixture
def site():
from wagtail.core.models import Site
site = Site.objects.get(is_default_site=True)
return site