@pytest.fixture
def project0():
 from pootle_project.models import Project
 return Project.objects.get(code='project0')

@ pytest . fixture def project0 ( ) : from pootle_project . models import Project return Project . objects . get ( code = 'project0' )
project0 project .