Skip to content

Commit b981865

Browse files
authored
docs(examples-consumer): add pip install requirements to the consumer… (#291)
* docs(examples-consumer): add pip install requirements to the consumer example * build(flask): update Flask version * build(markupsafe): downgrade and fix version of markupsafe, import errors
1 parent 4c76ae8 commit b981865

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

examples/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ execution of the consumer tests.
5959
When the tests are run, the "minimum" is to generate the Pact contract JSON, additional options are available. The
6060
following commands can be run from the `examples/consumer` folder:
6161

62+
- Install any necessary dependencies:
63+
```bash
64+
pip install -r requirements.txt
65+
```
6266
- To startup the broker, run the tests, and publish the results to the broker:
6367
```bash
6468
pytest --run-broker True --publish-pact 1
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Flask==1.1.1
1+
Flask==1.1.4
22
pytest==5.4.1
33
requests>=2.26.0
4-
testcontainers==3.3.0
4+
testcontainers==3.3.0
5+
markupsafe==2.0.1

requirements_dev.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Click>=2.0.0
22
coverage==5.4
3-
Flask==1.1.1
3+
Flask==1.1.4
44
configparser==3.5.0
55
flake8==3.8.3
66
mock==3.0.5
@@ -14,3 +14,4 @@ requests>=2.26.0
1414
tox-travis==0.8
1515
urllib3>=1.26.5
1616
wheel==0.24.0
17+
markupsafe==2.0.1

0 commit comments

Comments
 (0)