8185e4bd0495e30a4d5fd6a4f5f3f0ae421dcfa9,tests/test_server.py,,test_requesting_non_existent_tracker,#Any#,76

Before Change


@freeze_time("2018-01-01")
def test_requesting_non_existent_tracker(app):
    response = app.get("http://dummy/conversations/madeupid/tracker")
    content = response.get_json()
    assert response.status_code == 200
    assert content["paused"] is False
    assert content["slots"] == {"location": None, "cuisine": None}
    assert content["sender_id"] == "madeupid"

After Change



@freeze_time("2018-01-01")
def test_requesting_non_existent_tracker(app):
    _, response = app.get("/conversations/madeupid/tracker")
    content = response.json
    assert response.status == 200
    assert content["paused"] is False
    assert content["slots"] == {"location": None, "cuisine": None}
    assert content["sender_id"] == "madeupid"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: RasaHQ/rasa
Commit Name: 8185e4bd0495e30a4d5fd6a4f5f3f0ae421dcfa9
Time: 2018-12-18
Author: tom@rasa.com
File Name: tests/test_server.py
Class Name:
Method Name: test_requesting_non_existent_tracker


Project Name: RasaHQ/rasa
Commit Name: 8185e4bd0495e30a4d5fd6a4f5f3f0ae421dcfa9
Time: 2018-12-18
Author: tom@rasa.com
File Name: tests/test_server.py
Class Name:
Method Name: test_status


Project Name: RasaHQ/rasa
Commit Name: 8185e4bd0495e30a4d5fd6a4f5f3f0ae421dcfa9
Time: 2018-12-18
Author: tom@rasa.com
File Name: tests/test_server.py
Class Name:
Method Name: test_list_conversations


Project Name: RasaHQ/rasa
Commit Name: 8185e4bd0495e30a4d5fd6a4f5f3f0ae421dcfa9
Time: 2018-12-18
Author: tom@rasa.com
File Name: tests/test_server.py
Class Name:
Method Name: test_version


Project Name: RasaHQ/rasa
Commit Name: 8185e4bd0495e30a4d5fd6a4f5f3f0ae421dcfa9
Time: 2018-12-18
Author: tom@rasa.com
File Name: tests/test_server.py
Class Name:
Method Name: test_put_tracker


Project Name: RasaHQ/rasa
Commit Name: 8185e4bd0495e30a4d5fd6a4f5f3f0ae421dcfa9
Time: 2018-12-18
Author: tom@rasa.com
File Name: tests/test_server.py
Class Name:
Method Name: test_respond