Fix PEP8 and tests.
This commit is contained in:
parent
8363b06fc1
commit
2603d93d69
@ -35,6 +35,7 @@ from openslides.agenda.models import Item
|
|||||||
|
|
||||||
from .exceptions import MotionError, WorkflowError
|
from .exceptions import MotionError, WorkflowError
|
||||||
|
|
||||||
|
|
||||||
class Motion(SlideMixin, models.Model):
|
class Motion(SlideMixin, models.Model):
|
||||||
"""The Motion Class.
|
"""The Motion Class.
|
||||||
|
|
||||||
|
@ -12,7 +12,8 @@ from django.test import TestCase
|
|||||||
|
|
||||||
from openslides.participant.models import User
|
from openslides.participant.models import User
|
||||||
from openslides.config.models import config
|
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):
|
class ModelTest(TestCase):
|
||||||
|
Loading…
Reference in New Issue
Block a user