diff options
author | 2019-12-16 16:37:36 -0500 | |
---|---|---|
committer | 2019-12-17 11:35:36 -0500 | |
commit | 8d97778672f843cd79ac9862b5fe8c13ef31091f (patch) | |
tree | ade1e84445a7341ca72c48e05f343045a0e1b26d /docker/storperf-master/tests/db_tests | |
parent | ddc5a2888edf717ff074c272b01a6310e0d612fa (diff) |
Update to Python3
Updates to make StorPerf Python3 compatible, including pulling
in SNAPS-OO as python3.
Change-Id: Ie4e7af684bd5a1b8db086893848b1889da6308ba
JIRA: STORPERF-268
Signed-off-by: Mark Beierl <mbeierl@vmware.com>
Diffstat (limited to 'docker/storperf-master/tests/db_tests')
-rw-r--r-- | docker/storperf-master/tests/db_tests/graphite_db_test.py | 3 | ||||
-rw-r--r-- | docker/storperf-master/tests/db_tests/job_db_test.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/docker/storperf-master/tests/db_tests/graphite_db_test.py b/docker/storperf-master/tests/db_tests/graphite_db_test.py index d5fbbfc..2fabfd4 100644 --- a/docker/storperf-master/tests/db_tests/graphite_db_test.py +++ b/docker/storperf-master/tests/db_tests/graphite_db_test.py @@ -9,8 +9,7 @@ import unittest -import mock - +from unittest import mock from storperf.db.graphite_db import GraphiteDB diff --git a/docker/storperf-master/tests/db_tests/job_db_test.py b/docker/storperf-master/tests/db_tests/job_db_test.py index 25fda1f..5201963 100644 --- a/docker/storperf-master/tests/db_tests/job_db_test.py +++ b/docker/storperf-master/tests/db_tests/job_db_test.py @@ -11,8 +11,7 @@ import os import sqlite3 import unittest -import mock - +from unittest import mock from storperf.db.job_db import JobDB from storperf.workloads.rr import rr |