Patches setuptools.command.test with mock
Project description
Stub for setuptools.command.test
This package provides a stub for the setuptools.command.test command, which can be used to work around issues with setuptools upgrades that break the test command.
Installation
Install the package using your preferred package manager:
pip install setuptools-test-command-stub
Or poetry:
[tool.poetry.dependencies]
setuptools-test-command-stub = "^0.1.0"
Add that dependency first in the list of the dependencies in you pyproject.toml. Then, run poetry lock to lock your dependencies.
How it works?
It's just patches setuptools.command.test
with unittest.mock.MagicMock
.
How it Works
The package simply patches the setuptools.command.test command with a unittest.mock.MagicMock. This allows setuptools to find the command, but the command itself does nothing. Remember to remove this package and fix the underlying setuptools issue once possible.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for setuptools_test_command_stub-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2119d5ec66f1302e9d9d75e8df11ef6cf605e5dfe79ac5ce289f048460d9842 |
|
MD5 | e6b2d96eb5a2985cb8be9409fc296dd5 |
|
BLAKE2b-256 | 272a704183a00f423bd2861b56b9f66d67a75e9272bebfefe083cb483a66af72 |
Hashes for setuptools_test_command_stub-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4fab1f388401c8bcc6b7449f9637d33bab0c3c1b39dc54e17fd35867794761f |
|
MD5 | d65f302c84ddd4c578d19999e0c0a2bb |
|
BLAKE2b-256 | 3c0a8abe9265a0bbc115b3fe170c6214999a50df1d59f9dbda08315116dcfdc8 |