osmand_map_creation icon indicating copy to clipboard operation
osmand_map_creation copied to clipboard

Investigate moving away from psql calls

Open pnoll1 opened this issue 2 years ago • 2 comments

Using something like psycopg2 or sql alchemy would be much better for testing with easier to parse output. It may be quicker since using subprocess to run psql involves opening a shell.

pnoll1 avatar Sep 24 '22 04:09 pnoll1

tests moved to psycopg2 in 29a5728dee9a9ad7d65ac9075bec7e741ae95e3c. table restores still done using psql, doesn't sound like psycopg2 is designed for that.

pnoll1 avatar Oct 16 '22 22:10 pnoll1

filter_data moved to psycopg2 in fc7fb1d2b722ba5f7e93bc1739f40962ef12e13e.

pnoll1 avatar Oct 17 '22 08:10 pnoll1

merge_oa tests in f524a21f506601a0cfdc02f7e4fe5a0c106ce6c2 were written with sql calls instead of using pg_dump. Easier to add data for cases than using old process to regenerate files using pg_dump.

pnoll1 avatar Feb 23 '23 09:02 pnoll1

rest will be done in #79

pnoll1 avatar Jun 26 '23 03:06 pnoll1