rclone/backend/sftp/sftp_test.go
Nick Craig-Wood 0fa700b3cf Make integration tests use go1.7+ nested tests #2154
* Removed generated code and code generator
  * Updated docs on how to write integration tests
  * Tidied up the actual integration tests
2018-04-08 15:04:14 +01:00

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),
})
}