def test_get_environment(  # type: ignore
         self, mock_env_var, config: Config):
     with pytest.raises(InvalidEnvironmentError):
         config.get_environment()
 def environment(  # type: ignore
         self, mock_env_var, config: Config) -> Environment:
     return config.get_environment()