Skip to content
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

Add a key API to mock_cloud #58

Open
timothyfroehlich opened this issue May 2, 2019 · 0 comments
Open

Add a key API to mock_cloud #58

timothyfroehlich opened this issue May 2, 2019 · 0 comments

Comments

@timothyfroehlich
Copy link

https://github.com/iotile/python_iotile_cloud/blob/master/iotile_cloud/utils/mock_cloud.py#L109

Specifically, I'd like to run a unit test that exercises this code:

            archtool = archbuild.arch.ArchTools()
            try:
                archtool.set_key(self._uuid, "SSH", password, True)
            except ExternalError:
                raise ExternalError("Setting password in cloud failed",
                                    suggestion="Get admin to delete old password or use set_password to pass the old password")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant