Skip to content

Create fixture equivalent of EnvironmentVariableLoader #25457

Closed

Description

We should be able to use an environment_variables, or similar, fixture in tests to fetch and sanitize environment variables for tests. This should work in the same way the EnvironmentVariableLoader decorator works today.

This fixture would make migrating to the test proxy significantly easier for the ML team, and would go well with the recently-added recorded_test and variable_recorder fixtures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

EngSysThis issue is impacting the engineering system.test-enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions