summaryrefslogtreecommitdiffstats
path: root/tests/db_tests/job_db_test.py
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@dell.com>2016-11-28 16:17:05 -0500
committerMark Beierl <mark.beierl@dell.com>2016-11-30 21:45:08 +0000
commit30a2f3f91a04d69368a3591f28874a8da6948e36 (patch)
tree4035307d6956b2441ddd36a5a74896025abcaf81 /tests/db_tests/job_db_test.py
parentb20e463faa9990a2bdfe13683f7fb76d32e2fd65 (diff)
Data Handling Refactoring
Break out test db interaction into new module and make the push event driven instead of the sleep that was there before. Change-Id: I9485aba1405f6c3b4ee5000168fbc037efa87c81 JIRA: STORPERF-90 Signed-off-by: Mark Beierl <mark.beierl@dell.com>
Diffstat (limited to 'tests/db_tests/job_db_test.py')
-rw-r--r--tests/db_tests/job_db_test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/db_tests/job_db_test.py b/tests/db_tests/job_db_test.py
index fe3d9f1..ccfb9cc 100644
--- a/tests/db_tests/job_db_test.py
+++ b/tests/db_tests/job_db_test.py
@@ -7,14 +7,15 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-from storperf.db.job_db import JobDB
-from storperf.workloads.rr import rr
import os
import sqlite3
import unittest
import mock
+from storperf.db.job_db import JobDB
+from storperf.workloads.rr import rr
+
class JobDBTest(unittest.TestCase):