def METHOD_NAME():
    with scoped_curdir() as d:
        test_cfg = d + '/test.cfg'
        os.environ['STBT_CONFIG_FILE'] = test_cfg
        with open(test_cfg, 'w', encoding='utf-8') as f:
            f.write(test_config)
        yield