Pact Consumer by JP-Ellis · Pull Request #410 · pact-foundation/pact-python

@JP-Ellis self-assigned this

Oct 6, 2023

@JP-Ellis JP-Ellis changed the base branch from master to feat/ffi-wrapper

October 10, 2023 02:18

@JP-Ellis JP-Ellis marked this pull request as ready for review

October 10, 2023 02:21

rholshausen

This was referenced

Oct 12, 2023
Specifically want to make it clear how this module is going to be
implemented, and lay down guidelines to be followed going forward.

Signed-off-by: JP-Ellis <josh@jpellis.me>
Signed-off-by: JP-Ellis <josh@jpellis.me>
This helps makes enums more manageable during logging and debugging.

The `D200` Ruff lint is ignored, ensuring that single-line docstrings
use the same formatting as the remaining docstrings.

Signed-off-by: JP-Ellis <josh@jpellis.me>
The `--broker-url` PyTest CLI argument is used by the examples to
determine whether a Broker is automatically launched, or whether an
existing broker is used.

All PyTest CLI arguments _must_ be defined in the root directory of the
project. As a result, the previous location where these arguments were
defined meant that the examples could only be launched of PyTest was
specifically pointed at the `examples/` directory.

This commit moves the definition to the root directory, thereby unifying
the `examples/` with the remaining tests.

Signed-off-by: JP-Ellis <josh@jpellis.me>
This (rather large) commit implements core functionality for the `Pact`
class, and the `Interaction` class to handle specific interactions
within a Pact.

This does _not_ implement every method that Pacts and/or interactions
might have (e.g., it is currently not possible to specify a Pact
version). The intent of this commit is to be a minimal working example
which can be improved upon more incrementally.

Signed-off-by: JP-Ellis <josh@jpellis.me>

@YOU54F @JP-Ellis

Base automatically changed from feat/ffi-wrapper to master

October 12, 2023 22:04