(self)
| 187 | self.assertTrue(os.path.isfile(dest)) |
| 188 | |
| 189 | def test_auth(self): |
| 190 | # key for test account |
| 191 | key = os.getenv('ALGORITHMIA_API_KEY') |
| 192 | api_address = "https://api.algorithmia.com" |
| 193 | profile = 'default' |
| 194 | CLI().auth(api_address, key, profile=profile) |
| 195 | resultK = CLI().getAPIkey(profile) |
| 196 | resultA = CLI().getAPIaddress(profile) |
| 197 | self.assertEqual(resultK, key) |
| 198 | self.assertEqual(resultA, api_address) |
| 199 | |
| 200 | def test_auth_cert(self): |
| 201 |
nothing calls this directly
no test coverage detected