From 2b6754adb0f43e1853726f2c936dbf81c1b40736 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 6 Jul 2010 14:09:02 -0400 Subject: Moved HtmlStash and base Prosessor classes to the new util module. --- tests/test_apis.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test_apis.py b/tests/test_apis.py index 3aaa2f9..760afa8 100644 --- a/tests/test_apis.py +++ b/tests/test_apis.py @@ -96,13 +96,13 @@ class TestHtmlStash(unittest.TestCase): """ Test Markdown's HtmlStash. """ def setUp(self): - self.stash = markdown.preprocessors.HtmlStash() + self.stash = markdown.util.HtmlStash() self.placeholder = self.stash.store('foo') def testSimpleStore(self): """ Test HtmlStash.store. """ self.assertEqual(self.placeholder, - markdown.preprocessors.HTML_PLACEHOLDER % 0) + markdown.util.HTML_PLACEHOLDER % 0) self.assertEqual(self.stash.html_counter, 1) self.assertEqual(self.stash.rawHtmlBlocks, [('foo', False)]) @@ -110,7 +110,7 @@ class TestHtmlStash(unittest.TestCase): """ Test HtmlStash.store with additional blocks. """ placeholder = self.stash.store('bar') self.assertEqual(placeholder, - markdown.preprocessors.HTML_PLACEHOLDER % 1) + markdown.util.HTML_PLACEHOLDER % 1) self.assertEqual(self.stash.html_counter, 2) self.assertEqual(self.stash.rawHtmlBlocks, [('foo', False), ('bar', False)]) -- cgit v1.2.3