diff options
author | 2019-11-07 17:46:53 +0000 | |
---|---|---|
committer | 2019-11-07 17:46:53 +0000 | |
commit | 5293a382b6463069d4a2cc87806426d74833aa2e (patch) | |
tree | 47b3ab94e2ba99972c8a8d7fcdfc1da9a94aaa00 /test/logging | |
parent | eea1300171509e7f5c6aa5e9e01f88a7afa24d0b (diff) | |
parent | 15a847b3bebd604113414938c1345fe47b2c51b5 (diff) |
Merge "Add onap log spec 1.2 for osdf"
Diffstat (limited to 'test/logging')
-rwxr-xr-x | test/logging/test_osdf_logging.py | 12 |
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() |