tests: clean up logging 16/23716/7
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Mon, 2 Dec 2019 03:24:28 +0000 (22:24 -0500)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 5 May 2020 20:50:10 +0000 (20:50 +0000)
commit9beabd8afd9c9a3f302ebddaae47f7a1275faeca
tree51dc0e7982f8c8d4a26eaef0acffc0d0c8f7b5cb
parent03ec134bc8f7a0180742c768bbd7dd96a81bfdfc
tests: clean up logging

Tests currently expect the logger to be poked from run_tests.py.
The tests should run without any magic values.  This change sets a default
null logger and removes the hasattr checks for the logger.

For reference, see: https://docs.python-guide.org/writing/logging/

Type: test

Change-Id: I98f953d73d12d00e74b59c94a0fb8c7a625b9c44
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
test/framework.py
test/util.py