Skip to content

Commit de4c17b

Browse files
Remove manual testing cruft.
1 parent 8cdd29c commit de4c17b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tdom/transformer_test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ def Footer(pager, paginate_url, footer_classes=("footer",)) -> Template:
400400
content_t = t"<{Footer} pager={pager} paginate_url={paginate_url} />"
401401
render_api = render_service_factory()
402402
res = render_api.render_template(content_t)
403-
print(res)
404403
assert (
405404
res
406405
== '<div class="footer"><div class="cb tc w-100"><a href="/pages?page=1" class="dib pa1">1</a><a href="/pages?page=2" class="dib pa1">2</a><span class="dib pa1">3</span><a href="/pages?page=4" class="dib pa1">4</a><a href="/pages?page=5" class="dib pa1">5</a><a href="/pages?page=6" class="dib pa1">Next</a></div></div>'
@@ -585,12 +584,6 @@ def HeadingTitle(children: Template) -> Template:
585584
t'<script>document.getElementById("alert-button").addEventListener("click", function (e) {{ alert("{alert_message}"); }})</script>'
586585
t"</body>"
587586
t"</html>")
588-
for i, s in enumerate(page_t.strings):
589-
print (f'{i}:{s}')
590-
591-
for i, ip in enumerate(page_t.interpolations):
592-
print (f'{i}:{ip.value}')
593-
594587
node = node_api.make_node_from_template(page_t)
595588
assert node == Fragment(children=[
596589
DocumentType("html"),

0 commit comments

Comments
 (0)