aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dispatcher/test_influxdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/dispatcher/test_influxdb.py')
-rw-r--r--tests/unit/dispatcher/test_influxdb.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/dispatcher/test_influxdb.py b/tests/unit/dispatcher/test_influxdb.py
index 0c7b58135..dca3c4189 100644
--- a/tests/unit/dispatcher/test_influxdb.py
+++ b/tests/unit/dispatcher/test_influxdb.py
@@ -14,11 +14,15 @@
from __future__ import absolute_import
import unittest
+
try:
from unittest import mock
except ImportError:
import mock
+from yardstick import _init_logging
+_init_logging()
+
from yardstick.dispatcher.influxdb import InfluxdbDispatcher