Make it possible to test Fs multiple times and use this with crypt
We test both the filename encryption modes for crypt.
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/ncw/rclone/yandex"
|
||||
)
|
||||
|
||||
func init() {
|
||||
func TestSetup(t *testing.T) {
|
||||
fstests.NilObject = fs.Object((*yandex.Object)(nil))
|
||||
fstests.RemoteName = "TestYandex:"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user