[test-API 04/10] New directory 'src' and move *.{py, css, xls} files into it

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

 



The "import" statements are updated incidentally.
---
 dist/redhat/env_inspect.py                         |    2 +-
 libvirt-test-api                                   |   16 ++++++++--------
 repos/domain/attach_disk.py                        |    2 +-
 repos/domain/attach_interface.py                   |    2 +-
 repos/domain/autostart.py                          |    2 +-
 repos/domain/balloon_memory.py                     |    2 +-
 repos/domain/blkstats.py                           |    2 +-
 repos/domain/console_io.py                         |    2 +-
 repos/domain/console_mutex.py                      |    2 +-
 repos/domain/cpu_affinity.py                       |    2 +-
 repos/domain/cpu_topology.py                       |    2 +-
 repos/domain/create.py                             |    2 +-
 repos/domain/define.py                             |    2 +-
 repos/domain/destroy.py                            |    2 +-
 repos/domain/detach_disk.py                        |    2 +-
 repos/domain/detach_interface.py                   |    2 +-
 repos/domain/domain_blkinfo.py                     |    2 +-
 repos/domain/domain_id.py                          |    2 +-
 repos/domain/domblkinfo.py                         |    2 +-
 repos/domain/dump.py                               |    2 +-
 repos/domain/eventhandler.py                       |    2 +-
 repos/domain/ifstats.py                            |    2 +-
 repos/domain/install_image.py                      |    2 +-
 repos/domain/install_linux_cdrom.py                |    2 +-
 repos/domain/install_linux_check.py                |    2 +-
 repos/domain/install_linux_net.py                  |    2 +-
 repos/domain/install_windows_cdrom.py              |    2 +-
 repos/domain/migrate.py                            |    2 +-
 repos/domain/ownership_test.py                     |    2 +-
 repos/domain/reboot.py                             |    2 +-
 repos/domain/restore.py                            |    2 +-
 repos/domain/resume.py                             |    2 +-
 repos/domain/save.py                               |    2 +-
 repos/domain/sched_params.py                       |    2 +-
 repos/domain/shutdown.py                           |    2 +-
 repos/domain/start.py                              |    2 +-
 repos/domain/suspend.py                            |    2 +-
 repos/domain/undefine.py                           |    2 +-
 repos/domain/update_devflag.py                     |    2 +-
 repos/interface/create.py                          |    2 +-
 repos/interface/define.py                          |    2 +-
 repos/interface/destroy.py                         |    2 +-
 repos/interface/undefine.py                        |    2 +-
 repos/libvirtd/qemu_hang.py                        |    2 +-
 repos/libvirtd/restart.py                          |    2 +-
 repos/network/autostart.py                         |    2 +-
 repos/network/create.py                            |    2 +-
 repos/network/define.py                            |    2 +-
 repos/network/destroy.py                           |    2 +-
 repos/network/network_list.py                      |    2 +-
 repos/network/network_name.py                      |    2 +-
 repos/network/network_uuid.py                      |    2 +-
 repos/network/start.py                             |    2 +-
 repos/network/undefine.py                          |    2 +-
 repos/nodedevice/detach.py                         |    2 +-
 repos/nodedevice/reattach.py                       |    2 +-
 repos/nodedevice/reset.py                          |    2 +-
 repos/npiv/create_virtual_hba.py                   |    2 +-
 .../multiple_thread_block_on_domain_create.py      |    2 +-
 repos/remoteAccess/tcp_setup.py                    |    2 +-
 repos/sVirt/domain_nfs_start.py                    |    2 +-
 repos/snapshot/delete.py                           |    2 +-
 repos/snapshot/file_flag.py                        |    2 +-
 repos/snapshot/flag_check.py                       |    2 +-
 repos/snapshot/internal_create.py                  |    2 +-
 repos/snapshot/revert.py                           |    2 +-
 repos/storage/activate_pool.py                     |    2 +-
 repos/storage/build_dir_pool.py                    |    2 +-
 repos/storage/build_disk_pool.py                   |    2 +-
 repos/storage/build_logical_pool.py                |    2 +-
 repos/storage/build_netfs_pool.py                  |    2 +-
 repos/storage/create_dir_pool.py                   |    2 +-
 repos/storage/create_dir_volume.py                 |    2 +-
 repos/storage/create_fs_pool.py                    |    2 +-
 repos/storage/create_iscsi_pool.py                 |    2 +-
 repos/storage/create_logical_volume.py             |    2 +-
 repos/storage/create_netfs_pool.py                 |    2 +-
 repos/storage/create_netfs_volume.py               |    2 +-
 repos/storage/create_partition_volume.py           |    2 +-
 repos/storage/define_dir_pool.py                   |    2 +-
 repos/storage/define_disk_pool.py                  |    2 +-
 repos/storage/define_iscsi_pool.py                 |    2 +-
 repos/storage/define_logical_pool.py               |    2 +-
 repos/storage/define_mpath_pool.py                 |    2 +-
 repos/storage/define_netfs_pool.py                 |    2 +-
 repos/storage/define_scsi_pool.py                  |    2 +-
 repos/storage/delete_dir_volume.py                 |    2 +-
 repos/storage/delete_logical_pool.py               |    2 +-
 repos/storage/delete_logical_volume.py             |    2 +-
 repos/storage/delete_netfs_volume.py               |    2 +-
 repos/storage/delete_partition_volume.py           |    2 +-
 repos/storage/destroy_pool.py                      |    2 +-
 repos/storage/pool_name.py                         |    2 +-
 repos/storage/pool_uuid.py                         |    2 +-
 repos/storage/undefine_pool.py                     |    2 +-
 activityfilter.py => src/activityfilter.py         |    0
 casecfgcheck.py => src/casecfgcheck.py             |    2 +-
 env_clear.py => src/env_clear.py                   |    2 +-
 exception.py => src/exception.py                   |    0
 generator.py => src/generator.py                   |    2 +-
 log.css => src/log.css                             |    0
 log.xsl => src/log.xsl                             |    0
 logxmlparser.py => src/logxmlparser.py             |    2 +-
 mapper.py => src/mapper.py                         |    0
 parser.py => src/parser.py                         |    2 +-
 process.py => src/process.py                       |    0
 proxy.py => src/proxy.py                           |    2 +-
 sharedmod.py => src/sharedmod.py                   |    0
 utils/env_parser.py                                |    2 +-
 109 files changed, 109 insertions(+), 109 deletions(-)
 create mode 100644 src/__init__.py
 rename activityfilter.py => src/activityfilter.py (100%)
 rename casecfgcheck.py => src/casecfgcheck.py (99%)
 rename env_clear.py => src/env_clear.py (99%)
 rename exception.py => src/exception.py (100%)
 rename generator.py => src/generator.py (99%)
 rename log.css => src/log.css (100%)
 rename log.xsl => src/log.xsl (100%)
 rename logxmlparser.py => src/logxmlparser.py (99%)
 rename mapper.py => src/mapper.py (100%)
 rename parser.py => src/parser.py (99%)
 rename process.py => src/process.py (100%)
 rename proxy.py => src/proxy.py (99%)
 rename sharedmod.py => src/sharedmod.py (100%)

diff --git a/dist/redhat/env_inspect.py b/dist/redhat/env_inspect.py
index b9b8ed0..06f6408 100644
--- a/dist/redhat/env_inspect.py
+++ b/dist/redhat/env_inspect.py
@@ -20,7 +20,7 @@
 
 import commands
 import libvirt
-import sharedmod
+from src import sharedmod
 
 def check_libvirt(logger):
     virsh = 'virsh -v'
diff --git a/libvirt-test-api b/libvirt-test-api
index 409f260..651717c 100644
--- a/libvirt-test-api
+++ b/libvirt-test-api
@@ -22,15 +22,15 @@ import getopt
 import shutil
 import tempfile
 
-import parser
-import proxy
-import generator
-import env_clear
-import process
+from src import parser
+from src import proxy
+from src import generator
+from src import env_clear
+from src import process
 from utils import log
-from logxmlparser import LogXMLParser
-from activityfilter import Filter
-from casecfgcheck import CaseCfgCheck
+from src.logxmlparser import LogXMLParser
+from src.activityfilter import Filter
+from src.casecfgcheck import CaseCfgCheck
 
 def usage():
     print "Usage: libvirt-test-api <OPTIONS> <ARGUMENTS>"
diff --git a/repos/domain/attach_disk.py b/repos/domain/attach_disk.py
index 9d8426d..d68d87b 100644
--- a/repos/domain/attach_disk.py
+++ b/repos/domain/attach_disk.py
@@ -10,7 +10,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/domain/attach_interface.py b/repos/domain/attach_interface.py
index 1d0cb3c..5c9c507 100644
--- a/repos/domain/attach_interface.py
+++ b/repos/domain/attach_interface.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/domain/autostart.py b/repos/domain/autostart.py
index 1906706..da428c2 100644
--- a/repos/domain/autostart.py
+++ b/repos/domain/autostart.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('guestname', 'autostart',)
 optional_params = ()
diff --git a/repos/domain/balloon_memory.py b/repos/domain/balloon_memory.py
index 25b8318..6370bd7 100644
--- a/repos/domain/balloon_memory.py
+++ b/repos/domain/balloon_memory.py
@@ -11,7 +11,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import check
 
diff --git a/repos/domain/blkstats.py b/repos/domain/blkstats.py
index a208887..31bd37f 100644
--- a/repos/domain/blkstats.py
+++ b/repos/domain/blkstats.py
@@ -9,7 +9,7 @@ import libxml2
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('guestname',)
 optional_params = ()
diff --git a/repos/domain/console_io.py b/repos/domain/console_io.py
index c44f5b4..266b020 100644
--- a/repos/domain/console_io.py
+++ b/repos/domain/console_io.py
@@ -11,7 +11,7 @@ import os
 from libvirt import libvirtError
 from exception import TestError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('guestname',)
 optional_params = ('device', 'timeout', 'input', 'output', 'expect',)
diff --git a/repos/domain/console_mutex.py b/repos/domain/console_mutex.py
index c67aec6..bc8cb68 100644
--- a/repos/domain/console_mutex.py
+++ b/repos/domain/console_mutex.py
@@ -5,7 +5,7 @@ import libvirt
 from libvirt import libvirtError
 from exception import TestError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('guestname',)
 optional_params = ('device',)
diff --git a/repos/domain/cpu_affinity.py b/repos/domain/cpu_affinity.py
index 1332c7e..afc0f9b 100644
--- a/repos/domain/cpu_affinity.py
+++ b/repos/domain/cpu_affinity.py
@@ -12,7 +12,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname', 'vcpu',)
diff --git a/repos/domain/cpu_topology.py b/repos/domain/cpu_topology.py
index af41f62..5dbe27b 100644
--- a/repos/domain/cpu_topology.py
+++ b/repos/domain/cpu_topology.py
@@ -10,7 +10,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',
diff --git a/repos/domain/create.py b/repos/domain/create.py
index 7b6a294..703ec3e 100644
--- a/repos/domain/create.py
+++ b/repos/domain/create.py
@@ -9,7 +9,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/domain/define.py b/repos/domain/define.py
index 9d3b2eb..c8fe20e 100644
--- a/repos/domain/define.py
+++ b/repos/domain/define.py
@@ -10,7 +10,7 @@ import pexpect
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/domain/destroy.py b/repos/domain/destroy.py
index c41f0f8..89de3e2 100644
--- a/repos/domain/destroy.py
+++ b/repos/domain/destroy.py
@@ -8,7 +8,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/domain/detach_disk.py b/repos/domain/detach_disk.py
index 1b0b7f9..2ebf66e 100644
--- a/repos/domain/detach_disk.py
+++ b/repos/domain/detach_disk.py
@@ -9,7 +9,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/domain/detach_interface.py b/repos/domain/detach_interface.py
index 050c019..c444b68 100644
--- a/repos/domain/detach_interface.py
+++ b/repos/domain/detach_interface.py
@@ -9,7 +9,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/domain/domain_blkinfo.py b/repos/domain/domain_blkinfo.py
index aa52668..9aaecb2 100644
--- a/repos/domain/domain_blkinfo.py
+++ b/repos/domain/domain_blkinfo.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 GET_DOMBLKINFO_MAC = "virsh domblkinfo %s %s | awk '{print $2}'"
 GET_CAPACITY = "du -b %s | awk '{print $1}'"
diff --git a/repos/domain/domain_id.py b/repos/domain/domain_id.py
index 844ce82..ff246ad 100644
--- a/repos/domain/domain_id.py
+++ b/repos/domain/domain_id.py
@@ -7,7 +7,7 @@ import re
 import commands
 
 import libvirt
-import sharedmod
+from src import sharedmod
 
 required_params = ()
 optional_params = ('guestname',)
diff --git a/repos/domain/domblkinfo.py b/repos/domain/domblkinfo.py
index c543e41..b3c3c3e 100644
--- a/repos/domain/domblkinfo.py
+++ b/repos/domain/domblkinfo.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('guestname', 'blockdev',)
 optional_params = ()
diff --git a/repos/domain/dump.py b/repos/domain/dump.py
index 37cfac9..5cf4e68 100644
--- a/repos/domain/dump.py
+++ b/repos/domain/dump.py
@@ -10,7 +10,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import check
 
diff --git a/repos/domain/eventhandler.py b/repos/domain/eventhandler.py
index 4eec6e9..1b0c579 100644
--- a/repos/domain/eventhandler.py
+++ b/repos/domain/eventhandler.py
@@ -10,7 +10,7 @@ import threading
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 LoopThread = None
 looping = True
diff --git a/repos/domain/ifstats.py b/repos/domain/ifstats.py
index dd6c193..ec03203 100644
--- a/repos/domain/ifstats.py
+++ b/repos/domain/ifstats.py
@@ -10,7 +10,7 @@ import libxml2
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/domain/install_image.py b/repos/domain/install_image.py
index 0d2d7e2..b5ddc48 100644
--- a/repos/domain/install_image.py
+++ b/repos/domain/install_image.py
@@ -10,7 +10,7 @@ import urllib
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import env_parser
 from utils import xmlbuilder
diff --git a/repos/domain/install_linux_cdrom.py b/repos/domain/install_linux_cdrom.py
index 1805db2..cda5dce 100644
--- a/repos/domain/install_linux_cdrom.py
+++ b/repos/domain/install_linux_cdrom.py
@@ -13,7 +13,7 @@ import urllib
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import env_parser
 from utils import xmlbuilder
diff --git a/repos/domain/install_linux_check.py b/repos/domain/install_linux_check.py
index 2a1351d..859bb41 100644
--- a/repos/domain/install_linux_check.py
+++ b/repos/domain/install_linux_check.py
@@ -11,7 +11,7 @@ import math
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import check
 from utils import env_parser
diff --git a/repos/domain/install_linux_net.py b/repos/domain/install_linux_net.py
index ae5a063..63c0491 100644
--- a/repos/domain/install_linux_net.py
+++ b/repos/domain/install_linux_net.py
@@ -13,7 +13,7 @@ import urllib
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import env_parser
 from utils import xmlbuilder
diff --git a/repos/domain/install_windows_cdrom.py b/repos/domain/install_windows_cdrom.py
index a4c10e2..83c7357 100644
--- a/repos/domain/install_windows_cdrom.py
+++ b/repos/domain/install_windows_cdrom.py
@@ -12,7 +12,7 @@ import shutil
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import env_parser
 from utils import xmlbuilder
diff --git a/repos/domain/migrate.py b/repos/domain/migrate.py
index 4c319e4..2e6b40d 100644
--- a/repos/domain/migrate.py
+++ b/repos/domain/migrate.py
@@ -10,7 +10,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('transport',
diff --git a/repos/domain/ownership_test.py b/repos/domain/ownership_test.py
index ed7c992..7e03526 100644
--- a/repos/domain/ownership_test.py
+++ b/repos/domain/ownership_test.py
@@ -11,7 +11,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname', 'dynamic_ownership', 'use_nfs',)
diff --git a/repos/domain/reboot.py b/repos/domain/reboot.py
index a2bd75a..afc1e9f 100644
--- a/repos/domain/reboot.py
+++ b/repos/domain/reboot.py
@@ -8,7 +8,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/domain/restore.py b/repos/domain/restore.py
index ab0900f..fe1b2b2 100644
--- a/repos/domain/restore.py
+++ b/repos/domain/restore.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname', 'filepath',)
diff --git a/repos/domain/resume.py b/repos/domain/resume.py
index 85237f7..f37c4fc 100644
--- a/repos/domain/resume.py
+++ b/repos/domain/resume.py
@@ -7,7 +7,7 @@ import re
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/domain/save.py b/repos/domain/save.py
index 37f1b97..eac39d2 100644
--- a/repos/domain/save.py
+++ b/repos/domain/save.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname', 'filepath',)
diff --git a/repos/domain/sched_params.py b/repos/domain/sched_params.py
index f8b7cef..ee21365 100644
--- a/repos/domain/sched_params.py
+++ b/repos/domain/sched_params.py
@@ -8,7 +8,7 @@ import commands
 
 import libvirt
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname', 'capshares',)
diff --git a/repos/domain/shutdown.py b/repos/domain/shutdown.py
index 3b97abc..b8154da 100644
--- a/repos/domain/shutdown.py
+++ b/repos/domain/shutdown.py
@@ -8,7 +8,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/domain/start.py b/repos/domain/start.py
index f319c2e..325123d 100644
--- a/repos/domain/start.py
+++ b/repos/domain/start.py
@@ -8,7 +8,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/domain/suspend.py b/repos/domain/suspend.py
index 1941b1c..5fe2b83 100644
--- a/repos/domain/suspend.py
+++ b/repos/domain/suspend.py
@@ -7,7 +7,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/domain/undefine.py b/repos/domain/undefine.py
index 4b1bc20..9cf8c55 100644
--- a/repos/domain/undefine.py
+++ b/repos/domain/undefine.py
@@ -7,7 +7,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('guestname',)
 optional_params = ()
diff --git a/repos/domain/update_devflag.py b/repos/domain/update_devflag.py
index 40961f4..e1b2cee 100644
--- a/repos/domain/update_devflag.py
+++ b/repos/domain/update_devflag.py
@@ -10,7 +10,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/interface/create.py b/repos/interface/create.py
index b1cfe5e..9df3464 100644
--- a/repos/interface/create.py
+++ b/repos/interface/create.py
@@ -8,7 +8,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/interface/define.py b/repos/interface/define.py
index 5d63989..630ae45 100644
--- a/repos/interface/define.py
+++ b/repos/interface/define.py
@@ -7,7 +7,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('ifacename', 'ifacetype',)
diff --git a/repos/interface/destroy.py b/repos/interface/destroy.py
index 20ae0f1..7dc0320 100644
--- a/repos/interface/destroy.py
+++ b/repos/interface/destroy.py
@@ -8,7 +8,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/interface/undefine.py b/repos/interface/undefine.py
index b123472..757d3f9 100644
--- a/repos/interface/undefine.py
+++ b/repos/interface/undefine.py
@@ -7,7 +7,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('ifacename',)
diff --git a/repos/libvirtd/qemu_hang.py b/repos/libvirtd/qemu_hang.py
index b2d694b..12fb09f 100644
--- a/repos/libvirtd/qemu_hang.py
+++ b/repos/libvirtd/qemu_hang.py
@@ -10,7 +10,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/libvirtd/restart.py b/repos/libvirtd/restart.py
index 04efa8a..3e06d4c 100644
--- a/repos/libvirtd/restart.py
+++ b/repos/libvirtd/restart.py
@@ -10,7 +10,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('guestname',)
diff --git a/repos/network/autostart.py b/repos/network/autostart.py
index 3cd13c8..4bf9692 100644
--- a/repos/network/autostart.py
+++ b/repos/network/autostart.py
@@ -10,7 +10,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('networkname', 'autostart',)
 optional_params = ()
diff --git a/repos/network/create.py b/repos/network/create.py
index 3eac5b2..d50c84d 100644
--- a/repos/network/create.py
+++ b/repos/network/create.py
@@ -9,7 +9,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('networkname',
diff --git a/repos/network/define.py b/repos/network/define.py
index 222caa3..8c02d2a 100644
--- a/repos/network/define.py
+++ b/repos/network/define.py
@@ -9,7 +9,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('networkname',
diff --git a/repos/network/destroy.py b/repos/network/destroy.py
index 525f0f6..1361ff7 100644
--- a/repos/network/destroy.py
+++ b/repos/network/destroy.py
@@ -9,7 +9,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('networkname',)
 optional_params = ()
diff --git a/repos/network/network_list.py b/repos/network/network_list.py
index 672ad79..fc571cf 100644
--- a/repos/network/network_list.py
+++ b/repos/network/network_list.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('netlistopt',)
diff --git a/repos/network/network_name.py b/repos/network/network_name.py
index 8518de2..a07a957 100644
--- a/repos/network/network_name.py
+++ b/repos/network/network_name.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('networkname',)
 optional_params = ()
diff --git a/repos/network/network_uuid.py b/repos/network/network_uuid.py
index 4983056..29d8020 100644
--- a/repos/network/network_uuid.py
+++ b/repos/network/network_uuid.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('networkname',)
 optional_params = ()
diff --git a/repos/network/start.py b/repos/network/start.py
index 0b8f0c9..baa84c2 100644
--- a/repos/network/start.py
+++ b/repos/network/start.py
@@ -10,7 +10,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('networkname',)
 optional_params = ()
diff --git a/repos/network/undefine.py b/repos/network/undefine.py
index 9015609..b088990 100644
--- a/repos/network/undefine.py
+++ b/repos/network/undefine.py
@@ -9,7 +9,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('networkname',)
 optional_params = ()
diff --git a/repos/nodedevice/detach.py b/repos/nodedevice/detach.py
index b94db5d..3ae5b39 100644
--- a/repos/nodedevice/detach.py
+++ b/repos/nodedevice/detach.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('pciaddress',)
diff --git a/repos/nodedevice/reattach.py b/repos/nodedevice/reattach.py
index adaf6c4..d8fd6a3 100644
--- a/repos/nodedevice/reattach.py
+++ b/repos/nodedevice/reattach.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('pciaddress',)
diff --git a/repos/nodedevice/reset.py b/repos/nodedevice/reset.py
index 11cfa63..f758bf5 100644
--- a/repos/nodedevice/reset.py
+++ b/repos/nodedevice/reset.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('pciaddress',)
diff --git a/repos/npiv/create_virtual_hba.py b/repos/npiv/create_virtual_hba.py
index b21fcd0..a558fbc 100644
--- a/repos/npiv/create_virtual_hba.py
+++ b/repos/npiv/create_virtual_hba.py
@@ -11,7 +11,7 @@ from utils import xmlbuilder
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('wwpn',)
 optional_params = ()
diff --git a/repos/regression/multiple_thread_block_on_domain_create.py b/repos/regression/multiple_thread_block_on_domain_create.py
index 53332ab..9359705 100644
--- a/repos/regression/multiple_thread_block_on_domain_create.py
+++ b/repos/regression/multiple_thread_block_on_domain_create.py
@@ -13,7 +13,7 @@ from threading import Thread
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import env_parser
 from utils import xmlbuilder
diff --git a/repos/remoteAccess/tcp_setup.py b/repos/remoteAccess/tcp_setup.py
index a9d02cb..11c14a2 100644
--- a/repos/remoteAccess/tcp_setup.py
+++ b/repos/remoteAccess/tcp_setup.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 
 required_params = ('target_machine',
diff --git a/repos/sVirt/domain_nfs_start.py b/repos/sVirt/domain_nfs_start.py
index e124800..650947c 100644
--- a/repos/sVirt/domain_nfs_start.py
+++ b/repos/sVirt/domain_nfs_start.py
@@ -13,7 +13,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from shutil import copy
 
diff --git a/repos/snapshot/delete.py b/repos/snapshot/delete.py
index c018cdb..a0f28a4 100644
--- a/repos/snapshot/delete.py
+++ b/repos/snapshot/delete.py
@@ -7,7 +7,7 @@ import re
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('guestname', 'snapshotname',)
 optional_params = ()
diff --git a/repos/snapshot/file_flag.py b/repos/snapshot/file_flag.py
index 4d88416..dea1a02 100644
--- a/repos/snapshot/file_flag.py
+++ b/repos/snapshot/file_flag.py
@@ -9,7 +9,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import check
 
diff --git a/repos/snapshot/flag_check.py b/repos/snapshot/flag_check.py
index 7bdc14c..c9c24a6 100644
--- a/repos/snapshot/flag_check.py
+++ b/repos/snapshot/flag_check.py
@@ -8,7 +8,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import check
 
diff --git a/repos/snapshot/internal_create.py b/repos/snapshot/internal_create.py
index 20f9bbb..d0f3906 100644
--- a/repos/snapshot/internal_create.py
+++ b/repos/snapshot/internal_create.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/snapshot/revert.py b/repos/snapshot/revert.py
index d1820bf..d89d926 100644
--- a/repos/snapshot/revert.py
+++ b/repos/snapshot/revert.py
@@ -7,7 +7,7 @@ import re
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('guestname', 'snapshotname',)
 optional_params = ()
diff --git a/repos/storage/activate_pool.py b/repos/storage/activate_pool.py
index 1aa1f0d..3954457 100644
--- a/repos/storage/activate_pool.py
+++ b/repos/storage/activate_pool.py
@@ -8,7 +8,7 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname',)
diff --git a/repos/storage/build_dir_pool.py b/repos/storage/build_dir_pool.py
index 79ae026..cb76c59 100644
--- a/repos/storage/build_dir_pool.py
+++ b/repos/storage/build_dir_pool.py
@@ -10,7 +10,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname',)
 optional_params = ()
diff --git a/repos/storage/build_disk_pool.py b/repos/storage/build_disk_pool.py
index 49ee856..d9838d8 100644
--- a/repos/storage/build_disk_pool.py
+++ b/repos/storage/build_disk_pool.py
@@ -10,7 +10,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname',)
 optional_params = ()
diff --git a/repos/storage/build_logical_pool.py b/repos/storage/build_logical_pool.py
index c372db7..1c743e3 100644
--- a/repos/storage/build_logical_pool.py
+++ b/repos/storage/build_logical_pool.py
@@ -8,7 +8,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname',)
 optional_params = ()
diff --git a/repos/storage/build_netfs_pool.py b/repos/storage/build_netfs_pool.py
index f0e06ca..168242d 100644
--- a/repos/storage/build_netfs_pool.py
+++ b/repos/storage/build_netfs_pool.py
@@ -8,7 +8,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname',)
 optional_params = ()
diff --git a/repos/storage/create_dir_pool.py b/repos/storage/create_dir_pool.py
index f255a6e..067ae92 100644
--- a/repos/storage/create_dir_pool.py
+++ b/repos/storage/create_dir_pool.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'pooltype',)
diff --git a/repos/storage/create_dir_volume.py b/repos/storage/create_dir_volume.py
index 7084d20..155eb3b 100644
--- a/repos/storage/create_dir_volume.py
+++ b/repos/storage/create_dir_volume.py
@@ -10,7 +10,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'volname', 'volformat', 'capacity',)
diff --git a/repos/storage/create_fs_pool.py b/repos/storage/create_fs_pool.py
index e338428..7daf5f6 100644
--- a/repos/storage/create_fs_pool.py
+++ b/repos/storage/create_fs_pool.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 from utils import XMLParser
 
diff --git a/repos/storage/create_iscsi_pool.py b/repos/storage/create_iscsi_pool.py
index 889d2de..f108a59 100644
--- a/repos/storage/create_iscsi_pool.py
+++ b/repos/storage/create_iscsi_pool.py
@@ -7,7 +7,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'sourcename', 'sourcepath', 'pooltype',)
diff --git a/repos/storage/create_logical_volume.py b/repos/storage/create_logical_volume.py
index 8c20eb8..714480c 100644
--- a/repos/storage/create_logical_volume.py
+++ b/repos/storage/create_logical_volume.py
@@ -10,7 +10,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import utils
 from utils import xmlbuilder
 
diff --git a/repos/storage/create_netfs_pool.py b/repos/storage/create_netfs_pool.py
index e37468c..2a0cd23 100644
--- a/repos/storage/create_netfs_pool.py
+++ b/repos/storage/create_netfs_pool.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 from utils import XMLParser
 
diff --git a/repos/storage/create_netfs_volume.py b/repos/storage/create_netfs_volume.py
index 374eba6..e5f711a 100644
--- a/repos/storage/create_netfs_volume.py
+++ b/repos/storage/create_netfs_volume.py
@@ -10,7 +10,7 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'volname', 'volformat', 'capacity',)
diff --git a/repos/storage/create_partition_volume.py b/repos/storage/create_partition_volume.py
index 02b91b6..3ba802b 100644
--- a/repos/storage/create_partition_volume.py
+++ b/repos/storage/create_partition_volume.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'volname', 'volformat', 'capacity',)
diff --git a/repos/storage/define_dir_pool.py b/repos/storage/define_dir_pool.py
index c48e8e4..b45767d 100644
--- a/repos/storage/define_dir_pool.py
+++ b/repos/storage/define_dir_pool.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 VIRSH_POOLLIST = "virsh --quiet pool-list --all|awk '{print $1}'|grep \"^%s$\""
diff --git a/repos/storage/define_disk_pool.py b/repos/storage/define_disk_pool.py
index dcf7219..619292f 100644
--- a/repos/storage/define_disk_pool.py
+++ b/repos/storage/define_disk_pool.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'pooltype', 'sourcepath',)
diff --git a/repos/storage/define_iscsi_pool.py b/repos/storage/define_iscsi_pool.py
index df61a24..fdb09a2 100644
--- a/repos/storage/define_iscsi_pool.py
+++ b/repos/storage/define_iscsi_pool.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'pooltype', 'sourcename', 'sourcepath',)
diff --git a/repos/storage/define_logical_pool.py b/repos/storage/define_logical_pool.py
index 6c06a43..ebbdc76 100644
--- a/repos/storage/define_logical_pool.py
+++ b/repos/storage/define_logical_pool.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'pooltype', 'sourcename', 'sourcepath',)
diff --git a/repos/storage/define_mpath_pool.py b/repos/storage/define_mpath_pool.py
index 5bb972c..930f9b8 100644
--- a/repos/storage/define_mpath_pool.py
+++ b/repos/storage/define_mpath_pool.py
@@ -7,7 +7,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'pooltype',)
diff --git a/repos/storage/define_netfs_pool.py b/repos/storage/define_netfs_pool.py
index c522970..e607da2 100644
--- a/repos/storage/define_netfs_pool.py
+++ b/repos/storage/define_netfs_pool.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'pooltype', 'sourcename', 'sourcepath',)
diff --git a/repos/storage/define_scsi_pool.py b/repos/storage/define_scsi_pool.py
index b163df8..8be591a 100644
--- a/repos/storage/define_scsi_pool.py
+++ b/repos/storage/define_scsi_pool.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'pooltype', 'sourcename',)
diff --git a/repos/storage/delete_dir_volume.py b/repos/storage/delete_dir_volume.py
index 3a21d20..92853f4 100644
--- a/repos/storage/delete_dir_volume.py
+++ b/repos/storage/delete_dir_volume.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname', 'volname',)
 optional_params = ()
diff --git a/repos/storage/delete_logical_pool.py b/repos/storage/delete_logical_pool.py
index f2904e6..9bfb555 100644
--- a/repos/storage/delete_logical_pool.py
+++ b/repos/storage/delete_logical_pool.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname',)
 optional_params = ()
diff --git a/repos/storage/delete_logical_volume.py b/repos/storage/delete_logical_volume.py
index 1650a85..cbf3ccc 100644
--- a/repos/storage/delete_logical_volume.py
+++ b/repos/storage/delete_logical_volume.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname', 'volname',)
 optional_params = ()
diff --git a/repos/storage/delete_netfs_volume.py b/repos/storage/delete_netfs_volume.py
index b03889b..73f995f 100644
--- a/repos/storage/delete_netfs_volume.py
+++ b/repos/storage/delete_netfs_volume.py
@@ -8,7 +8,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname', 'volname',)
 optional_params = ()
diff --git a/repos/storage/delete_partition_volume.py b/repos/storage/delete_partition_volume.py
index 8a61a1d..b70ff45 100644
--- a/repos/storage/delete_partition_volume.py
+++ b/repos/storage/delete_partition_volume.py
@@ -8,7 +8,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname', 'volname',)
diff --git a/repos/storage/destroy_pool.py b/repos/storage/destroy_pool.py
index 01547a4..304f1bb 100644
--- a/repos/storage/destroy_pool.py
+++ b/repos/storage/destroy_pool.py
@@ -7,7 +7,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 from utils import xmlbuilder
 
 required_params = ('poolname',)
diff --git a/repos/storage/pool_name.py b/repos/storage/pool_name.py
index ce14da5..981e76d 100644
--- a/repos/storage/pool_name.py
+++ b/repos/storage/pool_name.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname',)
 optional_params = ()
diff --git a/repos/storage/pool_uuid.py b/repos/storage/pool_uuid.py
index 7fa03b9..8f77ba7 100644
--- a/repos/storage/pool_uuid.py
+++ b/repos/storage/pool_uuid.py
@@ -9,7 +9,7 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname',)
 optional_params = ()
diff --git a/repos/storage/undefine_pool.py b/repos/storage/undefine_pool.py
index 8fe26c4..8832c36 100644
--- a/repos/storage/undefine_pool.py
+++ b/repos/storage/undefine_pool.py
@@ -7,7 +7,7 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-import sharedmod
+from src import sharedmod
 
 required_params = ('poolname',)
 optional_params = ()
diff --git a/src/__init__.py b/src/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/activityfilter.py b/src/activityfilter.py
similarity index 100%
rename from activityfilter.py
rename to src/activityfilter.py
diff --git a/casecfgcheck.py b/src/casecfgcheck.py
similarity index 99%
rename from casecfgcheck.py
rename to src/casecfgcheck.py
index 5e513e1..252f4a4 100644
--- a/casecfgcheck.py
+++ b/src/casecfgcheck.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 
-import proxy
+from src import proxy
 
 class CaseCfgCheck(object):
     """validate the options in testcase config file"""
diff --git a/env_clear.py b/src/env_clear.py
similarity index 99%
rename from env_clear.py
rename to src/env_clear.py
index ed862db..cf02326 100644
--- a/env_clear.py
+++ b/src/env_clear.py
@@ -18,7 +18,7 @@
 # This module matches the reference of clearing function from each testcase
 # to the corresponding testcase's argument in the order of testcase running
 
-import mapper
+from src import mapper
 from utils import log
 
 class EnvClear(object):
diff --git a/exception.py b/src/exception.py
similarity index 100%
rename from exception.py
rename to src/exception.py
diff --git a/generator.py b/src/generator.py
similarity index 99%
rename from generator.py
rename to src/generator.py
index fc4fc76..4d358d7 100644
--- a/generator.py
+++ b/src/generator.py
@@ -24,7 +24,7 @@ import sys
 import os
 import traceback
 
-import mapper
+from src import mapper
 from utils import log
 from utils import format
 from utils import env_parser
diff --git a/log.css b/src/log.css
similarity index 100%
rename from log.css
rename to src/log.css
diff --git a/log.xsl b/src/log.xsl
similarity index 100%
rename from log.xsl
rename to src/log.xsl
diff --git a/logxmlparser.py b/src/logxmlparser.py
similarity index 99%
rename from logxmlparser.py
rename to src/logxmlparser.py
index ed45594..d2fe7f5 100644
--- a/logxmlparser.py
+++ b/src/logxmlparser.py
@@ -25,7 +25,7 @@ import copy
 from xml.dom import minidom
 from xml.dom.minidom import Document
 
-import exception
+from src import exception
 
 class LogXMLParser(object):
     """ Generate and parser log xml file
diff --git a/mapper.py b/src/mapper.py
similarity index 100%
rename from mapper.py
rename to src/mapper.py
diff --git a/parser.py b/src/parser.py
similarity index 99%
rename from parser.py
rename to src/parser.py
index 07d1498..9ef0eee 100644
--- a/parser.py
+++ b/src/parser.py
@@ -21,10 +21,10 @@ import re
 import os
 import sys
 import copy
-import exception
 import string
 
 from utils import env_parser
+from src import exception
 
 class CaseFileParser(object):
     """ Parser the case configuration file to generate a data list.
diff --git a/process.py b/src/process.py
similarity index 100%
rename from process.py
rename to src/process.py
diff --git a/proxy.py b/src/proxy.py
similarity index 99%
rename from proxy.py
rename to src/proxy.py
index 7e81319..5163bd2 100644
--- a/proxy.py
+++ b/src/proxy.py
@@ -20,7 +20,7 @@
 # The proxy examines the list of unique test cases, received from the
 # generator and import each test case from appropriate module directory.
 
-import exception
+from src import exception
 
 class Proxy(object):
     """ The Proxy class is used for getting real function call reference """
diff --git a/sharedmod.py b/src/sharedmod.py
similarity index 100%
rename from sharedmod.py
rename to src/sharedmod.py
diff --git a/utils/env_parser.py b/utils/env_parser.py
index 6e49e50..58f05fc 100644
--- a/utils/env_parser.py
+++ b/utils/env_parser.py
@@ -27,7 +27,7 @@ dir = os.path.dirname(sys.modules[__name__].__file__)
 absdir = os.path.abspath(dir)
 sys.path.append(os.path.split(absdir)[0])
 
-import exception
+from src import exception
 
 class Envparser(object):
     def __init__(self, configfile):
-- 
1.7.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]