diff --git a/openslides/motion/models.py b/openslides/motion/models.py index d02c8c2ec..24e30c0c9 100644 --- a/openslides/motion/models.py +++ b/openslides/motion/models.py @@ -35,6 +35,7 @@ from openslides.agenda.models import Item from .exceptions import MotionError, WorkflowError + class Motion(SlideMixin, models.Model): """The Motion Class. diff --git a/tests/motion/test_models.py b/tests/motion/test_models.py index 2c62bb8e5..9c647f296 100644 --- a/tests/motion/test_models.py +++ b/tests/motion/test_models.py @@ -12,7 +12,8 @@ from django.test import TestCase from openslides.participant.models import User from openslides.config.models import config -from openslides.motion.models import Motion, Workflow, State, WorkflowError +from openslides.motion.models import Motion, Workflow, State +from openslides.motion.exceptions import WorkflowError class ModelTest(TestCase):