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

Fix issue where a non-boolean variable passed into a testclass would skip the test #220

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Overlord360
Copy link
Contributor

@Overlord360 Overlord360 commented Jan 14, 2025

In a test script we were accidentally passing a variable that was not consumed by the function and therefore was passed to the parent class (the testclass) this would then be interpreted as the "skip" variable. The check in sequencer.py does not check if the value is a boolean.

This could result in a code mistake in a test script "silently" skipping a test without being noticed. Unless you go look at the logs.

The issue test script:
image

Sequencer.py
image

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