From 07159f69c269ffadf0269d4cb16d649ec27092e4 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Mon, 4 May 2015 21:37:17 +0200 Subject: [PATCH] models: Decouple fields tests from the model metaclass --- tests/models/test_fields.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/models/test_fields.py b/tests/models/test_fields.py index 6ef10f18..bf842fd5 100644 --- a/tests/models/test_fields.py +++ b/tests/models/test_fields.py @@ -3,15 +3,14 @@ from __future__ import absolute_import, unicode_literals import unittest from mopidy.models.fields import * # noqa: F403 -from mopidy.models.immutable import ImmutableObjectMeta def create_instance(field): """Create an instance of a dummy class for testing fields.""" class Dummy(object): - __metaclass__ = ImmutableObjectMeta attr = field + attr._name = 'attr' return Dummy()