diff --git a/isso/markup.py b/isso/markup.py index b6e7f9c..c35d0cc 100644 --- a/isso/markup.py +++ b/isso/markup.py @@ -1,7 +1,5 @@ # XXX: BBCode -- http://pypi.python.org/pypi/bbcode -import abc - try: import misaka except ImportError: @@ -10,13 +8,9 @@ except ImportError: class Markup: - __metaclass__ = abc.ABCMeta - - @abc.abstractmethod def __init__(self, conf): return - @abc.abstractmethod def convert(self, text): return text diff --git a/specs/test_comment.py b/specs/test_comment.py index 6159db4..4e5c51f 100644 --- a/specs/test_comment.py +++ b/specs/test_comment.py @@ -18,7 +18,8 @@ class TestComments(unittest.TestCase): def setUp(self): fd, self.path = tempfile.mkstemp() - self.app = Isso({'SQLITE': self.path, 'PRODUCTION': False}) + self.app = Isso({'SQLITE': self.path, 'PRODUCTION': False, + 'MARKUP': 'isso.markup.Markup'}) self.client = Client(self.app, Response) self.get = lambda *x, **z: self.client.get(*x, **z)