Browse Source

[Tests] Fix dynamic loading local path

monf 8 years ago
parent
commit
4aeaef6ddf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/test_dynamic_loading.py

+ 1 - 1
Tests/test_dynamic_loading.py

@@ -18,7 +18,7 @@ class TestDynamicLoading(unittest.TestCase):
         # get current script directory path. We are in /an/unknown/path/kalliope/core/Tests
         cur_script_directory = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
         # get parent dir. Now we are in /an/unknown/path/kalliope
-        root_dir = os.path.normpath(cur_script_directory + os.sep + os.pardir + os.sep + os.pardir)
+        root_dir = os.path.normpath(cur_script_directory + os.sep + os.pardir)
 
         # get the neuron dir
         self.neurons_dir = os.path.normpath(root_dir + os.sep + "neurons")