[PATCH 2/3] Import anaconda_log correctly to avoid the double import problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 tests/kickstart_test/commands_test.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/kickstart_test/commands_test.py b/tests/kickstart_test/commands_test.py
index 8b71eb2..9001cc0 100755
--- a/tests/kickstart_test/commands_test.py
+++ b/tests/kickstart_test/commands_test.py
@@ -49,8 +49,8 @@ class CommandVersionTestCase(TestCase):
             'block',
             'baseudev'])
 
-        import anaconda_log
-        anaconda_log.init()
+        import pyanaconda.anaconda_log
+        pyanaconda.anaconda_log.init()
 
         from pyanaconda import kickstart
         import pykickstart.version
@@ -71,8 +71,8 @@ class CommandVersionTestCase(TestCase):
 # Do the same thing as CommandVersionTestCase, but for data objects.
 class DataVersionTestCase(unittest.TestCase):
     def setUp(self):
-        import anaconda_log
-        anaconda_log.init()
+        import pyanaconda.anaconda_log
+        pyanaconda.anaconda_log.init()
 
         from pyanaconda import kickstart
         import pykickstart.version
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux