0b647a7a3af8e993e73d89b1b5d82a8f2c943805,tests/cli/test_rasa_data.py,,test_data_split_nlu,#Any#,4

Before Change



def test_data_split_nlu(run_in_default_project):

    result, temp_dir = run_in_default_project(
        "data", "split", "nlu", "--nlu", "data/nlu.md", "--training-fraction", "0.75"
    )

    assert os.path.exists(os.path.join(temp_dir, "train_test_split"))

After Change


def test_data_split_nlu(run_in_default_project):
    temp_dir = os.getcwd()

    run_in_default_project(
        "data", "split", "nlu", "--nlu", "data/nlu.md", "--training-fraction", "0.75"
    )

    assert os.path.exists(os.path.join(temp_dir, "train_test_split"))
    assert os.path.exists(os.path.join(temp_dir, "train_test_split", "test_data.md"))
    assert os.path.exists(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: RasaHQ/rasa
Commit Name: 0b647a7a3af8e993e73d89b1b5d82a8f2c943805
Time: 2019-05-15
Author: tabergma@gmail.com
File Name: tests/cli/test_rasa_data.py
Class Name:
Method Name: test_data_split_nlu


Project Name: RasaHQ/rasa
Commit Name: 0b647a7a3af8e993e73d89b1b5d82a8f2c943805
Time: 2019-05-15
Author: tabergma@gmail.com
File Name: tests/cli/test_rasa_train.py
Class Name:
Method Name: test_train_nlu


Project Name: RasaHQ/rasa
Commit Name: 0b647a7a3af8e993e73d89b1b5d82a8f2c943805
Time: 2019-05-15
Author: tabergma@gmail.com
File Name: tests/cli/test_rasa_train.py
Class Name:
Method Name: test_train


Project Name: RasaHQ/rasa
Commit Name: 0b647a7a3af8e993e73d89b1b5d82a8f2c943805
Time: 2019-05-15
Author: tabergma@gmail.com
File Name: tests/cli/test_rasa_train.py
Class Name:
Method Name: test_train_core


Project Name: RasaHQ/rasa
Commit Name: 0b647a7a3af8e993e73d89b1b5d82a8f2c943805
Time: 2019-05-15
Author: tabergma@gmail.com
File Name: tests/cli/test_rasa_data.py
Class Name:
Method Name: test_data_convert_nlu