summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2017-05-15 17:09:33 +0200
committerLucas Hoffmann <l-m-h@web.de>2017-05-31 11:47:22 +0200
commitd49f342fb01d7cbd230bdcf4af442eb40a0bc4a5 (patch)
treed61da4fee42fd3a4991fd25b656c8ed64b10b628 /tests
parent40784654c7321ca260d7d891f4812ffe4e354bf4 (diff)
downloadvdebug-d49f342fb01d7cbd230bdcf4af442eb40a0bc4a5.zip
Fix sys.path in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/test_breakpoint_breakpoint.py2
-rw-r--r--tests/test_dbgp_api.py2
-rw-r--r--tests/test_dbgp_connection.py2
-rw-r--r--tests/test_dbgp_context_property.py2
-rw-r--r--tests/test_dbgp_eval_property.py2
-rw-r--r--tests/test_dbgp_response.py2
-rw-r--r--tests/test_opts_options.py2
-rw-r--r--tests/test_util_environment.py2
-rw-r--r--tests/test_util_filepath.py2
9 files changed, 9 insertions, 9 deletions
diff --git a/tests/test_breakpoint_breakpoint.py b/tests/test_breakpoint_breakpoint.py
index b05d4fb..dfbaa82 100644
--- a/tests/test_breakpoint_breakpoint.py
+++ b/tests/test_breakpoint_breakpoint.py
@@ -1,6 +1,6 @@
if __name__ == "__main__":
import sys
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
import vdebug.breakpoint
import vdebug.error
diff --git a/tests/test_dbgp_api.py b/tests/test_dbgp_api.py
index 74bc67f..b58885d 100644
--- a/tests/test_dbgp_api.py
+++ b/tests/test_dbgp_api.py
@@ -1,6 +1,6 @@
if __name__ == "__main__":
import sys
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
import vdebug.dbgp
from mock import MagicMock, patch
diff --git a/tests/test_dbgp_connection.py b/tests/test_dbgp_connection.py
index cc67610..1c19629 100644
--- a/tests/test_dbgp_connection.py
+++ b/tests/test_dbgp_connection.py
@@ -1,6 +1,6 @@
if __name__ == "__main__":
import sys
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
import vdebug.dbgp
diff --git a/tests/test_dbgp_context_property.py b/tests/test_dbgp_context_property.py
index 4e8aa67..a251ed1 100644
--- a/tests/test_dbgp_context_property.py
+++ b/tests/test_dbgp_context_property.py
@@ -1,6 +1,6 @@
if __name__ == "__main__":
import sys
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
import vdebug.dbgp
import xml.etree.ElementTree as ET
diff --git a/tests/test_dbgp_eval_property.py b/tests/test_dbgp_eval_property.py
index 4076e77..1bf899f 100644
--- a/tests/test_dbgp_eval_property.py
+++ b/tests/test_dbgp_eval_property.py
@@ -1,6 +1,6 @@
if __name__ == "__main__":
import sys
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
import vdebug.dbgp
import xml.etree.ElementTree as ET
diff --git a/tests/test_dbgp_response.py b/tests/test_dbgp_response.py
index 82aac43..e343a7f 100644
--- a/tests/test_dbgp_response.py
+++ b/tests/test_dbgp_response.py
@@ -1,6 +1,6 @@
import sys
if __name__ == "__main__":
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
import vdebug.dbgp
import xml
diff --git a/tests/test_opts_options.py b/tests/test_opts_options.py
index 41438fb..24ebd2f 100644
--- a/tests/test_opts_options.py
+++ b/tests/test_opts_options.py
@@ -1,6 +1,6 @@
if __name__ == "__main__":
import sys
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
from vdebug.opts import Options,OptionsError
diff --git a/tests/test_util_environment.py b/tests/test_util_environment.py
index 75707e7..5a0800b 100644
--- a/tests/test_util_environment.py
+++ b/tests/test_util_environment.py
@@ -1,6 +1,6 @@
if __name__ == "__main__":
import sys
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
""" Mock vim import """
import vdebug.log
diff --git a/tests/test_util_filepath.py b/tests/test_util_filepath.py
index ac67a3a..fa85ab0 100644
--- a/tests/test_util_filepath.py
+++ b/tests/test_util_filepath.py
@@ -1,6 +1,6 @@
if __name__ == "__main__":
import sys
- sys.path.append('../plugin/python/')
+ sys.path.append('pythonx')
import unittest
import vdebug.opts
from vdebug.util import FilePath