Closed JonasVerhofste closed 6 years ago
Merging #674 into master will increase coverage by
0.02%
. The diff coverage is83.87%
.
@@ Coverage Diff @@
## master #674 +/- ##
==========================================
+ Coverage 78.43% 78.46% +0.02%
==========================================
Files 34 34
Lines 2611 2637 +26
==========================================
+ Hits 2048 2069 +21
- Misses 563 568 +5
I don't really get why the codecoverage-check fails. Is it because I reuse the reboot-code?
Codecov complains that some new code was added w/o tests, that decreased coverage. Please add unit or system tests.
I'm not sure how to write unit tests for the deletion-functions, seeing as changing the states of the plugins from installed
to deleted
is not as easy as mocking _poll.return_value
. The internal checks of Plugins.__delitem__
prevent you from setting one single return value. @lechat any idea's?
@lechat
Usual thing with pylint - it constantly invents new rules to check against. I will disable that rule.
Add methods to delete plugins and add the restart-function to all plugin-methods. Not sure if I still have to write tests for these methods.