Skip to content

Conversation

@attila-papai
Copy link
Contributor

@attila-papai attila-papai commented Aug 17, 2023

Until we agree on the strategy regarding global key sanitization and validation in ADV, I fix this single failing test case to unblock further UAT. Follow up ticket: https://labelbox.atlassian.net/browse/AL-6929

@attila-papai attila-papai requested review from a team, kopreschko and mnoszczak August 17, 2023 11:28
@attila-papai attila-papai changed the title assert adv global key errors separately [AL-6740] assert adv global key errors separately Aug 17, 2023
if is_adv_enabled:
assert res['status'] == 'PARTIAL SUCCESS'
assert len(res['results']) == 2
assert len(res['errors']) == 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious why adv has 1 error vs 'legacy' 3

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

due to a different global key sanitization logic implemented in ADV, but this PR is only to make the test green to enable UAT
in a follow up PR we will adjust the sanitization logic in ADV and alter these tests once again

@attila-papai attila-papai requested a review from vbrodsky August 17, 2023 19:22
@attila-papai attila-papai merged commit 20710d6 into develop Aug 18, 2023
@attila-papai attila-papai deleted the attila/AL-6740-adv-gk-assert branch August 18, 2023 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants