def test_create_raise_exception_if_id_not_from_same_instance(self):
        command = Command('instance')
        ConfigBuilder.add_command('instance', command)

        self.validate_snapshot = False
        with pytest.raises(Exception) as excinfo:
            self.create_instance()
Exemplo n.º 2
0
 def __init__(self, id: str):
     Command.__init__(self, id)