influxdb_line_protocol.py should move to 3rd party dir 49/23149/1
authorchenjiankun <chenjiankun1@huawei.com>
Fri, 14 Oct 2016 09:38:54 +0000 (09:38 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Fri, 14 Oct 2016 09:40:28 +0000 (09:40 +0000)
JIRA: YARDSTICK-369

Change-Id: I286e883d88a47d2befa4bb523ad9384937e079b3
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
tests/unit/dispatcher/test_influxdb_line_protocol.py
third_party/__init__.py [new file with mode: 0644]
third_party/influxdb/__init__.py [new file with mode: 0644]
third_party/influxdb/influxdb_line_protocol.py [moved from yardstick/dispatcher/influxdb_line_protocol.py with 100% similarity]
yardstick/dispatcher/influxdb.py

index cb05bf4..42553c4 100644 (file)
@@ -4,7 +4,7 @@
 # influxdb-python/influxdb/tests/test_line_protocol.py
 
 import unittest
-from yardstick.dispatcher.influxdb_line_protocol import make_lines
+from third_party.influxdb.influxdb_line_protocol import make_lines
 
 
 class TestLineProtocol(unittest.TestCase):
diff --git a/third_party/__init__.py b/third_party/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/third_party/influxdb/__init__.py b/third_party/influxdb/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
index e431f2c..8673253 100644 (file)
@@ -16,7 +16,7 @@ import time
 from oslo_config import cfg
 
 from yardstick.dispatcher.base import Base as DispatchBase
-from yardstick.dispatcher.influxdb_line_protocol import make_lines
+from third_party.influxdb.influxdb_line_protocol import make_lines
 
 LOG = logging.getLogger(__name__)