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:
parent
43eadf278c
commit
e6a0521ca2
15 changed files with 99 additions and 30 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
"github.com/ncw/rclone/swift"
|
||||
)
|
||||
|
||||
func init() {
|
||||
func TestSetup(t *testing.T) {
|
||||
fstests.NilObject = fs.Object((*swift.Object)(nil))
|
||||
fstests.RemoteName = "TestSwift:"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue