Stress improts
* Partial relative import fix
* Wildcard imports removed
* stress/utils/util.py renamed to stress/utils.py
* time/datetime module aliasing removed
Change-Id: Ib0b234581695604c10c51915210e4643a8732874
diff --git a/stress/tests/create_kill.py b/stress/tests/create_kill.py
index 2565723..30ddfd7 100644
--- a/stress/tests/create_kill.py
+++ b/stress/tests/create_kill.py
@@ -14,9 +14,13 @@
"""More aggressive test that creates and destroys VMs with shorter
sleep times"""
-from stress.test_servers import *
+import datetime
+import time
+
from stress.basher import BasherAction
-from stress.driver import *
+from stress.driver import bash_openstack
+from stress.test_servers import TestCreateVM
+from stress.test_servers import TestKillActiveVM
from tempest import clients
choice_spec = [
diff --git a/stress/tests/floating_ips.py b/stress/tests/floating_ips.py
index 6a4452c..b1b3778 100755
--- a/stress/tests/floating_ips.py
+++ b/stress/tests/floating_ips.py
@@ -13,8 +13,10 @@
# limitations under the License.
"""Stress test that associates/disasssociates floating ips."""
+import datetime
+
from stress.basher import BasherAction
-from stress.driver import *
+from stress.driver import bash_openstack
from stress.test_floating_ips import TestChangeFloatingIp
from tempest import clients
diff --git a/stress/tests/hard_reboots.py b/stress/tests/hard_reboots.py
index fe57be1..50a2e91 100644
--- a/stress/tests/hard_reboots.py
+++ b/stress/tests/hard_reboots.py
@@ -13,11 +13,13 @@
# limitations under the License.
"""Test that reboots random instances in a Nova cluster."""
+import datetime
+import time
-from stress.test_servers import *
-from stress.test_server_actions import *
from stress.basher import BasherAction
-from stress.driver import *
+from stress.driver import bash_openstack
+from stress.test_server_actions import TestRebootVM
+from stress.test_servers import TestCreateVM
from tempest import clients
choice_spec = [
diff --git a/stress/tests/user_script_sample.py b/stress/tests/user_script_sample.py
index 04163e3..d941ea0 100644
--- a/stress/tests/user_script_sample.py
+++ b/stress/tests/user_script_sample.py
@@ -14,10 +14,12 @@
"""Sample stress test that creates a few virtual machines and then
destroys them"""
+import datetime
-from stress.test_servers import *
from stress.basher import BasherAction
-from stress.driver import *
+from stress.driver import bash_openstack
+from stress.test_servers import TestCreateVM
+from stress.test_servers import TestKillActiveVM
from tempest import clients
choice_spec = [