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

585: add test for allowed duplicate choices with translations #682

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

lindsay-stevens
Copy link
Contributor

Closes #585

Prior to always generating secondary instances, this scenario would have not output the duplicate choices, even if allowed. Now, itext are identified by choice position so it's not a problem. This test adds to the existing suite by using translations with the duplicates.

Why is this the best possible solution? Were any other approaches considered?

Since no code changes are needed, this test is just to improve coverage and verify the fix.

What are the regression risks?

None

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No

Before submitting this PR, please make sure you have:

  • included test cases for core behavior and edge cases in tests
  • run nosetests and verified all tests pass
  • run black pyxform tests to format code
  • verified that any code or assets from external sources are properly credited in comments

- prior to always generating secondary instances, this scenario would
  have not output the duplicate choices, even if allowed. Now, itext
  are identified by choice position so it's not a problem. This test
  adds to the existing suite by using translations with the duplicates.
Copy link
Contributor

@lognaturel lognaturel left a comment

Choose a reason for hiding this comment

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

Nice Korean!

@lognaturel lognaturel merged commit f8d9330 into XLSForm:master Jan 10, 2024
10 checks passed
@lindsay-stevens lindsay-stevens deleted the pyxform-585 branch January 10, 2024 17:47
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.

itext identifiers prevent duplicate choices from displaying distinct labels
2 participants