This commit is contained in:
Krrish Dholakia 2023-09-01 12:08:46 -07:00
parent fda6dba1ec
commit 1d73f05ae1
2 changed files with 10 additions and 20 deletions

View file

@ -176,6 +176,8 @@ try:
sys.stdout = old_stdout
output = new_stdout.getvalue().strip()
print(output)
if "Logging Details Pre-API Call" not in output:
raise Exception("Required log message not found!")
elif "Logging Details Post-API Call" not in output: