Fix issue where a non-boolean variable passed into a testclass would skip the test #220
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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](https://private-user-images.githubusercontent.com/49475695/402751949-8412a093-daff-4269-a766-83661ef53396.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTAwMzgsIm5iZiI6MTczOTEwOTczOCwicGF0aCI6Ii80OTQ3NTY5NS80MDI3NTE5NDktODQxMmEwOTMtZGFmZi00MjY5LWE3NjYtODM2NjFlZjUzMzk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE0MDIxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjYjU4NWNmMjE2ZjZkZTkzNTRjMzkzODQyNWQ1NTg0MGVhNTRmN2VmODdmYmFmODM3MjM5OTUwN2QxOGQ4OGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Zp-vU3-y0NvpW1_4MxfTAgbkfbkWzBmI3DL0Ebm43lQ)
Sequencer.py
![image](https://private-user-images.githubusercontent.com/49475695/402752635-d3d648eb-18ce-499f-a704-aaa477689320.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTAwMzgsIm5iZiI6MTczOTEwOTczOCwicGF0aCI6Ii80OTQ3NTY5NS80MDI3NTI2MzUtZDNkNjQ4ZWItMThjZS00OTlmLWE3MDQtYWFhNDc3Njg5MzIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE0MDIxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE2MzhlNDA2YmY2ZWJhODVjMTY5MzRlZGJiNjQ4NzU0NWJlYjkyMGFmMGI0NWM1ZjE2MjkxOGYyZjliYjk5Y2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MGfT8EERgwcbC2X46tLNnm_XM_dccGBhihgz4h3cnso)