mirror of
https://github.com/rclone/rclone.git
synced 2024-12-11 09:41:47 +01:00
3b3625037c
This commit adds support for pixeldrain's experimental filesystem API.
19 lines
469 B
Go
19 lines
469 B
Go
// Test pixeldrain filesystem interface
|
|
package pixeldrain_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/rclone/rclone/backend/pixeldrain"
|
|
"github.com/rclone/rclone/fstest/fstests"
|
|
)
|
|
|
|
// TestIntegration runs integration tests against the remote
|
|
func TestIntegration(t *testing.T) {
|
|
fstests.Run(t, &fstests.Opt{
|
|
RemoteName: "TestPixeldrain:",
|
|
NilObject: (*pixeldrain.Object)(nil),
|
|
SkipInvalidUTF8: true, // Pixeldrain throws an error on invalid utf-8
|
|
})
|
|
}
|