From 2603d93d6908f51e1bbee7d8e39a4f8b04e4fedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Sun, 17 Feb 2013 17:07:44 +0100 Subject: [PATCH] Fix PEP8 and tests. --- openslides/motion/models.py | 1 + tests/motion/test_models.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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):