python-wiremock icon indicating copy to clipboard operation
python-wiremock copied to clipboard

A Python library for API mocking and testing with Testcontainers module and WireMock

Results 32 python-wiremock issues
Sort by recently updated
recently updated
newest added
trafficstars

When i follow https://wiremock.readthedocs.io/en/latest/testcontainers/ run test in Windows with DockerDesktop use WSL2 based engine, it throws docker.errors.NotFound: 404 Client Error, details: ``` File "D:\Program Files\Python312\Lib\site-packages\docker\api\client.py", line 267, in _raise_for_status raise...

### Proposal It appears that GlobalSettings.update_global_settings() expects to receive back the updated setting when posting to `__admin/settings` but according to [the documentation](https://wiremock.org/docs/standalone/admin-api-reference/#tag/System/paths/~1__admin~1settings/post) the actual successful response is blank. Thus when...

bug

### Proposal 1. In WireMock we have method ``` def create_mapping(cls, mapping, parameters={}): cls.validate_is_entity(mapping, Mapping) response = cls.REST_CLIENT.post( cls.get_base_uri(cls.endpoint()), json=mapping.get_json_data(), headers=make_headers(), params=parameters, ) response = cls.REST_CLIENT.handle_response(response) return MappingResponse.from_dict(response.json()) ``` response...

bug

Bumps [requests](https://github.com/psf/requests) from 2.29.0 to 2.31.0. Release notes Sourced from requests's releases. v2.31.0 2.31.0 (2023-05-22) Security Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential forwarding of Proxy-Authorization...

dependencies

### Proposal It is not possible to modify the root_dir using win11 because the attribute "--root-dir" contains "=" like an extra character and when this character is used to run...

bug

### Summary It would be nice to automate API documentation generation and publishing to the ReadTheDocs site. There are such tools that need to be integrated into the docs publishing...

help wanted
documentation

### Proposal It would be nice to easily use WireMock in PyTest. For that the Testcontainers integration should be used and supported (#49 ), the native modes could be added...

enhancement
help wanted
python
testcontainers

### Proposal Similar to Java modules, it would be great to have API for managing WireMock extensions in the module for Python WireMock. See the `withExtension()` methods in https://github.com/wiremock/wiremock-testcontainers-java ###...

enhancement
good first issue
testcontainers

### Proposal With Testcontainers being available, I do not think it worth investing any effort in maintaining code for local Java process management and provisioning. JAR bundling is neither fun...

enhancement
breaking

We would like to have a new major update and release of WireMock Python SDK that is aligned with WireMock 3.0. Key items - WireMock 3.0 compatibility and specification alignment...

enhancement
python