iotile / iotile/python_iotile_cloud

Add a key API to mock_cloud

Offen
#58 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
3
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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")
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.