isamplesorg / isamples_inabox

Provides functionality intermediate to a collection and central
0 stars 1 forks source link

Change the jsonb type to be based on the dialect rather than if we are running in pytest #317

Closed dannymandel closed 11 months ago

dannymandel commented 11 months ago

Fixes https://github.com/isamplesorg/isamples_inabox/issues/315

@datadavev I don't know if you have any suggestions on how to test this more rigorously. My manual test involved running the unit tests and ensuring we got JSON, then running some manual queries against a running iSB instance connected to postgresql and verifying we got JSONB.