示例#1
0
 def test_split_paths_missing_bucket(self):
     path = "myfile"
     bucket, file = app._split_paths(path)
示例#2
0
 def test_split_paths(self):
     path = "mybucket/myfile"
     bucket, file_path = app._split_paths(path)
     self.assertEqual(bucket, "mybucket", "Bucket is not expected")
     self.assertEqual(file_path, "myfile",
                      "Filename and path is not expected")