From 1918cd26a16bf6051b3fcc791e1f260bad846c72 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 20 Aug 2014 14:32:09 -0400 Subject: Refactored test framework to use YAML config files rather than INI. Fixes #333. --- tests/plugins.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/plugins.py') diff --git a/tests/plugins.py b/tests/plugins.py index bbeed60..12bac55 100644 --- a/tests/plugins.py +++ b/tests/plugins.py @@ -1,8 +1,12 @@ import traceback -from .util import MarkdownSyntaxError from nose.plugins import Plugin from nose.plugins.errorclass import ErrorClass, ErrorClassPlugin + +class MarkdownSyntaxError(Exception): + pass + + class Markdown(ErrorClassPlugin): """ Add MarkdownSyntaxError and ensure proper formatting. """ mdsyntax = ErrorClass(MarkdownSyntaxError, -- cgit v1.2.3