1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

union: fix so all integration tests pass

* Fix error handling in List and NewObject
* Fix Precision in case we have precision > time.Second
* Fix Features - all binary features are possible
* Fix integration tests using new test facilities
This commit is contained in:
Nick Craig-Wood
2018-09-03 18:00:23 +01:00
parent e05ec2b77e
commit 1b2cc781e5
2 changed files with 29 additions and 12 deletions

View File

@@ -4,14 +4,15 @@ package union_test
import (
"testing"
"github.com/ncw/rclone/backend/local"
_ "github.com/ncw/rclone/backend/local"
"github.com/ncw/rclone/fstest/fstests"
)
// TestIntegration runs integration tests against the remote
func TestIntegration(t *testing.T) {
fstests.Run(t, &fstests.Opt{
RemoteName: "TestUnion:",
NilObject: (*local.Object)(nil),
RemoteName: "TestUnion:",
NilObject: nil,
SkipFsMatch: true,
})
}