aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-09-13 15:37:25 +0100
committerMichael Williamson <mike@zwobble.org>2015-09-13 15:37:25 +0100
commit484f7ae1183835cd2341efa5bb1b2fcae81ec266 (patch)
tree46d3c128676f0389613c12718dc04620755a5f0e /tests
parentebadcffb1155fc1731279a83066b352d3b6d21fe (diff)
Explicitly use HtmlWriter in HTML generation tests
Diffstat (limited to 'tests')
-rw-r--r--tests/html_generation_tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/html_generation_tests.py b/tests/html_generation_tests.py
index 2375564..20d9640 100644
--- a/tests/html_generation_tests.py
+++ b/tests/html_generation_tests.py
@@ -1,7 +1,8 @@
from nose.tools import istest, assert_equal
from mammoth.html_generation import HtmlGenerator, satisfy_html_path, append_html_path
-from mammoth import html_paths, writers
+from mammoth import html_paths
+from mammoth.writers import HtmlWriter
@istest
@@ -184,4 +185,4 @@ class AppendPathTests(object):
def _create_html_generator():
- return HtmlGenerator(writers.writer)
+ return HtmlGenerator(HtmlWriter)