]> git.scottworley.com Git - paperdoorknob/blobdiff - paperdoorknob_test.py
Always have Thread.__init__ fetch the HTML
[paperdoorknob] / paperdoorknob_test.py
index 28408d6138003d0ce616bc0e034cb9f9d52a250f..f2cd5f1115e21576d9f771eacfd03d130b93082d 100644 (file)
@@ -45,7 +45,7 @@ class BaseTestProcess(ABC):
             texifier,
             lambda x: x,
             20,
-            ContentOnlyLayout(texifier),
+            ContentOnlyLayout,
             'margin=20mm',
             buf,
             lambda _: None)
@@ -54,12 +54,9 @@ class BaseTestProcess(ABC):
 (\\usepackage{[a-z]+}\n)+\\usepackage\[margin=20mm\]{geometry}
 \\begin{document}
 (.|\n)*
-This is \\href{https://glowfic.com}{glowfic}
-
-You \\emph{sure}\?
-
-Pretty sure.
-
+\\glowhead{}{}{}{}This is \\href{https://glowfic.com}{glowfic}
+\\glowhead{}{}{}{}You \\emph{sure}\?
+\\glowhead{}{}{}{}Pretty sure.
 \\end{document}
 ''', buf.getvalue())
 
@@ -76,7 +73,7 @@ Pretty sure.
             texifier,
             lambda x: x,
             20,
-            ContentOnlyLayout(texifier),
+            ContentOnlyLayout,
             None,
             buf,
             lambda _: None)
@@ -94,7 +91,7 @@ Pretty sure.
                 texifier,
                 lambda x: x,
                 20,
-                BesideIconLayout(texifier),
+                BesideIconLayout,
                 None,
                 out,
                 lambda _: None)