Comments (5)
This sounds like it's the same or similar issue/solution to #69 (comment).
If you're using 0.10.1 cc6076d#diff-29b7bad6b4eb979afb190882fecbca44d0e5b0445087d639b58ab66b2d802397R29, then it may be that your config name is wrong and should be pytest_alembic_tests_path
.
fwiw, I would guess that pytest
without any path is actually running tests for both app/
and tests/
and you just happen to not have any tests in app/
. Which is probably a contributing factor to the problem, although it should certainly work whether app/
is included or not.
from pytest-alembic.
With that being said, i do see a dangling reference to pytest_alembic_tests_folder
in the setup docs, which I appologize if that's what you followed!
from pytest-alembic.
Thanks for the response, I found out the problem is that 3.10.1 isn't pushed to pypi. I'm running 3.10 locally and it doesn't work but pulling this repo and building as a local package runs fine. I think my issue was fixed with this: #73
Heres the failed action: https://github.com/schireson/pytest-alembic/actions/runs/4236876667/jobs/7362193013
from pytest-alembic.
How odd! I just pushlished 0.10.1 manually, fwiw
from pytest-alembic.
Confirmed its fixed in 0.10.1. Thank you!
from pytest-alembic.
Related Issues (20)
- pytest --test-alembic command fails with pytest 8.1.0 HOT 4
- Repeated migration application HOT 2
- Overriding fixtures doesn't work unless conftest.py is in the root HOT 2
- Exclude some migrations by hash HOT 9
- migrate_down_to("base") does not downgrate since v0.10.0 HOT 3
- Bug: during mid-migration check, database has data from latest migration HOT 2
- `test_model_definitions_match_ddl` fails because of an extra mock resource table HOT 2
- Running test_model_definitions_match_ddl() via imports will not show the context HOT 12
- alembic_runner.current does not work with alembic_version in different schema HOT 3
- Consider removing trailing print in runner.py HOT 1
- The fixture gets slower on each revision I create HOT 2
- Adjustments for Compatibility with SQLAlchemy 2.0 and Explicit Transactions HOT 2
- How to integrate with `create_all` fixture HOT 5
- Tests using the same database as pytest_alembic are failing on 0.10.7 HOT 11
- Using "alembic_runner" fixture silences application logs. HOT 2
- Docs update: `compare_type` now defaults to True HOT 1
- Is it possible to override database url for migrations? HOT 3
- Multiple database support HOT 3
- Issues with async tests HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytest-alembic.