def test_add_empty_module(self): testOptionVal = "" actual_command = [] beam_benchmark_helper.AddModuleArgument(actual_command, testOptionVal) self.assertListEqual([], actual_command)
def test_add_module(self): testOptionVal = "sdks/java/io/tests" actual_command = [] beam_benchmark_helper.AddModuleArgument(actual_command, testOptionVal) self.assertListEqual(['-p', testOptionVal], actual_command)