def test_unknown_instance(self):
        self.cfg_manager = ConfigurationManager()
        self.cfg_manager._set_value("archimedes_instances", {"first": "http://localhost:8000", "second": "http://localhost:8001"})
        self.experiment = Archimedes(None, None, self.cfg_manager)
        start = self.experiment.do_start_experiment("{}", "{}")

        up_resp = self.experiment.do_send_command_to_device("UP")
        assert up_resp.startswith("ERROR:")

        up_resp = self.experiment.do_send_command_to_device("default:UP")
        assert up_resp.startswith("ERROR:")
Check that it replies an error if the instance isn't in the config.
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/test/unit/experiments/archimedes/test_archimedes.py/TestArchimedes.test_unknown_instance