87d8873bd875820a4be6ffdef48aff86b913bf00,studio/tests/local_worker_test.py,LocalWorkerTest,test_local_worker_ce,#LocalWorkerTest#,61
Before Change
script_args=[],
expected_output=random_str2
)
db.delete_experiment(experiment_name)
def test_local_worker_co(self):
tmpfile = os.path.join(tempfile.gettempdir(),
"tmpfile.txt")
After Change
self.assertTrue(f.read() == random_str2)
os.remove(tmppath)
with stubtest_worker(
self,
experiment_name="test_local_worker_e" + str(uuid.uuid4()),
runner_args=["--reuse={}/f:f".format(experiment_name)],
config_name="test_config.yaml",
test_script="art_hello_world.py",
script_args=[],
expected_output=random_str2
) as db:
db.delete_experiment(experiment_name)
def test_local_worker_co(self):
tmpfile = os.path.join(tempfile.gettempdir(),
"tmpfile.txt")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: studioml/studio
Commit Name: 87d8873bd875820a4be6ffdef48aff86b913bf00
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/local_worker_test.py
Class Name: LocalWorkerTest
Method Name: test_local_worker_ce
Project Name: studioml/studio
Commit Name: 87d8873bd875820a4be6ffdef48aff86b913bf00
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/local_worker_test.py
Class Name: LocalWorkerTest
Method Name: test_save_get_model
Project Name: studioml/studio
Commit Name: 87d8873bd875820a4be6ffdef48aff86b913bf00
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/local_worker_test.py
Class Name: LocalWorkerTest
Method Name: test_stop_experiment