@pytest.fixture
def package_loader():
 return loaders.PackageLoader('res', 'templates')

@ pytest . fixture def package_loader ( ) : return loaders . PackageLoader ( 'res' , 'templates' )
returns packageloader initialized from templates .