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

Sandbox for Defect 7743 #107

Open
wants to merge 7 commits into
base: next
Choose a base branch
from
Open

Sandbox for Defect 7743 #107

wants to merge 7 commits into from

Conversation

jmborr
Copy link
Member

@jmborr jmborr commented Oct 25, 2024

Description of work:

Check all that apply:

  • added release notes
    (if not, provide an explanation in the work description)
  • updated documentation
  • Source added/refactored
  • Added unit tests
  • Added integration tests
  • Verified that tests requiring the /SNS and /HFIR filesystems pass without fail

References:

  • Links to IBM EWM items:
  • Links to related issues or pull requests:

Manual test for the reviewer

(instructions to set up the environment)

Check list for the reviewer

  • release notes updated,
    or an explanation is provided as to why release notes are unnecessary
  • best software practices
    • clearly named variables (better to be verbose in variable names)
    • code comments explaining the intent of code blocks
  • All the tests are passing
  • The documentation is up to date
  • code comments added when explaining intent

Remove the skip marker from the 'test_missing_cross_section' test, enabling it to run. Added a cleanup step to delete 'main_window' at the end of the test to ensure proper resource deallocation.

Signed-off-by: Jose Borreguero <[email protected]>
@jmborr jmborr self-assigned this Oct 25, 2024
Corrected the spacing in the skip comment decorator for clarity. Ensured proper syntax to maintain clean coding standards and improve readability in the CI pipeline.

Signed-off-by: Jose Borreguero <[email protected]>
Ensure UI updates are processed during the test execution. This change is necessary for the QApplication to handle pending events, which ensures the test reflects accurate UI behavior.

Signed-off-by: Jose Borreguero <[email protected]>
Removed an unnecessary reflectivity threshold assertion and redundant temporary variables from the test_missing_cross_section.py file. Streamlined the test to check intensity changes directly and cleaned up the code by removing unused QApplication process events calls.

Signed-off-by: Jose Borreguero <[email protected]>
Introduce debug print statements to log the reflectivity threshold value and individual test values. This will help in diagnosing potential issues with the reflectivity checks during test execution.

Signed-off-by: Jose Borreguero <[email protected]>
Re-enable the previously commented-out assertion that checks if all test values are below the reflectivity threshold. This ensures the test suite correctly verifies the reflectivity criteria.

Signed-off-by: Jose Borreguero <[email protected]>
Replaced the debug prints for the `test` variable with detailed prints for `data_y` values in the reflectivity curve check. This ensures that we are logging the correct data for debugging and improves clarity in the reflectivity verification process.

Signed-off-by: Jose Borreguero <[email protected]>
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.

1 participant