psychedelicious 842b57e57c tests: update config tests
- Add patched rootdir fixture to all config tests. I think this isn't strictly necessary but it does ensure that any config tests that need to write files don't accidentally write to user data locations.
- Be more careful when calling `get_config()` in the tests, by clearing the LRU cache before and after. This ensures a test doesn't reference the singleton config created by a previously run test.
- Add test for env var parsing.
- Add test for config writing in the context of `get_config()`. This is effectively a mini e2e test for the config lifecycle.
2024-03-22 09:53:02 +11:00
..
2024-03-21 16:41:20 +11:00
2024-03-01 10:42:33 +11:00
2024-03-06 21:57:41 -05:00
2024-03-22 09:53:02 +11:00
2024-03-01 10:42:33 +11:00
2024-03-01 10:42:33 +11:00