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'}
        self.assertEqual(expected, executor.get_command())
dataset/ETHPy150Open openstack/shaker/shaker/tests/test_netperf_executor.py/TestNetperfExecutor.test_get_command_options/operator `%` -> `*`