예제 #1
0
def test_cli_single_file(nb_file):
    assert parse_jupytext_args([nb_file] +
                               ['--to', 'py']).notebooks == [nb_file]
예제 #2
0
def test_cli_single_file(nb_file):
    assert parse_jupytext_args([nb_file] +
                               ["--to", "py"]).notebooks == [nb_file]
예제 #3
0
def test_cli_multiple_files(nb_files):
    assert parse_jupytext_args(nb_files + ["--to", "py"]).notebooks == nb_files
예제 #4
0
def test_cli_multiple_files(nb_files):
    assert parse_jupytext_args(nb_files + ['--to', 'py']).notebooks == nb_files