I'd rather have this code in `lms/envs/common.py`, if possible, so that it will work in all of our unit tests (powered by `tests.py`), acceptance tests, and bok-choy tests. Having to add this sort of customization to each flavor of environment file feels pretty error prone. (Admittedly, I'd also like to simply have fewer environment files, but that's a little further out).