pytest-plugins
pytest-plugins copied to clipboard
A grab-bag of nifty pytest plugins
See [path 16.12.0](https://path.readthedocs.io/en/latest/history.html#v16-12-0): > Added .is_dir and .is_file for parity with pathlib. Deprecates .isdir and .isfile. (https://github.com/jaraco/path/issues/214) https://github.com/man-group/pytest-plugins/blob/5f9b88a65a8c1e506885352bbd9b2a47900f5014/pytest-shutil/pytest_shutil/workspace.py#L139
Fixes #224
In Python < 3.12, MagicMock's will blindly call any method provided to them, which is masking a real issue in this testcase. The correct method is assert_called_with(), and even worse,...
https://github.com/man-group/pytest-plugins/compare/v1.7.0...master shows 100 commits since last release. Do you have any plans to elease new version soon? 🤔
When graphviz is not installed and pytest is called with `--profile-svg`, the following line is output at the end of the pytest logs: ``` SVG profile in /home/..../myproj/prof/combined.svg. ``` But...
Replace the use of the deprecated `imp` module with `importlib.util', as the former has been removed from Python 3.12.
removing old import that's not needed since py 3.3
Now that we only support Python 3.6 and above, we can stop using crutches like six and future.
I'm trying to package your module as rpm package. So I'm using typical in such case build, install and test cycle used on building package from non-root account: - "setup.py...
(after fixing `pytest-shutil` via #219) ```pytb ============================================================== FAILURES =============================================================== _______________________________________________________ test_installed_packages _______________________________________________________ def test_installed_packages(): with venv.VirtualEnv() as v: > ips = v.installed_packages() v = tests/integration/test_tmpvirtualenv.py:15: _ _ _ _ _...