Browse files

virttest/ Fix unnecessary import

Instead of making such a mess, use a relative import
and let's call it a day.

Signed-off-by: Lucas Meneghel Rodrigues <>
  • Loading branch information...
1 parent 003344e commit aab2d9e26870b5ff698bbf24ded9ffc2805dfaba @lmr lmr committed Sep 30, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 virttest/
@@ -8,14 +8,9 @@
__author__ = """Lukas Doktor ("""
import unittest
-import sys
-import os
import common
from autotest.client.shared.test_utils import mock
-test_dir = os.path.abspath(os.path.dirname(os.path.dirname(sys.modules[__name__].__file__)))
-print test_dir
-from virttest import kvm_qtree
+import kvm_qtree

0 comments on commit aab2d9e

Please sign in to comment.