c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Archive access in tests #180

Closed guynir42 closed 4 months ago

guynir42 commented 6 months ago

The new fixtures PR changed the way we access the archive during tests.

It sets the local read/write directories in the config file. Before, there was just an environmental variable that told the tests where to create the archive local folder.

If we route the archive traffic using local folders it skips the URL path and we end up not testing it the way it is supposed to work.

Need to figure out a way not to use these folders in the config, and send the archive traffic through the URL of the archive. I'm not sure how that would work in a local testing environment. Maybe we can just move those local folder definitions into the custom config override I use locally.

guynir42 commented 5 months ago

Addressed by #191