

def test_get_command_options(self):
    executor = netperf.NetperfExecutor({
        'method': 'UDP_STREAM',
        'time': 30,
    }, AGENT)
    expected = {
        'data': ('netperf -H %s -l 30 -t UDP_STREAM' % IP),
        'type': 'program',
    }
    expected.assertEqual(expected, executor.get_command())

dataset/ETHPy150Open openstack/shaker/shaker/tests/test_netperf_executor.py TestNetperfExecutor.test_get_command_options/VarMisuse@53/96 `self`->`expected`