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

tmt tests export --nitrate --create wrongly updates fmf metadata #635

Open
sopos opened this issue Mar 12, 2021 · 2 comments
Open

tmt tests export --nitrate --create wrongly updates fmf metadata #635

sopos opened this issue Mar 12, 2021 · 2 comments
Labels
command | export The export command plugin | nitrate The nitrate plugin used for test import and export

Comments

@sopos
Copy link

sopos commented Mar 12, 2021

In case there are multiple TCs in the main.fmf and one calls tmt tests export --nitrate --create the cases are correctly created in the nitrate but the extra-nitrate attribute is simply appended [1] to the mail.fmf instead of inserting to the correct place [2] in the yaml structure.

  1. RedHat-SP-Security/tests@0fceced#diff-2f6abfc6e307462c5f450f70d83f34296b59a169272ad3de2d472f9e05aeafe7R42
  2. RedHat-SP-Security/tests@95c5026#diff-2f6abfc6e307462c5f450f70d83f34296b59a169272ad3de2d472f9e05aeafe7R28
@lukaszachy
Copy link
Collaborator

Known issue :/ #238 (comment)
However expect fix soon with #523

@lukaszachy
Copy link
Collaborator

Just a note - #523 will also fix breakage when fmf file doesn't end with newline.

@lukaszachy lukaszachy added command | export The export command plugin | nitrate The nitrate plugin used for test import and export labels Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command | export The export command plugin | nitrate The nitrate plugin used for test import and export
Projects
None yet
Development

No branches or pull requests

2 participants