archesproject / arches

Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
211 stars 142 forks source link

Test runner fails when given a subset of tests that don't use the database #11204

Closed jacobtylerwalls closed 1 month ago

jacobtylerwalls commented 1 month ago

When running a partial set of tests that do not use postgres,

ArchesTestRunner attempts to perform additional setup actions against the db anyway.

Suggest adding a guard to skip our custom, additional db setup when Django decides to skip database setup entirely:

Skipping setup of unused database(s): default.