Page MenuHomeElementl

Add 'set_dagster_home' flag to instance_for_test
ClosedPublic

Authored by dgibson on Jun 18 2021, 8:16 PM.

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!
dgibson published this revision for review.Jun 18 2021, 9:46 PM
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