diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-12-01 11:47:48 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-12-01 11:47:48 +0000 |
| commit | f8d72dbba832db282a3ec04a5108fbd090f49a4f (patch) | |
| tree | e86971aec308963c55afde6263091f6591bb08d8 /tests | |
| parent | 833c867189d757efb5b13e1e783869a4039860de (diff) | |
Move docx reading into separate package
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 |
