From c5c9a48610bb587f25135f1d0758472c1fbe876c Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Fri, 14 Oct 2016 09:38:54 +0000 Subject: [PATCH] influxdb_line_protocol.py should move to 3rd party dir JIRA: YARDSTICK-369 Change-Id: I286e883d88a47d2befa4bb523ad9384937e079b3 Signed-off-by: chenjiankun --- tests/unit/dispatcher/test_influxdb_line_protocol.py | 2 +- third_party/__init__.py | 0 third_party/influxdb/__init__.py | 0 .../dispatcher => third_party/influxdb}/influxdb_line_protocol.py | 0 yardstick/dispatcher/influxdb.py | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 third_party/__init__.py create mode 100644 third_party/influxdb/__init__.py rename {yardstick/dispatcher => third_party/influxdb}/influxdb_line_protocol.py (100%) diff --git a/tests/unit/dispatcher/test_influxdb_line_protocol.py b/tests/unit/dispatcher/test_influxdb_line_protocol.py index cb05bf4d2..42553c498 100644 --- a/tests/unit/dispatcher/test_influxdb_line_protocol.py +++ b/tests/unit/dispatcher/test_influxdb_line_protocol.py @@ -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 index 000000000..e69de29bb diff --git a/third_party/influxdb/__init__.py b/third_party/influxdb/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/yardstick/dispatcher/influxdb_line_protocol.py b/third_party/influxdb/influxdb_line_protocol.py similarity index 100% rename from yardstick/dispatcher/influxdb_line_protocol.py rename to third_party/influxdb/influxdb_line_protocol.py diff --git a/yardstick/dispatcher/influxdb.py b/yardstick/dispatcher/influxdb.py index e431f2c1e..8673253b4 100644 --- a/yardstick/dispatcher/influxdb.py +++ b/yardstick/dispatcher/influxdb.py @@ -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__) -- 2.16.6