mirror of
https://github.com/rclone/rclone.git
synced 2024-12-01 13:04:21 +08:00
3b3625037c
Some checks are pending
Docker beta build / Build image job (push) Waiting to run
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
|
|
})
|
|
}
|