mirror of
https://github.com/rclone/rclone.git
synced 2025-01-23 06:01:45 +08:00
24 lines
554 B
Go
24 lines
554 B
Go
// 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"},
|
|
},
|
|
})
|
|
}
|