summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2018-08-02 20:33:16 +0200
committerLucas Hoffmann <l-m-h@web.de>2018-08-02 20:35:19 +0200
commit72f0fa8a5086039430504785a9da17defa6614d5 (patch)
tree8c9b013da31a12123015e0c61e5c1aab3c1e267d /tests
parentbb3d2bad3a9a3bbd46abda9d7d5cbb286b78fd79 (diff)
downloadvdebug-72f0fa8a5086039430504785a9da17defa6614d5.zip
Move test-setup file to __init__.py
This removes the need to import the test code explicitly.
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py4
-rw-r--r--tests/setup.py4
-rw-r--r--tests/test_breakpoint_breakpoint.py1
-rw-r--r--tests/test_connection.py1
-rw-r--r--tests/test_dbgp_api.py1
-rw-r--r--tests/test_dbgp_context_property.py1
-rw-r--r--tests/test_dbgp_eval_property.py1
-rw-r--r--tests/test_dbgp_response.py1
-rw-r--r--tests/test_log.py1
-rw-r--r--tests/test_opts_options.py1
-rw-r--r--tests/test_util_environment.py1
-rw-r--r--tests/test_util_filepath.py1
12 files changed, 4 insertions, 14 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29..8a9c078 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,4 @@
+import sys
+
+sys.path.append('tests')
+sys.path.append('python3')
diff --git a/tests/setup.py b/tests/setup.py
deleted file mode 100644
index 8a9c078..0000000
--- a/tests/setup.py
+++ /dev/null
@@ -1,4 +0,0 @@
-import sys
-
-sys.path.append('tests')
-sys.path.append('python3')
diff --git a/tests/test_breakpoint_breakpoint.py b/tests/test_breakpoint_breakpoint.py
index c3f9f67..4db9aff 100644
--- a/tests/test_breakpoint_breakpoint.py
+++ b/tests/test_breakpoint_breakpoint.py
@@ -1,4 +1,3 @@
-from . import setup
import unittest
import vdebug.breakpoint
import vdebug.error
diff --git a/tests/test_connection.py b/tests/test_connection.py
index c238994..5c5be7e 100644
--- a/tests/test_connection.py
+++ b/tests/test_connection.py
@@ -1,4 +1,3 @@
-from . import setup
import unittest
import vdebug.connection
diff --git a/tests/test_dbgp_api.py b/tests/test_dbgp_api.py
index 68a3b53..26382d5 100644
--- a/tests/test_dbgp_api.py
+++ b/tests/test_dbgp_api.py
@@ -1,4 +1,3 @@
-from . import setup
import unittest
import vdebug.connection
import vdebug.dbgp
diff --git a/tests/test_dbgp_context_property.py b/tests/test_dbgp_context_property.py
index 637b400..9b3a46b 100644
--- a/tests/test_dbgp_context_property.py
+++ b/tests/test_dbgp_context_property.py
@@ -1,4 +1,3 @@
-from . import setup
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 bd317c7..01b5c4a 100644
--- a/tests/test_dbgp_eval_property.py
+++ b/tests/test_dbgp_eval_property.py
@@ -1,4 +1,3 @@
-from . import setup
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 6fa82ed..a877600 100644
--- a/tests/test_dbgp_response.py
+++ b/tests/test_dbgp_response.py
@@ -1,4 +1,3 @@
-from . import setup
import sys
import unittest
import vdebug.dbgp
diff --git a/tests/test_log.py b/tests/test_log.py
index 80db0c1..821f620 100644
--- a/tests/test_log.py
+++ b/tests/test_log.py
@@ -1,4 +1,3 @@
-from . import setup
import sys
import unittest
import vdebug.log
diff --git a/tests/test_opts_options.py b/tests/test_opts_options.py
index 47f0a33..c4e07e1 100644
--- a/tests/test_opts_options.py
+++ b/tests/test_opts_options.py
@@ -1,4 +1,3 @@
-from . import setup
import unittest
from vdebug.opts import Options,OptionsError
diff --git a/tests/test_util_environment.py b/tests/test_util_environment.py
index cf46e06..b0096af 100644
--- a/tests/test_util_environment.py
+++ b/tests/test_util_environment.py
@@ -1,4 +1,3 @@
-from . import setup
import unittest
import vdebug.util
try:
diff --git a/tests/test_util_filepath.py b/tests/test_util_filepath.py
index 8f3de84..97af50c 100644
--- a/tests/test_util_filepath.py
+++ b/tests/test_util_filepath.py
@@ -1,4 +1,3 @@
-from . import setup
import unittest
import vdebug.opts
from vdebug.util import FilePath