fix code formatting

This commit is contained in:
Mira Weller
2025-01-13 15:15:21 +01:00
parent 0c50d88fec
commit eceed8df68
+6 -1
View File
@@ -2,7 +2,9 @@ from unittest import mock
import pytest
from pretix.base.logentrytypes import LogEntryTypeRegistry, LogEntryType, ItemLogEntryType
from pretix.base.logentrytypes import (
ItemLogEntryType, LogEntryType, LogEntryTypeRegistry,
)
from pretix.base.signals import Registry
@@ -12,18 +14,21 @@ def test_registry_classes():
@animal_type_registry.register
class Cat:
classis = 'mammalia'
def make_sound(self):
return "meow"
@animal_type_registry.register
class Dog:
classis = 'mammalia'
def make_sound(self):
return "woof"
@animal_type_registry.register
class Cricket:
classis = 'insecta'
def make_sound(self):
return "chirp"