mirror of
https://github.com/rclone/rclone
synced 2024-11-25 02:47:14 +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
|
|
})
|
|
}
|