Browse Source

Corrige erro na separação de str em list de teste

pull/732/head
LeandroRoberto 8 years ago
parent
commit
b6b9e2ac16
  1. 4
      sapl/test_urls.py

4
sapl/test_urls.py

@ -209,7 +209,7 @@ apps_url_patterns_prefixs_and_users = {
'operador_protocoloadm': ['/protocoloadm']}, 'operador_protocoloadm': ['/protocoloadm']},
'prefixs': [ 'prefixs': [
'/protocoloadm', '/protocoloadm',
'/docadm' '/docadm',
'/sistema' '/sistema'
]}, ]},
'relatorios': { 'relatorios': {
@ -317,7 +317,7 @@ urls_publicas_excecoes = {
] ]
} }
@pytest.mark.django_db(transaction=False)
@pytest.mark.parametrize('url_item', _lista_urls) @pytest.mark.parametrize('url_item', _lista_urls)
def test_permissions_urls_for_users_by_apps(url_item, client): def test_permissions_urls_for_users_by_apps(url_item, client):
key, url, var, app_name = url_item key, url, var, app_name = url_item

Loading…
Cancel
Save