@pytest.fixture(params=DISABLED_PROJECT_URL_PARAMS.keys())
def dp_view_urls(request, view_types):
 kwargs = DISABLED_PROJECT_URL_PARAMS[request.param].copy()
 view_name = kwargs.pop('view_name')
 view_name = ('%s-%s' % (view_name, view_types))
 return reverse(view_name, kwargs=kwargs)

@ pytest . fixture ( params = DISABLED_PROJECT_URL_PARAMS . keys ( ) ) def dp_view_urls ( request , view_types ) : kwargs = DISABLED_PROJECT_URL_PARAMS [ request . param ] . copy ( ) view_name = kwargs . pop ( 'view_name' ) view_name = ( '%s-%s' % ( view_name , view_types ) ) return reverse ( view_name , kwargs = kwargs )
list of url params required for disabled project tests .