Skip to content

Commit

Permalink
import fix for some helpers and steps
Browse files Browse the repository at this point in the history
Signed-off-by: Liza <[email protected]>
  • Loading branch information
Liza committed Mar 1, 2023
1 parent 565d740 commit 3d837cf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pytest_tests/helpers/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
from frostfs_testlib.cli import FrostfsCli
from frostfs_testlib.shell import Shell
from frostfs_testlib.utils import json_utils
from wallet import WalletFile

from pytest_tests.helpers.cluster import Cluster
from pytest_tests.helpers.file_helper import generate_file, get_file_hash
from pytest_tests.helpers.frostfs_verbs import put_object, put_object_to_random_node
from pytest_tests.helpers.storage_object_info import StorageObjectInfo
from pytest_tests.helpers.wallet import WalletFile
from pytest_tests.resources.common import FROSTFS_CLI_EXEC, WALLET_CONFIG

logger = logging.getLogger("NeoLogger")
Expand Down
2 changes: 1 addition & 1 deletion pytest_tests/helpers/epoch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from frostfs_testlib.cli import FrostfsAdm, FrostfsCli, NeoGo
from frostfs_testlib.shell import Shell
from frostfs_testlib.utils import datetime_utils, wallet_utils
from payment_neogo import get_contract_hash

from pytest_tests.helpers.cluster import Cluster, StorageNode
from pytest_tests.helpers.payment_neogo import get_contract_hash
from pytest_tests.helpers.test_control import wait_for_success
from pytest_tests.resources.common import (
FROSTFS_ADM_CONFIG_PATH,
Expand Down
2 changes: 1 addition & 1 deletion pytest_tests/helpers/http_gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

import allure
import requests
from aws_cli_client import LONG_TIMEOUT
from frostfs_testlib.shell import Shell

from pytest_tests.helpers.aws_cli_client import LONG_TIMEOUT
from pytest_tests.helpers.cli_helpers import _cmd_run
from pytest_tests.helpers.cluster import StorageNode
from pytest_tests.helpers.file_helper import get_file_hash
Expand Down
3 changes: 2 additions & 1 deletion pytest_tests/helpers/k6.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

import allure
from frostfs_testlib.shell import Shell
from remote_process import RemoteProcess

from pytest_tests.helpers.remote_process import RemoteProcess

EXIT_RESULT_CODE = 0
LOAD_RESULTS_PATTERNS = {
Expand Down
4 changes: 2 additions & 2 deletions pytest_tests/steps/s3_gate_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
import allure
import boto3
import pytest
import s3_gate_bucket
import s3_gate_object
import urllib3
from botocore.config import Config
from botocore.exceptions import ClientError
from frostfs_testlib.shell import Shell
from pytest import FixtureRequest

import pytest_tests.steps.s3_gate_bucket
import pytest_tests.steps.s3_gate_object
from pytest_tests.helpers.aws_cli_client import AwsCliClient
from pytest_tests.helpers.cli_helpers import _cmd_run, _configure_aws_cli, _run_with_passwd
from pytest_tests.helpers.cluster import Cluster
Expand Down
2 changes: 1 addition & 1 deletion pytest_tests/steps/s3_gate_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
import pytest
import urllib3
from botocore.exceptions import ClientError
from s3_gate_bucket import S3_SYNC_WAIT_TIME

from pytest_tests.helpers.aws_cli_client import AwsCliClient
from pytest_tests.helpers.cli_helpers import log_command_execution
from pytest_tests.steps.s3_gate_bucket import S3_SYNC_WAIT_TIME

##########################################################
# Disabling warnings on self-signed certificate which the
Expand Down

0 comments on commit 3d837cf

Please sign in to comment.