diff --git a/materia/tests/test_materia.py b/materia/tests/test_materia.py index db6807f5d..b4157f6d7 100644 --- a/materia/tests/test_materia.py +++ b/materia/tests/test_materia.py @@ -205,7 +205,7 @@ def test_documento_acessorio_submit(client): descricao='Teste') # Testa POST - response = client.post(reverse('materia:documento_acessorio', + response = client.post(reverse('materia:documentoacessorio_create', kwargs={'pk': materia_principal.pk}), {'tipo': tipo.pk, 'nome': 'teste_nome', @@ -331,7 +331,7 @@ def test_form_errors_despacho_inicial(client): def test_form_errors_documento_acessorio(client): materia_principal = make_materia_principal() - response = client.post(reverse('materia:documento_acessorio', + response = client.post(reverse('materia:documentoacessorio_create', kwargs={'pk': materia_principal.pk}), {'salvar': 'salvar'}, follow=True)