From bc4e1b657e761c12eaa865ddb53df055cee27818 Mon Sep 17 00:00:00 2001 From: liyingjun Date: Thu, 25 Dec 2014 15:02:44 +0800 Subject: [PATCH] Move files to common lib(Part 3) Move utils to common directory. Change-Id: Ifaf71ea4a2a1acc85ceb2af6ed978d3e08666b41 --- rally/consts.py | 2 +- tests/unit/fakes.py | 2 +- tests/unit/rally_jobs/test_jobs.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rally/consts.py b/rally/consts.py index 6ce51556..f3473f82 100644 --- a/rally/consts.py +++ b/rally/consts.py @@ -21,7 +21,7 @@ so to avoid copy paste or dirrect usage of enums values we create singltons for each enum. (e.g TaskStatus) """ -from rally import utils +from rally.common import utils TEMPEST_TEST_SETS = ("full", diff --git a/tests/unit/fakes.py b/tests/unit/fakes.py index 2c4beebf..fb281f5a 100644 --- a/tests/unit/fakes.py +++ b/tests/unit/fakes.py @@ -28,8 +28,8 @@ import six from rally.benchmark.context import base as base_ctx from rally.benchmark.scenarios import base +from rally.common import utils as rally_utils from rally import objects -from rally import utils as rally_utils def generate_uuid(): diff --git a/tests/unit/rally_jobs/test_jobs.py b/tests/unit/rally_jobs/test_jobs.py index 8ffd887a..d58196c1 100644 --- a/tests/unit/rally_jobs/test_jobs.py +++ b/tests/unit/rally_jobs/test_jobs.py @@ -19,7 +19,7 @@ import mock import yaml from rally.benchmark import engine -import rally.utils as rutils +import rally.common.utils as rutils from tests.unit import test