From: Nathan Cutler Date: Sun, 25 Jun 2017 10:42:36 +0000 (+0200) Subject: tests: swift.py: tweak imports X-Git-Tag: ses5-milestone8~1^2~62^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2bc0c7c6174234a38f45f15b0e635fc7954571d5;p=ceph.git tests: swift.py: tweak imports The ".." form only works within the teuthology repo. With swift.py now in the Ceph repo, we have to be explicit. Error message was: "ValueError: Attempted relative import beyond toplevel package Signed-off-by: Nathan Cutler --- diff --git a/qa/tasks/swift.py b/qa/tasks/swift.py index f6a0972d77fc9..28f75dd0afde9 100644 --- a/qa/tasks/swift.py +++ b/qa/tasks/swift.py @@ -1,5 +1,5 @@ """ -Test Swfit api. +Test Swift API """ from cStringIO import StringIO from configobj import ConfigObj @@ -10,9 +10,9 @@ import os from teuthology import misc as teuthology from teuthology import contextutil -from ..config import config as teuth_config -from ..orchestra import run -from ..orchestra.connection import split_user +from teuthology.config import config as teuth_config +from teuthology.orchestra import run +from teuthology.orchestra.connection import split_user log = logging.getLogger(__name__)