2022-02-21 17:57:27 +00:00
|
|
|
package container_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2022-12-09 11:16:24 +00:00
|
|
|
"github.com/TrueCloudLab/frostfs-api-go/v2/container"
|
|
|
|
statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test"
|
2022-02-21 17:57:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestStatusCodes(t *testing.T) {
|
|
|
|
statustest.TestCodes(t, container.LocalizeFailStatus, container.GlobalizeFail,
|
|
|
|
container.StatusNotFound, 3072,
|
2022-08-01 14:15:59 +00:00
|
|
|
container.StatusEACLNotFound, 3073,
|
2022-02-21 17:57:27 +00:00
|
|
|
)
|
|
|
|
}
|