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
o/devicestate: preseeding test cleanup #11398
Conversation
stolowski
commented
Feb 16, 2022
- pass "classic" flag to deviceMgrBaseSuite to allow creating device manager with mocked classic/core upfront. This doesn't prevent tests from overriding MockOnClassic later in the test but is important in case DeviceManager needs to know if it's on classic early in its init (important for core20/preseeding tests).
- drop TestPreseedHappy which was pointless/misleading as it was actually run against core; TestPreseedOnClassicHappy covers real case.
- renamed test suites from preseed* to preseeding*
- some minor cleanups and sanity checks for classic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you, two small remarks
Codecov Report
@@ Coverage Diff @@
## master #11398 +/- ##
=======================================
Coverage 78.38% 78.38%
=======================================
Files 931 931
Lines 106738 106738
=======================================
+ Hits 83664 83667 +3
+ Misses 17870 17868 -2
+ Partials 5204 5203 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|