Page MenuHomeElementl

Add 'set_dagster_home' flag to instance_for_test
ClosedPublic

Authored by dgibson on Jun 18 2021, 8:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 18, 6:25 AM
Unknown Object (File)
Sat, May 13, 7:18 AM
Unknown Object (File)
Wed, May 10, 6:36 AM
Unknown Object (File)
Tue, May 9, 8:31 PM
Unknown Object (File)
Mon, May 1, 7:51 AM
Unknown Object (File)
Sat, Apr 29, 6:21 AM
Unknown Object (File)
Mar 15 2023, 4:49 PM
Unknown Object (File)
Mar 10 2023, 6:22 PM
Subscribers
None

Details

Summary

Example of where you might want this if you have a test that sets up two different instances and you want one to be the 'true' one that is returned when you set DagsterInstance.get()

Test Plan

BK

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 18 2021, 8:36 PM
Harbormaster failed remote builds in B32442: Diff 39961!
johann added inline comments.
python_modules/dagster/dagster/core/test_utils.py
114

ooh haven't used this before

This revision is now accepted and ready to land.Jun 21 2021, 6:42 PM