2022-02-21 17:57:27 +00:00
|
|
|
package container_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/nspcc-dev/neofs-api-go/v2/container"
|
|
|
|
statustest "github.com/nspcc-dev/neofs-api-go/v2/status/test"
|
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
)
|
|
|
|
}
|