Index: client/utils/logging_utils_test.py |
diff --git a/appengine/swarming/swarming_bot/logging_utils_test.py b/client/utils/logging_utils_test.py |
similarity index 82% |
rename from appengine/swarming/swarming_bot/logging_utils_test.py |
rename to client/utils/logging_utils_test.py |
index ac89ad3b4b4909f31b8e9af78a0aaefeef28e8ef..7fddb6366f1f50bd65cdb0dff03ce30cb9d19708 100755 |
--- a/appengine/swarming/swarming_bot/logging_utils_test.py |
+++ b/client/utils/logging_utils_test.py |
@@ -1,7 +1,7 @@ |
#!/usr/bin/env python |
-# Copyright 2014 The Swarming Authors. All rights reserved. |
-# Use of this source code is governed by the Apache v2.0 license that can be |
-# found in the LICENSE file. |
+# Copyright 2015 The Swarming Authors. All rights reserved. |
+# Use of this source code is governed under the Apache License, Version 2.0 that |
+# can be found in the LICENSE file. |
import logging |
import os |
@@ -11,12 +11,11 @@ import shutil |
import unittest |
import re |
-# Import this first before manipulating sys.path to ensure it can load fine. |
-import logging_utils |
- |
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
sys.path.insert(0, ROOT_DIR) |
+from utils import logging_utils |
+ |
import test_env |
test_env.setup_test_env() |