Add new common erros templates
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
This commit is contained in:
parent
8223e99ec8
commit
5568cbd0bf
3 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "frostfs-testlib"
|
name = "frostfs-testlib"
|
||||||
version = "1.3.0"
|
version = "1.3.1"
|
||||||
description = "Building blocks and utilities to facilitate development of automated tests for FrostFS system"
|
description = "Building blocks and utilities to facilitate development of automated tests for FrostFS system"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [{ name = "NSPCC", email = "info@nspcc.ru" }]
|
authors = [{ name = "NSPCC", email = "info@nspcc.ru" }]
|
||||||
|
@ -50,7 +50,7 @@ line-length = 100
|
||||||
target-version = ["py310"]
|
target-version = ["py310"]
|
||||||
|
|
||||||
[tool.bumpver]
|
[tool.bumpver]
|
||||||
current_version = "1.3.0"
|
current_version = "1.3.1"
|
||||||
version_pattern = "MAJOR.MINOR.PATCH"
|
version_pattern = "MAJOR.MINOR.PATCH"
|
||||||
commit_message = "Bump version {old_version} -> {new_version}"
|
commit_message = "Bump version {old_version} -> {new_version}"
|
||||||
commit = true
|
commit = true
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = "1.3.0"
|
__version__ = "1.3.1"
|
||||||
|
|
|
@ -21,6 +21,7 @@ OBJECT_NOT_FOUND = "code = 2049.*message = object not found"
|
||||||
OBJECT_ALREADY_REMOVED = "code = 2052.*message = object already removed"
|
OBJECT_ALREADY_REMOVED = "code = 2052.*message = object already removed"
|
||||||
SESSION_NOT_FOUND = "code = 4096.*message = session token not found"
|
SESSION_NOT_FOUND = "code = 4096.*message = session token not found"
|
||||||
OUT_OF_RANGE = "code = 2053.*message = out of range"
|
OUT_OF_RANGE = "code = 2053.*message = out of range"
|
||||||
|
EXPIRED_SESSION_TOKEN = "code = 4097.*message = expired session token"
|
||||||
# TODO: Due to https://github.com/nspcc-dev/neofs-node/issues/2092 we have to check only codes until fixed
|
# TODO: Due to https://github.com/nspcc-dev/neofs-node/issues/2092 we have to check only codes until fixed
|
||||||
# OBJECT_IS_LOCKED = "code = 2050.*message = object is locked"
|
# OBJECT_IS_LOCKED = "code = 2050.*message = object is locked"
|
||||||
# LOCK_NON_REGULAR_OBJECT = "code = 2051.*message = ..." will be available once 2092 is fixed
|
# LOCK_NON_REGULAR_OBJECT = "code = 2051.*message = ..." will be available once 2092 is fixed
|
||||||
|
|
Loading…
Reference in a new issue