-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixtures missing in 0.1.6? #12
Comments
I did a In each commit tested:
git bisect says this is the first commit where the problem occurs: |
It looks like this change might fix it: diff --git a/pyproject.toml b/pyproject.toml
index 1e51c10..f960a2d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -68,3 +68,6 @@ norecursedirs = [
".eggs",
"venv",
]
+
+[project.entry-points."pytest11"]
+pytest_sqlalchemy_mock = "pytest_sqlalchemy_mock.base" I'd be happy to open a PR, but I'm not sure what should be the base branch. Looks like the 0.1.6 code hasn't been merged into master yet? UPDATE: I opened PR #13 based on |
Also running into this issue, thanks for putting up a PR. |
I noticed errors running tests with pytest after upgrading from 0.1.5 to 0.1.6:
Instead of sharing a full project having the issue, the problem can be seen by installing the package and running
pytest --fixtures
. This example uses pyenv to create a virtual environment called "test", using python 3.12.4.plugins: sqlalchemy-mock-0.1.5
fixtures defined from pytest_sqlalchemy_mock.base
Here's the full output:
For
0.1.5
:For
0.1.6
:The text was updated successfully, but these errors were encountered: