frostfs-api-go/session/status_test.go
Evgenii Stratonikov 1351b6656d Move to frostfs-api
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2022-12-12 17:40:48 +03:00

15 lines
358 B
Go

package session_test
import (
"testing"
"github.com/TrueCloudLab/frostfs-api-go/v2/session"
statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test"
)
func TestStatusCodes(t *testing.T) {
statustest.TestCodes(t, session.LocalizeFailStatus, session.GlobalizeFail,
session.StatusTokenNotFound, 4096,
session.StatusTokenExpired, 4097,
)
}