def test_hdfs_filesystem_addition(self): test_option_val = 'hdfs' actual_command = [] beam_benchmark_helper.AddFilesystemArgument(actual_command, test_option_val) self.assertListEqual(['-Dfilesystem=hdfs'], actual_command)
def test_empty_filesystem(self): test_option_val = '' actual_command = [] beam_benchmark_helper.AddFilesystemArgument(actual_command, test_option_val) self.assertListEqual([], actual_command)
def test_hdfs_filesystem_addition(self): testOptionVal = "hdfs" actual_command = [] beam_benchmark_helper.AddFilesystemArgument(actual_command, testOptionVal) self.assertListEqual(["-Dfilesystem=hdfs"], actual_command)