c877026602372d85e83b058e833d86e3e407d990,integration_test/test_recipy.py,TestRecipy,test_search_unknown_json,#TestRecipy#Any#Any#,309

Before Change


        args.extend(pattern)
        args.append(json_flag)
        exit_code, stdout = process.execute_and_capture("recipy", args)
        assert exit_code == 0, ("Unexpected exit code " + str(exit_code))
        assert len(stdout) > 0, "Expected stdout"
        json_logs = json.loads(" ".join(stdout))
        assert json_logs == [], "Expected []"

After Change


        cmd = ["recipy", "search"]
        cmd.extend(pattern)
        cmd.append(json_flag)
        _, stdout = helpers.execute(cmd, 0)
        assert len(stdout) > 0, "Expected stdout"
        json_logs = json.loads(" ".join(stdout))
        assert json_logs == [], "Expected []"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: recipy/recipy
Commit Name: c877026602372d85e83b058e833d86e3e407d990
Time: 2016-10-24
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipy.py
Class Name: TestRecipy
Method Name: test_search_unknown_json


Project Name: recipy/recipy
Commit Name: c877026602372d85e83b058e833d86e3e407d990
Time: 2016-10-24
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipy.py
Class Name: TestRecipy
Method Name: test_search_bad_syntax


Project Name: recipy/recipy
Commit Name: c877026602372d85e83b058e833d86e3e407d990
Time: 2016-10-24
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipy.py
Class Name: TestRecipy
Method Name: test_search


Project Name: recipy/recipy
Commit Name: c877026602372d85e83b058e833d86e3e407d990
Time: 2016-10-24
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipy.py
Class Name: TestRecipy
Method Name: test_search_unknown


Project Name: recipy/recipy
Commit Name: c877026602372d85e83b058e833d86e3e407d990
Time: 2016-10-24
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipy.py
Class Name: TestRecipy
Method Name: test_search_all