2915f33ac9a5878093cdbd70c3dd8f11569113ed,tests/cli/test_utils.py,,test_validate_valid_path,#,47

Before Change


    arguments = type("", (), {})()
    arguments.out = tempdir

    validate(arguments, [("out", "default")])

    assert arguments.out == tempdir

After Change


    arguments = type("", (), {})()
    arguments.out = tempdir

    validate_path(arguments, "out", "default")

    assert arguments.out == tempdir

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: RasaHQ/rasa
Commit Name: 2915f33ac9a5878093cdbd70c3dd8f11569113ed
Time: 2019-03-04
Author: t.wochinger@rasa.com
File Name: tests/cli/test_utils.py
Class Name:
Method Name: test_validate_valid_path


Project Name: RasaHQ/rasa
Commit Name: 2915f33ac9a5878093cdbd70c3dd8f11569113ed
Time: 2019-03-04
Author: t.wochinger@rasa.com
File Name: tests/cli/test_utils.py
Class Name:
Method Name: test_validate_invalid_path


Project Name: RasaHQ/rasa
Commit Name: 2915f33ac9a5878093cdbd70c3dd8f11569113ed
Time: 2019-03-04
Author: t.wochinger@rasa.com
File Name: tests/cli/test_utils.py
Class Name:
Method Name: test_validate_if_none_is_valid