aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/tests/unit/dispatcher/test_influxdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/tests/unit/dispatcher/test_influxdb.py')
-rw-r--r--yardstick/tests/unit/dispatcher/test_influxdb.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/yardstick/tests/unit/dispatcher/test_influxdb.py b/yardstick/tests/unit/dispatcher/test_influxdb.py
index bca94e385..c844d4bbb 100644
--- a/yardstick/tests/unit/dispatcher/test_influxdb.py
+++ b/yardstick/tests/unit/dispatcher/test_influxdb.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
##############################################################################
# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
#
@@ -104,11 +102,3 @@ class InfluxdbDispatcherTestCase(unittest.TestCase):
mock_time.time.return_value = 1451461248.925574
self.assertEqual(influxdb._get_nano_timestamp(results),
'1451461248925574144')
-
-
-def main():
- unittest.main()
-
-
-if __name__ == '__main__':
- main()