diff --git a/wagtail/wagtailsnippets/tests.py b/wagtail/wagtailsnippets/tests.py index 55b79f5949..7386f31140 100644 --- a/wagtail/wagtailsnippets/tests.py +++ b/wagtail/wagtailsnippets/tests.py @@ -188,7 +188,7 @@ class TestSnippetRegistering(TestCase): self.assertIn(RegisterFunction, SNIPPET_MODELS) - def test_register_function(self): + def test_register_decorator(self): @register_snippet class RegisterDecorator(models.Model): pass