https://pact.io logo
#pact-python
Title
# pact-python
m

Matt (pactflow.io / pact-js / pact-go)

02/16/2022, 12:07 PM
Positive that
settings.PACT_CONSUMER_NAME
(and the provider one) is defined?
u

Uzumaki

02/16/2022, 12:15 PM
Copy code
ipdb> pprint(vars(pact.consumer))

{'name': {REDACTED},
 'service_cls': <class 'pact.pact.Pact'>,
 'tag_with_git_branch': True,
 'tags': None,
 'version': None}

ipdb> pprint(vars(pact.provider))

{'name': {REDACTED} }
can confirm, yes
πŸ‘ 1
m

Matt (pactflow.io / pact-js / pact-go)

02/16/2022, 12:18 PM
are these debug statements within pact-python itself?
u

Uzumaki

02/16/2022, 12:28 PM
ah thanks for mentioning that actually. Looking deeper at the pact-python logs I see it’s cause I had the standalone ruby binary running so it was stopping me from stop the service in my python code after it created the pact
problem solved βœ…
πŸ‘ 2