f6e27f76726c25d3fb8885c98c12ddea4ac7faa7,tests/base/test_multitenancy.py,,test_post_parse_invalid_model,#Any#Any#,142

Before Change


def test_post_parse_invalid_model(app, response_test):
    response = yield app.post(response_test.endpoint,
                              json=response_test.payload)
    rjs = yield response.json()
    assert response.code == 404
    assert rjs.get("error").startswith(response_test.expected_response["error"])

After Change


    ),
])
def test_post_parse_invalid_model(app, response_test):
    _, response = app.post(response_test.endpoint,
                           json=response_test.payload)
    rjs = response.json
    assert response.status == 404
    assert rjs.get("error").startswith(response_test.expected_response["error"])

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: RasaHQ/rasa
Commit Name: f6e27f76726c25d3fb8885c98c12ddea4ac7faa7
Time: 2019-02-10
Author: tom@rasa.com
File Name: tests/base/test_multitenancy.py
Class Name:
Method Name: test_post_parse_invalid_model


Project Name: RasaHQ/rasa
Commit Name: f6e27f76726c25d3fb8885c98c12ddea4ac7faa7
Time: 2019-02-10
Author: tom@rasa.com
File Name: tests/base/test_multitenancy.py
Class Name:
Method Name: test_get_parse_invalid_model


Project Name: RasaHQ/rasa
Commit Name: f6e27f76726c25d3fb8885c98c12ddea4ac7faa7
Time: 2019-02-10
Author: tom@rasa.com
File Name: tests/base/test_multitenancy.py
Class Name:
Method Name: test_post_parse


Project Name: RasaHQ/rasa
Commit Name: f6e27f76726c25d3fb8885c98c12ddea4ac7faa7
Time: 2019-02-10
Author: tom@rasa.com
File Name: tests/base/test_multitenancy.py
Class Name:
Method Name: test_get_parse


Project Name: RasaHQ/rasa
Commit Name: f6e27f76726c25d3fb8885c98c12ddea4ac7faa7
Time: 2019-02-10
Author: tom@rasa.com
File Name: tests/base/test_server.py
Class Name:
Method Name: test_get_parse


Project Name: RasaHQ/rasa
Commit Name: f6e27f76726c25d3fb8885c98c12ddea4ac7faa7
Time: 2019-02-10
Author: tom@rasa.com
File Name: tests/base/test_server.py
Class Name:
Method Name: test_post_parse