fix No handler warning by calling _init_logging 05/35805/3
authorRoss Brattain <ross.b.brattain@intel.com>
Tue, 6 Jun 2017 06:59:25 +0000 (23:59 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 6 Jun 2017 08:55:18 +0000 (01:55 -0700)
commit6746ada2e8c837da948c3260ceb8829ea1fc27de
tree92c76f63e973d826d67300931e7bde331de3ba41
parent1f5e2b8f41417d38ae06af1f52cbbc123c0986e3
fix No handler warning by calling _init_logging

No handlers could be found for logger

It looks like we need to call _init_logging
to properly setup the logging during unittests.

This should fix the influxdb unittest warning.

JIRA: YARDSTICK-506

Change-Id: I57f6e4088005a691d6587fc68b85455ff257a66c
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
tests/unit/dispatcher/test_influxdb.py