mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:23:48 +08:00
aac84c554a
change tier on objects. Added internal test to check if feature flags are set correctly
21 lines
415 B
Go
21 lines
415 B
Go
// +build !freebsd,!netbsd,!openbsd,!plan9,!solaris,go1.8
|
|
|
|
package azureblob
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func (f *Fs) InternalTest(t *testing.T) {
|
|
// Check first feature flags are set on this
|
|
// remote
|
|
enabled := f.Features().ListTiers
|
|
assert.True(t, enabled)
|
|
enabled = f.Features().SetTier
|
|
assert.True(t, enabled)
|
|
enabled = f.Features().GetTier
|
|
assert.True(t, enabled)
|
|
}
|