Skip to content

Commit

Permalink
Updated the tresult with info/err message
Browse files Browse the repository at this point in the history
  • Loading branch information
chidanandpujar committed Jun 6, 2024
1 parent 7257cf4 commit 739fca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jnpr/jsnapy/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def _print_result(self, testmssg, result):
self.logger_testop.info(
colorama.Fore.GREEN + "PASS | " + testmssg, extra=self.log_detail
)

def _print_mssg(self, testmssg, result):
if result is False:
self.logger_testop.info(
Expand All @@ -126,7 +127,6 @@ def _print_mssg(self, testmssg, result):
self.logger_testop.info(
colorama.Fore.GREEN + "PASS | " + testmssg, extra=self.log_detail
)

def print_testmssg(self, testname):
"""
Print info and error messages
Expand Down

0 comments on commit 739fca6

Please sign in to comment.