# MIT License
# Copyright (c) 2017 MassChallenge, Inc.

from __future__ import unicode_literals

from django.contrib.contenttypes.models import ContentType
from factory import (
    DjangoModelFactory,
    Sequence,
)


class ContentTypeFactory(DjangoModelFactory):
    class Meta:
        model = ContentType

    name = Sequence(lambda n: "test_contenttype{0}".format(n))
    app_label = "mc"
    model = Sequence(lambda n: "test_contenttypemodel{0}".format(n))

@@ -308,71 +308,8 @@
 pe%0A%0A
-    name = Sequence(lambda n: %22test_contenttype%7B0%7D%22.format(n))%0A
     

remove deprecated field from content_type_factory