b396adafb03b840225f418dfcfba4c0e77282134,tests/test_actions.py,,test_action_factory_fails_on_duplicated_builtin_actions,#,65

Before Change


               "action_listen",
               "utter_test"]
    with pytest.raises(ValueError):
        TemplateDomain.instantiate_actions(actions, None)


def test_remote_action_runs(default_dispatcher_collecting, default_domain):
    tracker = DialogueStateTracker("default",

After Change



def test_action_factory_fails_on_duplicated_builtin_actions():
    with pytest.raises(ValueError):
        Domain(intent_properties={},
               entities=[],
               slots=[],
               templates={},
               action_names=["action_listen", "random_name"])


def test_remote_action_runs(default_dispatcher_collecting, default_domain):
    tracker = DialogueStateTracker("default",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: RasaHQ/rasa
Commit Name: b396adafb03b840225f418dfcfba4c0e77282134
Time: 2018-08-11
Author: tom@rasa.com
File Name: tests/test_actions.py
Class Name:
Method Name: test_action_factory_fails_on_duplicated_builtin_actions


Project Name: RasaHQ/rasa
Commit Name: b396adafb03b840225f418dfcfba4c0e77282134
Time: 2018-08-11
Author: tom@rasa.com
File Name: tests/test_actions.py
Class Name:
Method Name: test_action_factory_fails_on_duplicated_builtin_actions


Project Name: RasaHQ/rasa
Commit Name: b396adafb03b840225f418dfcfba4c0e77282134
Time: 2018-08-11
Author: tom@rasa.com
File Name: tests/test_actions.py
Class Name:
Method Name: test_action_factory_fails_on_duplicated_actions


Project Name: RasaHQ/rasa
Commit Name: b396adafb03b840225f418dfcfba4c0e77282134
Time: 2018-08-11
Author: tom@rasa.com
File Name: tests/test_actions.py
Class Name:
Method Name: test_domain_action_instantiation