Пример #1
0
 def test__find_dependencies_for_R_project(self):
     deps = df.find_dependencies(os.path.join(tmpdir, "R", "myscript.R"), MockRExecutable("R"))
     self.assertEqual(len(deps), 2)
Пример #2
0
 def test__find_dependencies_for_R_project(self):
     deps = df.find_dependencies(os.path.join(tmpdir, "R", "myscript.R"),
                                 MockRExecutable("R"))
     self.assertEqual(len(deps), 2)
Пример #3
0
 def test__find_dependencies_for_a_NEURON_project(self):
     deps = df.find_dependencies(os.path.join(tmpdir, "neuron", "main.hoc"), MockExecutable("NEURON"))
     self.assertEqual(os.path.basename(deps[0].path), "dependency.hoc")
Пример #4
0
 def test__find_dependencies_for_a_NEURON_project(self):
     deps = df.find_dependencies(os.path.join(tmpdir, "neuron", "main.hoc"),
                                 MockExecutable("NEURON"))
     self.assertEqual(os.path.basename(deps[0].path), "dependency.hoc")