cloudinary: add cloudinary backend - fixes #7989

This commit is contained in:
yuval-cloudinary 2024-09-04 14:37:54 +03:00 committed by Nick Craig-Wood
parent 5151a663f0
commit 7e4b8e33f5
13 changed files with 1036 additions and 1 deletions

View file

@ -0,0 +1,23 @@
// Test Cloudinary filesystem interface
package cloudinary_test
import (
"testing"
"github.com/rclone/rclone/backend/cloudinary"
"github.com/rclone/rclone/fstest/fstests"
)
// TestIntegration runs integration tests against the remote
func TestIntegration(t *testing.T) {
name := "TestCloudinary"
fstests.Run(t, &fstests.Opt{
RemoteName: name + ":",
NilObject: (*cloudinary.Object)(nil),
SkipInvalidUTF8: true,
ExtraConfig: []fstests.ExtraConfigItem{
{Name: name, Key: "eventually_consistent_delay", Value: "7"},
},
})
}