def _getNetworkDataNoCli(self, config): networkMessages = [{ 'data': 'msg 1 srv', 'from': 'srv', 'index': 0, }] networkData = NetworkData(config, networkMessages) return networkData
def _getNetworkData(self, config): networkMessages = [{ 'data': 'msg 1 cli', 'from': 'cli', 'index': 0, }, { 'data': 'msg 2 srv', 'from': 'srv', 'index': 1, }] networkData = NetworkData(config, networkMessages) return networkData
def _getNetworkData(self, config): networkMessages = [ { 'data': 'msg 1 cli test1', 'from': 'cli', 'index': 0, }, { 'data': 'msg 1 cli test1 test2 test2', 'from': 'cli', 'index': 1, }, ] networkData = NetworkData(config, networkMessages) return networkData