You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed while running the tests locally that the MySQL tests started failing with an error (complete summary at the bottom):
MySQLdb.IntegrityError: (1062, "Duplicate entry '1' for key 'vendors.PRIMARY'")
I compared the setup blocks for MySQL and PostgreSQL and I see one difference is that the PostgreSQL block drops databases during setup while the MySQL block does not. @simonw do you test locally and have a setup that works for you? I'll submit a PR linked to this issue for how I worked around it.
Btw: I followed the README closely. I see that the tests on CI pass which I assume is because the databases are wiped on reach run.
I noticed while running the tests locally that the MySQL tests started failing with an error (complete summary at the bottom):
I compared the setup blocks for MySQL and PostgreSQL and I see one difference is that the PostgreSQL block drops databases during setup while the MySQL block does not. @simonw do you test locally and have a setup that works for you? I'll submit a PR linked to this issue for how I worked around it.
Btw: I followed the README closely. I see that the tests on CI pass which I assume is because the databases are wiped on reach run.
Environment:
db-to-sqlite
version: v1.5 (b7c95fc)pytest output summary
The text was updated successfully, but these errors were encountered: