# -*- coding: utf-8 -*-
import factory

from .models import Secret


class SecretFactory(factory.DjangoModelFactory):
    """DjangoModelFactory for object Secret."""

    name = factory.Faker('name')
    text = factory.Faker('bs')

    class Meta:
        model = Secret

@@ -31,16 +31,62 @@
  factory
+%0Afrom factory.django import DjangoModelFactory
 %0A%0Afrom .
@@ -128,24 +128,16 @@
 Factory(
-factory.
 DjangoMo

fix for new version of factoryboy