mirror of
https://github.com/rclone/rclone.git
synced 2024-12-11 17:51:12 +01:00
0fa700b3cf
* Removed generated code and code generator * Updated docs on how to write integration tests * Tidied up the actual integration tests
18 lines
346 B
Go
18 lines
346 B
Go
// Test FTP filesystem interface
|
|
package ftp_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/ncw/rclone/backend/ftp"
|
|
"github.com/ncw/rclone/fstest/fstests"
|
|
)
|
|
|
|
// TestIntegration runs integration tests against the remote
|
|
func TestIntegration(t *testing.T) {
|
|
fstests.Run(t, &fstests.Opt{
|
|
RemoteName: "TestFTP:",
|
|
NilObject: (*ftp.Object)(nil),
|
|
})
|
|
}
|