summaryrefslogtreecommitdiffstats
path: root/test/logging/test_osdf_logging.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/logging/test_osdf_logging.py')
-rwxr-xr-xtest/logging/test_osdf_logging.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/logging/test_osdf_logging.py b/test/logging/test_osdf_logging.py
index 982ef0b..50689dd 100755
--- a/test/logging/test_osdf_logging.py
+++ b/test/logging/test_osdf_logging.py
@@ -45,10 +45,6 @@ class TestOSDFLogging(unittest.TestCase):
self.json_body = mock.MagicMock()
self.F = formatter
- def test_log_handlers_pre_onap(self):
- res = L1.log_handlers_pre_onap()
- assert type(res) == dict
-
def test_format_exception(self):
res = L1.format_exception(Exception("Some error"))
@@ -168,14 +164,6 @@ class TestOSDFLogging(unittest.TestCase):
"""Log the message to error_log.warn and audit_log.warn"""
L1.warn_audit_error("Some warning message")
- def test_log_message_multi(msg):
- X = L1.log_handlers_pre_onap()
- wanted_methods = [
- X["error"].error, X["error"].warn, X["audit"].info,
- X["metrics"].info, X["debug"].debug, X["error"].fatal
- ]
- L1.log_message_multi("Some log message", *wanted_methods)
-
if __name__ == "__main__":
unittest.main()