doesn't flask have utilities for temporary configuration during testing (either way, we can probably use a testing version of the app rather than mocking the whole thing out)