fix address

This commit is contained in:
2025-07-15 20:26:42 -03:00
parent 5c80502715
commit 893dabe24b
3 changed files with 23 additions and 12 deletions

View File

@@ -93,9 +93,9 @@ def test_post_address(
raw_path='/orgs/cJtK9SsnJhKPyxESe7g3DG/address',
method=HTTPMethod.POST,
body={
'postcode': '81280350',
'address1': 'Rua Monsenhor Ivo Zanlorenzi, 5190',
'address2': 'ap 1802',
'postcode': '81280-350',
'address1': 'Rua Monsenhor Ivo Zanlorenzi, 5190 ',
'address2': ' ap 1802',
'neighborhood': 'Cidade Industrial',
'city': 'Curitiba',
'state': 'PR',
@@ -109,3 +109,4 @@ def test_post_address(
KeyPair('cJtK9SsnJhKPyxESe7g3DG', 'metadata#address')
)
assert data['address1'] == 'Rua Monsenhor Ivo Zanlorenzi, 5190'
assert data['postcode'] == '81280350'