Esempio n. 1
0
def test_script(dirname, filename, _fn_name, _env_yaml, _mode, _preset,
                return_code, _exception):
    with pushd(path_to_tutorial_file(dirname)):
        filepath = path_to_tutorial_file(os.path.join(dirname, filename))
        check_script(filepath, return_code)
Esempio n. 2
0
def test_script(filename, _fn_name, _env_yaml, _mode, _preset, return_code,
                _exception):
    with pushd(path_to_tutorial_file('')):
        check_script(path_to_tutorial_file(filename), return_code)
Esempio n. 3
0
def test_tutorial_intro_tutorial_hello_world_script():
    check_script(
        script_relative_path(
            '../../dagster_examples/intro_tutorial/hello_world.py'))
Esempio n. 4
0
def test_tutorial_script_part_four():
    check_script(
        script_relative_path(
            '../../dagster_examples/intro_tutorial/config.py'))