We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c5996 commit 51b9627Copy full SHA for 51b9627
tests/test_module.py
@@ -5,6 +5,7 @@
5
from __future__ import unicode_literals
6
import xml.etree.ElementTree as Etree
7
import htmlement
8
+import examples
9
import tempfile
10
import pytest
11
import io
@@ -340,3 +341,21 @@ def test_parse_filename():
340
341
assert root[0].tag == "body"
342
finally:
343
os.remove(filename)
344
+
345
346
+# ####################### Examples Tests ####################### #
347
348
349
+def test_example_simple():
350
+ # Check that there is no errors
351
+ examples.example_simple()
352
353
354
+def test_example_filter():
355
356
+ examples.example_filter()
357
358
359
+def test_example_complex():
360
361
+ examples.example_complex()
0 commit comments