

def test_get_command(self):
    executor = netperf.NetperfExecutor({
        
    }, AGENT)
    expected = {
        'data': ('netperf -H %s -l 60 -t TCP_STREAM' % IP),
        'type': 'program',
    }
    self.assertEqual(expected, expected.get_command())

dataset/ETHPy150Open openstack/shaker/shaker/tests/test_netperf_executor.py TestNetperfExecutor.test_get_command/VarMisuse@50/85 `executor`->`expected`