[#371] Support recent changes in NeoFS API protocol
Support: * new status codes (object, container, session); * object `Lock` message; * different signature schemes. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a4349f6692
commit
99370889d1
41 changed files with 1139 additions and 129 deletions
15
session/status_test.go
Normal file
15
session/status_test.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package session_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/session"
|
||||
statustest "github.com/nspcc-dev/neofs-api-go/v2/status/test"
|
||||
)
|
||||
|
||||
func TestStatusCodes(t *testing.T) {
|
||||
statustest.TestCodes(t, session.LocalizeFailStatus, session.GlobalizeFail,
|
||||
session.StatusTokenNotFound, 4096,
|
||||
session.StatusTokenExpired, 4097,
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue