Skip to content

Commit

Permalink
Add info if python-creole is not installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
jedie committed Sep 3, 2012
1 parent 66926a6 commit 2998390
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion creole/tests/all_tests.py
Expand Up @@ -5,7 +5,7 @@
collects all existing unittests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyleft: 2008-2011 by python-creole team, see AUTHORS for more details.
:copyleft: 2008-2012 by python-creole team, see AUTHORS for more details.
:license: GNU GPL v3 or above, see LICENSE for more details.
"""

Expand All @@ -17,6 +17,12 @@
import time
import unittest

try:
import creole
except ImportError as err:
# running tests, but creole is not in sys.path
raise ImportError("Seems that pyhton-creole is not installed, correctly: %s" % err)

from creole.tests.test_creole2html import TestCreole2html, TestCreole2htmlMarkup, TestStr2Dict, TestDict2String
from creole.tests.test_cross_compare_all import CrossCompareTests
from creole.tests.test_cross_compare_creole import CrossCompareCreoleTests
Expand Down

0 comments on commit 2998390

Please sign in to comment.