Hi! I'm trying to get started with pact-python, an...
# pact-python
k
Hi! I'm trying to get started with pact-python, and having issues with the verifier making requests successfully. I was wondering whether there is a way to enable or view logging of the stuff that happens after we leave the python libraries in order to get a more specific error than I'm getting here:
j
Yeah of course! Good to see you're using Pact Python v3! I should document this better somewhere, but what you're probably looking for is to set pact_ffi.log_to_stderr before you run your test 🙂
Probably best to put that into
conftest.py
, or at the start of the test module (not that you can only configure logging of the underlying FFI once)
k
amazing, thank you so much!
j
I have added docs (with the help of Copilot). You can see them rendered here. Let me know what you think!