2022-09-23 09:01:38 +00:00
|
|
|
[build-system]
|
2022-10-05 16:41:47 +00:00
|
|
|
requires = ["setuptools>=65.0.0", "wheel"]
|
2022-09-23 09:01:38 +00:00
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
[project]
|
2023-01-10 13:02:24 +00:00
|
|
|
name = "frostfs-testlib"
|
2023-05-18 07:18:09 +00:00
|
|
|
version = "2.0.1"
|
2023-01-10 13:02:24 +00:00
|
|
|
description = "Building blocks and utilities to facilitate development of automated tests for FrostFS system"
|
2022-09-23 09:01:38 +00:00
|
|
|
readme = "README.md"
|
2023-05-14 10:43:59 +00:00
|
|
|
authors = [{ name = "Yadro", email = "info@yadro.com" }]
|
2022-09-23 09:01:38 +00:00
|
|
|
license = { text = "GNU General Public License v3 (GPLv3)" }
|
|
|
|
classifiers = [
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
]
|
2023-01-10 13:02:24 +00:00
|
|
|
keywords = ["frostfs", "test"]
|
2022-09-23 09:01:38 +00:00
|
|
|
dependencies = [
|
2023-05-30 13:32:38 +00:00
|
|
|
"allure-python-commons>=2.13.2",
|
2022-10-05 16:41:47 +00:00
|
|
|
"docker>=4.4.0",
|
2023-10-17 14:45:23 +00:00
|
|
|
"pyyaml==6.0.1",
|
2023-02-06 17:12:04 +00:00
|
|
|
"neo-mamba==1.0.0",
|
2022-09-23 09:01:38 +00:00
|
|
|
"paramiko>=2.10.3",
|
|
|
|
"pexpect>=4.8.0",
|
2023-10-25 12:57:38 +00:00
|
|
|
"requests==2.28.1",
|
2023-02-16 16:31:39 +00:00
|
|
|
"docstring_parser>=0.15",
|
|
|
|
"testrail-api>=1.12.0",
|
2023-05-14 10:43:59 +00:00
|
|
|
"pytest==7.1.2",
|
|
|
|
"tenacity==8.0.1",
|
2024-10-23 14:07:13 +00:00
|
|
|
"boto3==1.35.30",
|
|
|
|
"boto3-stubs[essential]==1.35.30",
|
2022-09-23 09:01:38 +00:00
|
|
|
]
|
2023-02-06 17:12:04 +00:00
|
|
|
requires-python = ">=3.10"
|
2022-09-23 09:01:38 +00:00
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
dev = ["black", "bumpver", "isort", "pre-commit"]
|
|
|
|
|
|
|
|
[project.urls]
|
2023-11-15 10:08:58 +00:00
|
|
|
Homepage = "https://git.frostfs.info/TrueCloudLab/frostfs-testlib"
|
2022-09-23 09:01:38 +00:00
|
|
|
|
2023-01-10 13:02:24 +00:00
|
|
|
[project.entry-points."frostfs.testlib.reporter"]
|
|
|
|
allure = "frostfs_testlib.reporter.allure_handler:AllureHandler"
|
2022-10-03 20:03:24 +00:00
|
|
|
|
2023-01-10 13:02:24 +00:00
|
|
|
[project.entry-points."frostfs.testlib.hosting"]
|
|
|
|
docker = "frostfs_testlib.hosting.docker_host:DockerHost"
|
2022-10-05 16:41:47 +00:00
|
|
|
|
2023-10-03 12:18:29 +00:00
|
|
|
[project.entry-points."frostfs.testlib.healthcheck"]
|
|
|
|
basic = "frostfs_testlib.healthcheck.basic_healthcheck:BasicHealthcheck"
|
|
|
|
|
2023-11-10 19:43:13 +00:00
|
|
|
[project.entry-points."frostfs.testlib.csc_managers"]
|
|
|
|
config = "frostfs_testlib.storage.controllers.state_managers.config_state_manager:ConfigStateManager"
|
|
|
|
|
2023-11-22 16:54:39 +00:00
|
|
|
[project.entry-points."frostfs.testlib.services"]
|
2024-01-31 12:43:24 +00:00
|
|
|
frostfs-storage = "frostfs_testlib.storage.dataclasses.frostfs_services:StorageNode"
|
|
|
|
frostfs-s3 = "frostfs_testlib.storage.dataclasses.frostfs_services:S3Gate"
|
|
|
|
frostfs-http = "frostfs_testlib.storage.dataclasses.frostfs_services:HTTPGate"
|
|
|
|
neo-go = "frostfs_testlib.storage.dataclasses.frostfs_services:MorphChain"
|
|
|
|
frostfs-ir = "frostfs_testlib.storage.dataclasses.frostfs_services:InnerRing"
|
2023-11-10 19:43:13 +00:00
|
|
|
|
2024-02-29 23:15:40 +00:00
|
|
|
[project.entry-points."frostfs.testlib.credentials_providers"]
|
2024-03-11 16:23:10 +00:00
|
|
|
authmate = "frostfs_testlib.credentials.authmate_s3_provider:AuthmateS3CredentialsProvider"
|
|
|
|
wallet_factory = "frostfs_testlib.credentials.wallet_factory_provider:WalletFactoryProvider"
|
|
|
|
|
|
|
|
[project.entry-points."frostfs.testlib.bucket_cid_resolver"]
|
|
|
|
frostfs = "frostfs_testlib.s3.curl_bucket_resolver:CurlBucketContainerResolver"
|
2024-02-29 23:15:40 +00:00
|
|
|
|
2022-08-24 11:41:11 +00:00
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
2022-09-23 09:01:38 +00:00
|
|
|
src_paths = ["src", "tests"]
|
2024-03-11 16:23:10 +00:00
|
|
|
line_length = 140
|
2022-08-24 11:41:11 +00:00
|
|
|
|
|
|
|
[tool.black]
|
2024-03-11 16:23:10 +00:00
|
|
|
line-length = 140
|
2023-02-07 20:38:40 +00:00
|
|
|
target-version = ["py310"]
|
2022-09-23 09:01:38 +00:00
|
|
|
|
|
|
|
[tool.bumpver]
|
2023-05-18 07:18:09 +00:00
|
|
|
current_version = "2.0.1"
|
2022-09-23 09:01:38 +00:00
|
|
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
|
|
commit_message = "Bump version {old_version} -> {new_version}"
|
2022-10-26 06:43:12 +00:00
|
|
|
commit = true
|
2022-09-23 09:01:38 +00:00
|
|
|
tag = false
|
|
|
|
push = false
|
|
|
|
|
|
|
|
[tool.bumpver.file_patterns]
|
|
|
|
"pyproject.toml" = ['current_version = "{version}"', 'version = "{version}"']
|
2023-01-10 13:02:24 +00:00
|
|
|
"src/frostfs_testlib/__init__.py" = ["{version}"]
|
2023-07-18 17:38:37 +00:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
filterwarnings = [
|
|
|
|
"ignore:Blowfish has been deprecated:cryptography.utils.CryptographyDeprecationWarning",
|
2023-07-24 16:34:21 +00:00
|
|
|
]
|
2024-07-26 13:34:47 +00:00
|
|
|
testpaths = ["tests"]
|
|
|
|
|
|
|
|
[project.entry-points.pytest11]
|
|
|
|
testlib = "frostfs_testlib"
|