Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 def test_empty_filesystem(self):
     test_option_val = ''
     actual_command = []
     beam_benchmark_helper.AddFilesystemArgument(actual_command,
                                                 test_option_val)
     self.assertListEqual([], actual_command)
Exemplo n.º 3
0
 def test_hdfs_filesystem_addition(self):
     testOptionVal = "hdfs"
     actual_command = []
     beam_benchmark_helper.AddFilesystemArgument(actual_command,
                                                 testOptionVal)
     self.assertListEqual(["-Dfilesystem=hdfs"], actual_command)