Skip to content

panlint: Unittest fixes#267

Merged
wpoely86 merged 8 commits intoquattor:mainfrom
jrha:unittests
Jan 23, 2025
Merged

panlint: Unittest fixes#267
wpoely86 merged 8 commits intoquattor:mainfrom
jrha:unittests

Conversation

@jrha
Copy link
Member

@jrha jrha commented Dec 10, 2024

Based on #266.

@jrha jrha added the panlint label Dec 10, 2024
@jrha jrha added this to the 10.8 milestone Dec 12, 2024
@jrha jrha force-pushed the unittests branch 2 times, most recently from 39dfb8a to 4422ec4 Compare December 16, 2024 11:49
jrha added 8 commits December 16, 2024 11:49
- Fix global variable names in Pan snippets
- Use a similar dict structure to the good tests for the bad tests
- Test behaviour around negative numbers
- Test all operators at least once
- Use _assert_lint_line consistently
- Don't use variables where they aren't needed
- Use _assert_lint_line throughout
@jrha jrha marked this pull request as ready for review December 16, 2024 11:49
@jrha
Copy link
Member Author

jrha commented Jan 22, 2025

@wpoely86 would you be able to have a look at this?

@wpoely86 wpoely86 merged commit 87ee9ba into quattor:main Jan 23, 2025
@jrha jrha deleted the unittests branch January 23, 2025 10:01
@jrha
Copy link
Member Author

jrha commented Jan 23, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants