17a1a37c21dcdf4798cf152d338b6be283b434c8,test/features/steps/basic.py,,step_impl,#,11

Before Change



@given("we have recipy set up for testing")
def step_impl(context):
    context.db_file = setup_testing_environment("/Users/robin/code/recipy/test/scratch/")

@when("we run some code")
def step_impl(context):
    context.run_id = run_script_and_get_id("examples/example_script2.py")

After Change



@when("we run some code")
def step_impl(context):
    context.run_id = run_script_and_get_id("examples/example_script2.py")

@when("we run some code as a module")
def step_impl(context):
    output = subprocess.check_output([sys.executable, "-m", "recipy", "examples/example_script3.py", "test.npy"], env={"PYTHONPATH": os.path.abspath("../")}).decode("utf-8")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: recipy/recipy
Commit Name: 17a1a37c21dcdf4798cf152d338b6be283b434c8
Time: 2015-12-30
Author: steinbro@post.harvard.edu
File Name: test/features/steps/basic.py
Class Name:
Method Name: step_impl


Project Name: recipy/recipy
Commit Name: 953a197a724808bc5fca723e90f82c40c2139724
Time: 2015-08-30
Author: robin@rtwilson.com
File Name: test/features/steps/basic.py
Class Name:
Method Name: step_impl


Project Name: recipy/recipy
Commit Name: 5368417b41015578ed26530416c1573a436de286
Time: 2015-08-30
Author: robin@rtwilson.com
File Name: test/features/steps/basic.py
Class Name:
Method Name: step_impl


Project Name: recipy/recipy
Commit Name: 2ce39fa4e1d01abf5fd2e645fe6b80113c8cac6f
Time: 2015-09-05
Author: robin@rtwilson.com
File Name: test/features/steps/basic.py
Class Name:
Method Name: step_impl