

def test_get_command_static_host(self):
    executor = netperf.NetperfExecutor({
        'method': 'UDP_STREAM',
        'host': '10.0.0.20',
        'time': 30,
    }, {
        
    })
    expected = {
        'data': 'netperf -H 10.0.0.20 -l 30 -t UDP_STREAM',
        'type': 'program',
    }
    self.assertEqual(expected, executor.get_command())

dataset/ETHPy150Open openstack/shaker/shaker/tests/test_netperf_executor.py TestNetperfExecutor.test_get_command_static_host/original