Skip to content

Commit

Permalink
Corrigindo teste.
Browse files Browse the repository at this point in the history
  • Loading branch information
allisson committed Jan 13, 2016
1 parent 592d066 commit e0e7cee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from unittest import TestCase, skip
from unittest import TestCase
from datetime import datetime
import pytest
import mock
Expand Down Expand Up @@ -130,7 +130,7 @@ def test_autorizar_com_rejeicao(self):
transacao.pan, 'IqVz7P9zaIgTYdU41HaW/OB/d7Idwttqwb2vaTt8MT0='
)
self.assertEqual(
transacao.autorizacao.mensagem, 'Autoriza\xc3\xa7\xc3\xa3o negada'
transacao.autorizacao.mensagem, 'Autorização negada'
)

@mock.patch('requests.post', capturar_mocked_response)
Expand Down
2 changes: 1 addition & 1 deletion tests/xml9.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="utf-8"?>
<transacao versao="1.2.1" id="f513f87e-9db2-43d5-95bc-dda0b1a25d2b" xmlns="http://ecommerce.cbmp.com.br">
<tid>100699306900050E36EA</tid>
<pan>IqVz7P9zaIgTYdU41HaW/OB/d7Idwttqwb2vaTt8MT0=</pan>
Expand Down

0 comments on commit e0e7cee

Please sign in to comment.