There are much safer ways to do this.  I'd recommend using `mock.patch.dict()` to temporarily override the feature flags dict.