@pytest.fixture()
def instance():
    overrides = {'run_launcher': {'module': 'dagster.core.test_utils', 'class': 'MockedRunLauncher'}}
    with instance_for_test(overrides=overrides) as inst:
        (yield inst)
@pytest.fixture()
def instance():
    overrides = {'run_launcher': {'module': 'dagster.core.test_utils', 'class': 'MockedRunLauncher'}}
    with instance_for_test(overrides=overrides) as inst:
        (yield inst)