Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_admin: remove MockCLI class in favor of Python mock library
Use mock.patch and mock.patch.object to patch the CLI methods associated with the admin subcommands Use mock asserts to confirm the right arguments are being passed to popen, call, err and out
- Loading branch information