summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorvrvarma <vv8305@att.com>2019-11-05 20:35:54 -0500
committervrvarma <vv8305@att.com>2019-11-06 00:04:39 -0500
commit15a847b3bebd604113414938c1345fe47b2c51b5 (patch)
tree5dc392be5f19b794b3c4d3fcfc7eb3f611138a30 /test
parent20d6ef66c107f9c01c9594edfde6ac0ca5faf7f2 (diff)
Add onap log spec 1.2 for osdf
OPTFRA-319 OPTFRA-607 and OPTFRA-629 included in this fix Change-Id: Ieeeaa0417ffa41360d790c01b0ef1404960e6b6a Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-319
Diffstat (limited to 'test')
-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()