@pytest.fixture
def templates_project0(request, templates, project0):
 from pootle_translationproject.models import TranslationProject
 return TranslationProject.objects.get(language=templates, project=project0)

@ pytest . fixture def templates_project0 ( request , templates , project0 ) : from pootle_translationproject . models import TranslationProject return TranslationProject . objects . get ( language = templates , project = project0 )
require the templates/project0/ translation project .