Skip to content

Commit 28cb32d

Browse files
committed
feat(v3): implement pact class
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 <[email protected]>
1 parent 7be27b8 commit 28cb32d

File tree

6 files changed

+1785
-287
lines changed

6 files changed

+1785
-287
lines changed

pact/v3/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,10 @@
1919
library is moved to the `pact.v2` scope. The `pact.v2` module will be
2020
considered deprecated, and will be removed in a future release.
2121
"""
22+
23+
from .pact import Interaction, Pact
24+
25+
__all__ = [
26+
"Pact",
27+
"Interaction",
28+
]

0 commit comments

Comments
 (0)