0fa700b3cf
* Removed generated code and code generator * Updated docs on how to write integration tests * Tidied up the actual integration tests
20 lines
376 B
Go
20 lines
376 B
Go
// Test Sftp filesystem interface
|
|
|
|
// +build !plan9,go1.8
|
|
|
|
package sftp_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/ncw/rclone/backend/sftp"
|
|
"github.com/ncw/rclone/fstest/fstests"
|
|
)
|
|
|
|
// TestIntegration runs integration tests against the remote
|
|
func TestIntegration(t *testing.T) {
|
|
fstests.Run(t, &fstests.Opt{
|
|
RemoteName: "TestSftp:",
|
|
NilObject: (*sftp.Object)(nil),
|
|
})
|
|
}
|