def monkeypatch_stitch( source_resources, destination_resource, labels=None, tags=None, description=None ): file_resource = File( name="test_file.txt", type="file", tags=tags, description=description ) file_resource.folder = "/folder1/folder2" return file_resource, "123456"
def monkeypatch_create_file(tags=None, description=None, path=None): file_resource = File( name="test_file.txt", type="file", tags=tags, description=description ) file_resource.folder = "/folder1/folder2" return file_resource