Closed
Description
Right now we unit test the CLI and mock out the rest of the planet library. Because we do not perform integration tests with the CLI, we miss errors that occur when the CLI passes unexpected arguments to the library. We could catch these bugs with integration tests that incorporate the CLI. Since the CLI is a thin wrapper around the API, it isn't much of a win to test the CLI alone with unit tests. Therefore, move to integration tests where we don't mock out the rest of the python API but mock the servers.