diff options
author | Waylan Limberg <waylan@gmail.com> | 2010-09-20 15:29:03 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2010-09-20 15:29:03 -0400 |
commit | e2a79787f426bef4c2455d235252362586838773 (patch) | |
tree | 86a0daa8424c5527e726cf58045f8ae3bd51e156 /tests/test_apis.py | |
parent | af98c981e8540809938952ee549baf65bb951116 (diff) | |
parent | 5366b6908de0daa389ac514eb92c8db3e04148db (diff) | |
download | markdown-e2a79787f426bef4c2455d235252362586838773.tar.gz markdown-e2a79787f426bef4c2455d235252362586838773.tar.bz2 markdown-e2a79787f426bef4c2455d235252362586838773.zip |
Merge branch 'master' of git@gitorious.org:python-markdown/mainline
Diffstat (limited to 'tests/test_apis.py')
-rw-r--r-- | tests/test_apis.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_apis.py b/tests/test_apis.py index e420c2a..51f4e73 100644 --- a/tests/test_apis.py +++ b/tests/test_apis.py @@ -249,13 +249,13 @@ class TestErrors(unittest.TestCase): def testLoadExtensionFailure(self): """ Test failure of an extension to load. """ self.assertRaises(MarkdownWarning, - markdown.extensions.load_extension, 'non_existant_ext') + markdown.Markdown, extensions=['non_existant_ext']) def testLoadBadExtension(self): """ Test loading of an Extension with no makeExtension function. """ _create_fake_extension(name='fake', has_factory_func=False) self.assertRaises(MarkdownException, - markdown.extensions.load_extension, 'fake') + markdown.Markdown, extensions=['fake']) def testNonExtension(self): """ Test loading a non Extension object as an extension. """ |