Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][FIX] l10n_br_cnpj_search: fix response assignment error in tests #3312

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion l10n_br_cnpj_search/wizard/partner_cnpj_search_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
headers=webservice.get_headers(),
timeout=5,
)
except response.exceptions.Timeout:
corredato marked this conversation as resolved.
Show resolved Hide resolved
except requests.exceptions.Timeout:

Check warning on line 76 in l10n_br_cnpj_search/wizard/partner_cnpj_search_wizard.py

View check run for this annotation

Codecov / codecov/patch

l10n_br_cnpj_search/wizard/partner_cnpj_search_wizard.py#L76

Added line #L76 was not covered by tests
_logger.debug("Request timed out!")
data = webservice.validate(response)
values = webservice.import_data(data)
Expand Down
Loading