Skip to content

Commit 75b21bd

Browse files
committed
WIP: refactor
1 parent 17041df commit 75b21bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

creole/setup_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def get_long_description(package_root, filename="README.creole", raise_errors=No
118118
else:
119119
if raise_errors:
120120
# Test created ReSt code like PyPi does it.
121-
from creole.rest2html.pypi_rest2html import pypi_rest2html
121+
from creole.rest_tools.pypi_rest2html import pypi_rest2html
122122
try:
123123
pypi_rest2html(long_description_rest_unicode)
124124
except SystemExit as e:

creole/tests/test_setup_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_get_long_description_without_raise_errors(self):
6060
long_description = get_long_description(CREOLE_PACKAGE_ROOT, raise_errors=False)
6161
self.assertIn("=====\nabout\n=====\n\n", long_description)
6262
# Test created ReSt code
63-
from creole.rest2html.clean_writer import rest2html
63+
from creole.rest_tools.clean_writer import rest2html
6464
html = rest2html(long_description)
6565
self.assertIn("<h1>about</h1>\n", html)
6666

creole/tests/utils/base_unittest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
from creole import creole2html, html2creole, html2textile, html2rest
3737

3838
try:
39-
from creole.rest2html.clean_writer import rest2html
39+
from creole.rest_tools.clean_writer import rest2html
4040
except DocutilsImportError as err:
4141
REST_INSTALLED = False
4242
warnings.warn("Can't run all ReSt unittests: %s" % err)

0 commit comments

Comments
 (0)