-
Notifications
You must be signed in to change notification settings - Fork 186
Refactor tests for stream writers into smaller files #826
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
Refactor tests for stream writers into smaller files #826
Conversation
tests/component/stream_writers/test_analog_multi_channel_writer.py
Outdated
Show resolved
Hide resolved
Test Results 38 files ± 0 38 suites ±0 1h 2m 55s ⏱️ +5s Results for commit fd596ac. ± Comparison against base commit 43fad37. This pull request removes 94 and adds 86 tests. Note that renamed tests count towards both.
This pull request removes 86 skipped tests and adds 86 skipped tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Something weird is going on with the CI linter. It's reporting lots of errors that don't make sense. The first one is this:
but line 227 of tests/component/stream_readers/test_analog_multi_channel_reader.py is this:
and What's going on here? And how might I fix it? |
The build checked out this ref, which looks wrong...
The build 18 hours ago said...
deb610f is your commit from like an hour ago, so that last comment indicates it reran it and its fine? This isn't helpful, probably. I'm confused, too :) |
You added new test cases in #819 There are no merge conflicts, but the new test cases use variables that you have renamed. I would rebase this branch on top of origin/master and update the variable names. |
I've updated CHANGELOG.md if applicable.I've added tests applicable for this pull requestWhat does this Pull Request accomplish?
Along the same lines as my other PR #817, this splits up large test files into smaller more manageable test files. It also moves common helper functions into a conftest.py.
Why should this Pull Request be merged?
This should make reviewing future changes easier.
What testing has been done?
All the tests pass. Note that the writer tests require real hardware, which my machine now has: