forked from TrueCloudLab/frostfs-api-go
Alex Vanin
f69d2ad83c
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
15 lines
370 B
Go
15 lines
370 B
Go
package session_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session"
|
|
statustest "git.frostfs.info/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,
|
|
)
|
|
}
|