From 9fd233c2d406a31bfc35993539d60e0b41a53cc0 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sun, 25 Jun 2017 12:42:36 +0200 Subject: [PATCH] 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 --- qa/tasks/swift.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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__) -- 2.39.5