summaryrefslogtreecommitdiff
path: root/markupsafe/tests.py
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2010-08-11 10:16:20 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2010-08-11 10:16:20 +0200
commit4fa38b6fb0923789b2a9e6c7f980687c1725384d (patch)
tree398a3294f1e72d7589060ffca4df47fe433ecc22 /markupsafe/tests.py
parent5f853161c1041ccff04987e0fa736ebe2eb62e17 (diff)
downloadmarkupsafe-4fa38b6fb0923789b2a9e6c7f980687c1725384d.tar.gz
Fixed a tiny issue with __all__0.9.3
Diffstat (limited to 'markupsafe/tests.py')
-rw-r--r--markupsafe/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/markupsafe/tests.py b/markupsafe/tests.py
index 51b7bb4..7c81cda 100644
--- a/markupsafe/tests.py
+++ b/markupsafe/tests.py
@@ -40,6 +40,11 @@ class MarkupTestCase(unittest.TestCase):
assert Markup("<em>Foo &amp; Bar</em>").striptags() == "Foo & Bar"
assert Markup("&lt;test&gt;").unescape() == "<test>"
+ def test_all_set(self):
+ import markupsafe as markup
+ for item in markup.__all__:
+ getattr(markup, item)
+
class MarkupLeakTestCase(unittest.TestCase):