- changed component to Testing
PostgreSQL .all() ordering different than id - therefore tests fail
SQLite3 seems to return QuerySets in the order they were created when using the .all()
function. PostgreSQL seems not to, meaning that the tests that assumed index [0] would be the first event recorded fail when using a PostgreSQL testing database.
Comments (7)
-
reporter -
reporter Explicitly set the querysets to order_by id so testing will work in PostgreSQL. First of many. Refs
#502→ <<cset 0e0d96924a20>>
-
reporter Fixed test_import_ct_rdsr_toshiba_pixelmed and test_import_dx_rdsr for postgres testing. Refs
#502→ <<cset ea21716c6470>>
-
reporter Fixed test_import_ct_rdsr_siemens and test_import_dx for postgres testing. Refs
#502→ <<cset 7e7a0e31db99>>
-
reporter Fixed test_import_mg_rdsr postgres testing, just export dx remaining. Refs
#502→ <<cset 90622b363e25>>
-
reporter Fixed test_export_dx by fixing the order the exposures in a study are exported. Refs
#502→ <<cset 734c0fc33be2>>
-
reporter - changed status to resolved
Updated changes and fixes
#502→ <<cset 29df5c59d6ea>>
- Log in to comment