Skip to content

Commit 9bc3e21

Browse files
YOU54Fsergeyklay
authored andcommitted
chore(docs): improve table alignment and abs links
1 parent 80f06cf commit 9bc3e21

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -329,16 +329,16 @@ output, logs = verifier.verify_pacts('./userserviceclient-userservice.json')
329329
```
330330

331331
The parameters for this differ slightly in naming from their CLI equivalents:
332-
| CLI | native Python |
333-
|-----------------|-------------------------------------------------------------------------------------------------|
334-
| `--branch` | `branch` |
335-
| `--build-url` | `build_url` |
336-
| `--auto-detect-version-properties` | `auto_detect_version_properties` |
337-
| `--tag=TAG` | `consumer_tags` |
338-
| `--tag-with-git-branch` | `tag_with_git_branch` |
339-
| `PACT_DIRS_OR_FILES` | `pact_dir` |
340-
| `--consumer-app-version` | `version` |
341-
| `n/a` | `consumer_name` |
332+
| CLI | native Python |
333+
|-----------------------------------|-----------------------------------|
334+
| `--branch` | `branch` |
335+
| `--build-url` | `build_url` |
336+
| `--auto-detect-version-properties`| `auto_detect_version_properties` |
337+
| `--tag=TAG` | `consumer_tags` |
338+
| `--tag-with-git-branch` | `tag_with_git_branch` |
339+
| `PACT_DIRS_OR_FILES` | `pact_dir` |
340+
| `--consumer-app-version` | `version` |
341+
| `n/a` | `consumer_name` |
342342

343343
## Verifying Pacts Against a Service
344344

@@ -485,26 +485,26 @@ assert success == 0
485485
```
486486

487487
The parameters for this differ slightly in naming from their CLI equivalents:
488-
| CLI | native Python | notes |
489-
|-----------------|-------------------------------------------------------------------------------------------------|----|
490-
| `--log-dir` | `log_dir` ||
491-
| `--log-level` | `log_level` ||
492-
| `--provider-app-version` | `provider_app_version` ||
493-
| `--headers` | `custom_provider_headers` ||
494-
| `--consumer-version-tag` | `consumer_tags` ||
495-
| `--provider-version-tag` | `provider_tags` ||
496-
| `--provider-states-setup-url` | `provider_states_setup_url` ||
497-
| `--verbose` | `verbose` ||
498-
| `--consumer-version-selector` | `consumer_selectors` | takes an untyped dict of consumer version selectors and converts to json |
499-
| `--publish-verification-results` | `publish_verification_results` | recommended only to set in CI |
500-
| `--provider-version-branch` | `provider_version_branch` | recommended to set |
488+
| CLI | native Python |
489+
|-----------------------------------|------------------------------- |
490+
| `--log-dir` | `log_dir` |
491+
| `--log-level` | `log_level` |
492+
| `--provider-app-version` | `provider_app_version` |
493+
| `--headers` | `custom_provider_headers` |
494+
| `--consumer-version-tag` | `consumer_tags` |
495+
| `--provider-version-tag` | `provider_tags` |
496+
| `--provider-states-setup-url` | `provider_states_setup_url` |
497+
| `--verbose` | `verbose` |
498+
| `--consumer-version-selector` | `consumer_selectors` |
499+
| `--publish-verification-results` | `publish_verification_results` |
500+
| `--provider-version-branch` | `provider_version_branch` |
501501

502502

503503
You can see more details in the examples
504504

505-
- [`examples/message/tests/provider/test_message_provider.py`](examples/message/tests/provider/test_message_provider.py)
506-
- [`examples/flask_provider/tests/provider/test_provider.py`](examples/flask_provider/tests/provider/test_provider.py)
507-
- [`examples/fastapi_provider/tests/provider/test_provider.py`](examples/fastapi_provider/tests/provider/test_provider.py)
505+
- [Message Provider Verifier Test](https://github.com/pact-foundation/pact-python/tree/master/examples/message/tests/provider/test_message_provider.py)
506+
- [Flask Provider Verifier Test](https://github.com/pact-foundation/pact-python/tree/master/examples/flask_provider/tests/provider/test_provider.py)
507+
- [FastAPI Provider Verifier Test](https://github.com/pact-foundation/pact-python/tree/master/examples/fastapi_provider/tests/provider/test_provider.py)
508508

509509
### Provider States
510510
In many cases, your contracts will need very specific data to exist on the provider

0 commit comments

Comments
 (0)