Skip to content

Commit

Permalink
qa: import Raw from run_helper instead of run
Browse files Browse the repository at this point in the history
Class Raw has been moved from teuthology.orchestra.run to
teuthology.orchestra.run_helper. Update Ceph QA code accordingly.

Related PR: ceph/teuthology#1652.

Signed-off-by: Rishabh Dave <[email protected]>
  • Loading branch information
rishabh-d-dave committed Nov 10, 2021
1 parent 7c7eb25 commit 3582aa4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion qa/tasks/cephfs/caps_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
from tasks.cephfs.cephfs_test_case import CephFSTestCase

from teuthology.orchestra.run import Raw
from teuthology.orchestra.run_helper import Raw

class CapsHelper(CephFSTestCase):

Expand Down
2 changes: 1 addition & 1 deletion qa/tasks/cephfs/mount.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from teuthology.contextutil import safe_while
from teuthology.misc import get_file, write_file
from teuthology.orchestra import run
from teuthology.orchestra.run import Raw
from teuthology.orchestra.run_helper import Raw
from teuthology.exceptions import CommandFailedError, ConnectionLostError

from tasks.cephfs.filesystem import Filesystem
Expand Down
2 changes: 1 addition & 1 deletion qa/tasks/cephfs/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from io import StringIO
from os.path import join as os_path_join

from teuthology.orchestra.run import Raw
from teuthology.orchestra.run_helper import Raw
from teuthology.exceptions import CommandFailedError

from tasks.cephfs.cephfs_test_case import CephFSTestCase
Expand Down
2 changes: 1 addition & 1 deletion qa/tasks/cephfs/test_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from textwrap import dedent
from tasks.cephfs.fuse_mount import FuseMount
from tasks.cephfs.cephfs_test_case import CephFSTestCase
from teuthology.orchestra.run import Raw
from teuthology.orchestra.run_helper import Raw
from teuthology.exceptions import CommandFailedError

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion qa/tasks/cephfs/test_strays.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import gevent

from teuthology.exceptions import CommandFailedError
from teuthology.orchestra.run import Raw
from teuthology.orchestra.run_helper import Raw
from tasks.cephfs.cephfs_test_case import CephFSTestCase, for_teuthology

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion qa/tasks/mds_creation_failure.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from tasks import ceph_manager
from teuthology import misc
from teuthology.exceptions import CommandFailedError
from teuthology.orchestra.run import Raw
from teuthology.orchestra.run_helper import Raw

log = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion qa/tasks/vstart_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

from unittest import suite, loader

from teuthology.orchestra.run import Raw, quote, PIPE
from teuthology.orchestra.run_helper import Raw, quote, PIPE
from teuthology.orchestra.daemon import DaemonGroup
from teuthology.orchestra.remote import Remote
from teuthology.config import config as teuth_config
Expand Down

0 comments on commit 3582aa4

Please sign in to comment.