From bf40ecc3a19345ad56beca7082b695b789a252a7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 24 Sep 2019 10:42:46 +0200 Subject: Remove (for now) ContentType from serialization --- ishtar_common/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ishtar_common/tests.py') diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index 4596f9b5e..9b7080387 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -714,10 +714,11 @@ class SerializationTest(GenericSerializationTest, TestCase): from archaeological_finds.models import MaterialTypeQualityType, \ ObjectTypeQualityType, AlterationType, AlterationCauseType, \ TreatmentEmergencyType, CommunicabilityType + from archaeological_operations.models import CulturalAttributionType for model in (models.LicenseType, MaterialTypeQualityType, ObjectTypeQualityType, AlterationType, AlterationCauseType, TreatmentEmergencyType, - CommunicabilityType): + CommunicabilityType, CulturalAttributionType): model.objects.create(txt_idx="test", label="Test") def test_type_serialization(self): -- cgit v1.2.3