Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Atualiza teste de busca_cliente
Browse files Browse the repository at this point in the history
  • Loading branch information
mstuttgart committed Oct 9, 2019
1 parent 461b11e commit e5b0925
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ def test_busca_client(self):
# Realizamos a busca pelo clinte
res = cliente.busca_cliente(id_contrato='9992157880', id_cartao_postagem='0067599079')

self.assertEqual(res.cnpj, '34028316000103 ')
self.assertEqual(res.contratos[0].cartoesPostagem[0].codigoAdministrativo, '17000190 ')
self.assertEqual(res.contratos[0].cartoesPostagem[0].numero, '0067599079')
self.assertEqual(res.contratos[0].cartoesPostagem[0].servicos[0].codigo, '40215 ')
self.assertEqual(res.contratos[0].cartoesPostagem[0].servicos[0].id, 104707)
self.assertEqual(res.contratos[0].codigoDiretoria, ' 10')
self.assertEqual(res['cnpj'], '34028316000103 ')
self.assertEqual(res['contratos'][0]['cartoesPostagem'][0]['codigoAdministrativo'], '17000190 ')
self.assertEqual(res['contratos'][0]['cartoesPostagem'][0]['numero'], '0067599079')
self.assertEqual(res['contratos'][0]['cartoesPostagem'][0]['servicos'][0]['codigo'], '40215 ')
self.assertEqual(res['contratos'][0]['cartoesPostagem'][0]['servicos'][0]['id'], 104707)
self.assertEqual(res['contratos'][0]['codigoDiretoria'], ' 10')

@mock.patch('zeep.Client')
def test_get_status_cartao_postagem(self, mk):
Expand Down

0 comments on commit e5b0925

Please sign in to comment.