Skip to content

Commit

Permalink
Remove tests_isolated from default tests run with pytest (#1362)
Browse files Browse the repository at this point in the history
* Remove tests_isolated from default tests run with pytest

This is to prevent pytest from running tests together which need to be isolated.

In the future we should try to fix these tests so they don't need to be run isolated from others.

* Updated CHANGELOG in preparation for a new release

While this bug won't impact cmd2 development itself, it will create chaos for consumers such as Linux distros trying to execute cmd2 tests when packaging it.
  • Loading branch information
tleonhardt authored Nov 3, 2024
1 parent 0b4e8b0 commit 378208c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.5.2 (November 3, 2024)
* Bug Fixes
* Fixed default `pytest` execution when not using cmd2's custom `invoke` command via `inv pytest`

# 2.5.1 (November 2, 2024)
* Bug Fixes
* Fixed readline bug when using `ipy` command with `gnureadline` and Python 3.13
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ warn_unused_ignores = false
[tool.pytest.ini_options]
testpaths = [
"tests",
"tests_isolated",
]
addopts = [
"--cov=cmd2",
Expand Down

0 comments on commit 378208c

Please sign in to comment.