mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 02:09:55 +08:00
22 lines
483 B
Go
22 lines
483 B
Go
// Test Uptobox filesystem interface
|
|
package uptobox_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/rclone/rclone/backend/uptobox"
|
|
"github.com/rclone/rclone/fstest"
|
|
"github.com/rclone/rclone/fstest/fstests"
|
|
)
|
|
|
|
// TestIntegration runs integration tests against the remote
|
|
func TestIntegration(t *testing.T) {
|
|
if *fstest.RemoteName == "" {
|
|
*fstest.RemoteName = "TestUptobox:"
|
|
}
|
|
fstests.Run(t, &fstests.Opt{
|
|
RemoteName: *fstest.RemoteName,
|
|
NilObject: (*uptobox.Object)(nil),
|
|
})
|
|
}
|