a1c9f138395366606f895b7910a4474e6176df6c,test/test_nested.py,,,#,14

Before Change


from sos.targets import file_target
from sos.utils import env
// if the test is imported under sos/test, test interacive executor
if "sos-notebook" in os.path.abspath(__file__).split(os.sep):
    from sos_notebook.workflow_executor import Interactive_Executor as Base_Executor
    interactive_test = True
else:
    from sos.workflow_executor import Base_Executor
    interactive_test = False


class TestNested(unittest.TestCase):
    def setUp(self):
        env.reset()
        subprocess.call("sos remove -s", shell=True)

After Change


                        "a.txt should have been created by nested workflow from another file")


if __name__ == "__main__":
    //suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestParser)
    // unittest.TextTestRunner(, suite).run()
    unittest.main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: vatlab/SoS
Commit Name: a1c9f138395366606f895b7910a4474e6176df6c
Time: 2018-10-17
Author: ben.bog@gmail.com
File Name: test/test_nested.py
Class Name:
Method Name:


Project Name: vatlab/SoS
Commit Name: a1c9f138395366606f895b7910a4474e6176df6c
Time: 2018-10-17
Author: ben.bog@gmail.com
File Name: test/test_target.py
Class Name:
Method Name:


Project Name: huyingxi/Synonyms
Commit Name: d4f20e94a9382995d686d605e069c5cc6558cf6f
Time: 2018-03-03
Author: hailiang.hl.wang@gmail.com
File Name: synonyms/__init__.py
Class Name:
Method Name: