def test_import_key_file(self):
     key = libcloud_compute.import_key_pair("test_key",
                                            "/path/to/key",
                                            "test",
                                            key_type="FILE")
     self._validate_key_pair(key)
Exemplo n.º 2
0
 def test_import_key_file(self):
     key = libcloud_compute.import_key_pair('test_key',
                                            '/path/to/key',
                                            'test',
                                            key_type='FILE')
     self._validate_key_pair(key)
 def test_import_key_string(self):
     key = libcloud_compute.import_key_pair("test_key", "test_key_value",
                                            "test")
     self._validate_key_pair(key)
Exemplo n.º 4
0
 def test_import_key_string(self):
     key = libcloud_compute.import_key_pair('test_key', 'test_key_value',
                                            'test')
     self._validate_key_pair(key)