summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-03-31 18:54:41 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-06-11 20:49:43 +0100
commit332a5c2553db41de777473a1e1be9cd1522c9496 (patch)
tree3ee06a59f147ccc4009b35cccfbe2461bcd18310 /test
parentcf44cf7cdec9fdb35caa372563d57e7045dc29dd (diff)
downloadpoezio-332a5c2553db41de777473a1e1be9cd1522c9496.tar.gz
poezio-332a5c2553db41de777473a1e1be9cd1522c9496.tar.bz2
poezio-332a5c2553db41de777473a1e1be9cd1522c9496.tar.xz
poezio-332a5c2553db41de777473a1e1be9cd1522c9496.zip
Move the src directory to poezio, for better cython compatibility.
Diffstat (limited to 'test')
-rw-r--r--test/test_common.py2
-rw-r--r--test/test_completion.py2
-rw-r--r--test/test_config.py2
-rw-r--r--test/test_poopt.py2
-rw-r--r--test/test_theming.py2
-rw-r--r--test/test_windows.py2
-rw-r--r--test/test_xhtml.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/test/test_common.py b/test/test_common.py
index 0b2bd279..97727aaf 100644
--- a/test/test_common.py
+++ b/test/test_common.py
@@ -3,7 +3,7 @@ Test the functions in the `common` module
"""
import sys
-sys.path.append('src')
+sys.path.append('poezio')
import time
import pytest
diff --git a/test/test_completion.py b/test/test_completion.py
index 0e6e0492..54c0f057 100644
--- a/test/test_completion.py
+++ b/test/test_completion.py
@@ -8,7 +8,7 @@ import random
import sys
import os
-sys.path.append('src')
+sys.path.append('poezio')
class ConfigShim(object):
def get(self, *args, **kwargs):
diff --git a/test/test_config.py b/test/test_config.py
index f8d06258..4c87458e 100644
--- a/test/test_config.py
+++ b/test/test_config.py
@@ -8,7 +8,7 @@ import sys
import os
-sys.path.append('src')
+sys.path.append('poezio')
import config
diff --git a/test/test_poopt.py b/test/test_poopt.py
index 9b640ff0..54f466a6 100644
--- a/test/test_poopt.py
+++ b/test/test_poopt.py
@@ -4,7 +4,7 @@ Test of the poopt module
import pytest
import sys
-sys.path.append('src')
+sys.path.append('poezio')
from poopt import cut_text
diff --git a/test/test_theming.py b/test/test_theming.py
index 9cdb4829..b59560b7 100644
--- a/test/test_theming.py
+++ b/test/test_theming.py
@@ -4,7 +4,7 @@ Test the functions in the `theming` module
import sys
import pytest
-sys.path.append('src')
+sys.path.append('poezio')
from theming import dump_tuple, read_tuple
diff --git a/test/test_windows.py b/test/test_windows.py
index 8fb85295..26a426c7 100644
--- a/test/test_windows.py
+++ b/test/test_windows.py
@@ -1,6 +1,6 @@
import pytest
import sys
-sys.path.append('src')
+sys.path.append('poezio')
class ConfigShim(object):
def get(self, *args, **kwargs):
diff --git a/test/test_xhtml.py b/test/test_xhtml.py
index 5afd08ff..b4d6c3da 100644
--- a/test/test_xhtml.py
+++ b/test/test_xhtml.py
@@ -5,7 +5,7 @@ Test the functions in the `xhtml` module
import pytest
import sys
import xml
-sys.path.append('src')
+sys.path.append('poezio')
from xhtml import (poezio_colors_to_html, xhtml_to_poezio_colors,
parse_css, clean_text)