diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/docx/__init__.py | 0 | ||||
| -rw-r--r-- | tests/docx/docx_tests.py (renamed from tests/docx_tests.py) | 4 | ||||
| -rw-r--r-- | tests/docx/xmlparser_tests.py (renamed from tests/xmlparser_tests.py) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/docx/__init__.py b/tests/docx/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/docx/__init__.py diff --git a/tests/docx_tests.py b/tests/docx/docx_tests.py index 792ff14..9e9efe2 100644 --- a/tests/docx_tests.py +++ b/tests/docx/docx_tests.py @@ -1,8 +1,8 @@ from nose.tools import istest, assert_equal from mammoth import docx, documents -from mammoth.xmlparser import element as xml_element, text as xml_text -from .testing import test_path +from mammoth.docx.xmlparser import element as xml_element, text as xml_text +from ..testing import test_path @istest class ReadTests(object): diff --git a/tests/xmlparser_tests.py b/tests/docx/xmlparser_tests.py index 33563dd..5e33778 100644 --- a/tests/xmlparser_tests.py +++ b/tests/docx/xmlparser_tests.py @@ -2,7 +2,7 @@ import io from nose.tools import istest, assert_equal -from mammoth.xmlparser import parse_xml, element as xml_element, text as xml_text +from mammoth.docx.xmlparser import parse_xml, element as xml_element, text as xml_text @istest |
