Skip to content

Commit

Permalink
Add tests for custom relationships in the br_camara_dados_abertos vot…
Browse files Browse the repository at this point in the history
…acao_proposicao
  • Loading branch information
tricktx committed May 14, 2024
1 parent 83eb334 commit 81939c9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion models/br_camara_dados_abertos/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ models:
description: Descrição sobre a votação
- name: id_proposicao
description: ID proposição
tests:
- custom_relationships:
to: ref('br_camara_dados_abertos__proposicao_microdados')
field: id_proposicao
ignore_values: ['33463', '130292', '42069']
proportion_allowed_failures: 0
- name: ano_proposicao
description: Ano da proposição
tests:
Expand Down Expand Up @@ -1271,4 +1277,4 @@ models:
- name: valor_restituicao
description: Valor que o parlamentar devolveu à Câmara
- name: url_documento
description: URL do documento
description: URL do documento

0 comments on commit 81939c9

Please sign in to comment.