snapd
snapd copied to clipboard
overlord, gadget: add unit tests for install handlers
PR updated now. @pedronis I have not addressed the useEncryption true case of doInstallFinish, as it requires quite a bit of additional mocking and this PR is long enough. I prefer do that as a follow-up it that's fine (note that there was already a TODO in line 191 of devicestate_install_api_test.go.
I have cleaned-up history and rebased to master now