57f6f22841a93755adb9d1eedf0f15b99fa4d25e,integration_test/test_recipyrc.py,,test_local_recipyrc_precedence,#Any#,119

Before Change


    test_files.append(ignore_recipyrc)
    ignore_recipydb = os.path.join(os.getcwd(), "ignoreDB.json")
    test_files.append(ignore_recipydb)
    with open(ignore_recipyrc, "w") as f:
        f.write("[database]\n")
        f.write("path=" + ignore_recipydb + "\n")

    run_script()
    assert os.path.isfile(recipydb), ("Expected to find " + recipydb)
    assert not os.path.isfile(ignore_recipydb), ("Did not expect to find " + ignore_recipydb)

After Change


    test_files.append(recipyrc)
    recipydb = os.path.join(os.getcwd(), "recipyDB.json")
    test_files.append(recipydb)
    create_database_config(recipyrc, recipydb)

    test_files.append(ignore_recipyrc)
    ignore_recipydb = os.path.join(os.getcwd(), "ignoreDB.json")
    test_files.append(ignore_recipydb)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: recipy/recipy
Commit Name: 57f6f22841a93755adb9d1eedf0f15b99fa4d25e
Time: 2016-09-20
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipyrc.py
Class Name:
Method Name: test_local_recipyrc_precedence


Project Name: recipy/recipy
Commit Name: 57f6f22841a93755adb9d1eedf0f15b99fa4d25e
Time: 2016-09-20
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipyrc.py
Class Name:
Method Name: test_local_recipyrc


Project Name: recipy/recipy
Commit Name: 57f6f22841a93755adb9d1eedf0f15b99fa4d25e
Time: 2016-09-20
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipyrc.py
Class Name:
Method Name: test_local_recipyrc_precedence


Project Name: recipy/recipy
Commit Name: 57f6f22841a93755adb9d1eedf0f15b99fa4d25e
Time: 2016-09-20
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipyrc.py
Class Name:
Method Name: test_local_recipydb