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

Is the test config loaded by environmental variable or hard coded path? #152

Open guynir42 opened 10 months ago

guynir42 commented 10 months ago

See conftest.py the first fixture, seems to be loading the config file by hard coded value. Does that mean we can replace the environmental variable pointing to the test config?

rknop commented 4 months ago

I would actually like to make this into an environment variable.

Reason: Soon, I'm going to want to be able to run the tests using an environment that's different from the usual tests environment. Specifically, I'm going to want to try running the tests using dev versions of the conductor, archive, and database running on the actual machines where those things will be running, rather than on temporarily created services on the local machine. I'll make a specific config to support this; we need to leave the tests config as it is so it continues to work on github and for standard running of tests.