Closed simonw closed 3 years ago
AssertionError: assert
('1/2: categories\n'\n '2/2: products\n'\n '\n'\n 'Adding 1 foreign key\n'\n ' products.cat_id => categories.id\n') ==
('1/2: categories\n'\n '\n'\n '2/2: products\n'\n '\n'\n '\n'\n 'Adding 1 foreign key\n'\n ' products.cat_id => categories.id\n')
There's some extra whitespace in there for some reason.
It's because of a click upgrade!
pip freeze | grep click
click==7.1.2
Those tests pass. If I upgrade to Click 8 they fail.
That test failure is in here: https://github.com/simonw/db-to-sqlite/blob/6570467ba776ce89b2255eb2643b339dd0f1d497/db_to_sqlite/cli.py#L126-L137
Refs #32