test(test_logging): adding print statements for debugging circle ci

This commit is contained in:
Krrish Dholakia 2023-10-07 16:20:09 -07:00
parent 38b8c8cc57
commit 01ed325019
3 changed files with 2 additions and 2 deletions

View file

@ -169,13 +169,13 @@ def test_logging_success_streaming_non_openai():
elif "Logging Details LiteLLM-Success Call" not in output: elif "Logging Details LiteLLM-Success Call" not in output:
raise Exception("Required log message not found!") raise Exception("Required log message not found!")
elif "Complete Streaming Response:" not in output: elif "Complete Streaming Response:" not in output:
raise Exception("Required log message not found!") raise Exception(f"Required log message not found! {output}")
score += 1 score += 1
except Exception as e: except Exception as e:
pytest.fail(f"Error occurred: {e}") pytest.fail(f"Error occurred: {e}")
pass pass
test_logging_success_streaming_non_openai() # test_logging_success_streaming_non_openai()
# embedding # embedding
def test_logging_success_embedding_openai(): def test_logging_success_embedding_openai():