def create_deluge_config_mock(): config_mock = Mock() config_mock.FIELDS = ["username", "password", "port", "ip"] config_mock.username = "******" config_mock.password = "******" config_mock.port = "8888" config_mock.ip = "deluge_service_host_mock" return config_mock
def create_syno_config_mock(): """Mock of the class""" config_mock = Mock() config_mock.FIELDS = ["username", "password", "port", "ip"] config_mock.username = "******" config_mock.password = "******" config_mock.port = "9999" config_mock.ip = "host_mock" return config_mock