From 332a5c2553db41de777473a1e1be9cd1522c9496 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 31 Mar 2016 18:54:41 +0100 Subject: Move the src directory to poezio, for better cython compatibility. --- test/test_common.py | 2 +- test/test_completion.py | 2 +- test/test_config.py | 2 +- test/test_poopt.py | 2 +- test/test_theming.py | 2 +- test/test_windows.py | 2 +- test/test_xhtml.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'test') 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) -- cgit v1.2.3