c877026602372d85e83b058e833d86e3e407d990,integration_test/test_recipy.py,TestRecipy,test_search_unknown,#TestRecipy#Any#,289

Before Change


        pattern = self.get_unknown_search(search_flag)
        args = ["search"]
        args.extend(pattern)
        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"
        helpers.assert_matches_regexps(" ".join(stdout),
                                       regexps.get_no_results())

After Change


        pattern = self.get_unknown_search(search_flag)
        cmd = ["recipy", "search"]
        cmd.extend(pattern)
        _, stdout = helpers.execute(cmd, 0)
        assert len(stdout) > 0, "Expected stdout"
        helpers.assert_matches_regexps(" ".join(stdout),
                                       regexps.get_no_results())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

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


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_all