From: Nathan Cutler Date: Sun, 25 Jun 2017 10:42:36 +0000 (+0200) Subject: tests: swift.py: tweak imports X-Git-Tag: v12.1.2~1^2~43^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F15859%2Fhead;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 f6a0972d77fc..28f75dd0afde 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__)