kopia lustrzana https://github.com/wagtail/wagtail
Renames duplicate method on TestSnippetRegistering
rodzic
5618e02e84
commit
af49392442
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue