Good morning! When I run the verifier locally via ...
# general
n
Good morning! When I run the verifier locally via the Python API, what does the variable
PACT_URL
in this snippet represent?
b
Looks like it’s the base URL of your provider service. IMHO the variable name is a bit confusing here.
πŸ‘† 1
1000000 1
n
Ok...I thought so, but I couldn't decide if it was the for the pact mock or not
πŸ‘ 2
y
yeah that is really badly named, a
PACT_URL
would normally refer to a file path or url of a pact to be verified. (as per our docs) that really should be
PROVIDER_URL
in that instance. Would happily accept a PR to update πŸ‘
Thanks for raising! It is all to easy to get confused and not say something, but fixing that will help others I am sure!