From 1f09d6af780f9db39beb5dddb40aaf70679c1f6e Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 12 Nov 2015 11:51:33 +0100 Subject: [PATCH] Rename parse_failure test function --- test/test_chordpro/test_parser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_chordpro/test_parser.py b/test/test_chordpro/test_parser.py index f369748c..6de149ac 100644 --- a/test/test_chordpro/test_parser.py +++ b/test/test_chordpro/test_parser.py @@ -114,7 +114,7 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): """Return a function testing that `base` parsing fails. """ - def test_parse_render(self): + def test_parse_failure(self): """Test that `base` parsing fails.""" sourcename = "{}.source".format(base) with self.chdir(): @@ -122,10 +122,10 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): parser = self.song_plugins[LANGUAGES['sgc']]['sgc'] self.assertRaises(SyntaxError, parser, sourcename, self.config) - test_parse_render.__doc__ = ( + test_parse_failure.__doc__ = ( "Test that '{base}' parsing fails." ).format(base=os.path.basename(base)) - return test_parse_render + return test_parse_failure @classmethod def _overwrite_clrf(cls):