File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ class name.
4747 from pytest_factoryboy import register
4848
4949 class AuthorFactory (factory .Factory ):
50-
5150 class Meta :
5251 model = Author
5352
@@ -74,7 +73,6 @@ class name.
7473
7574 @register
7675 class AuthorFactory (factory .Factory ):
77-
7876 class Meta :
7977 model = Author
8078
@@ -156,7 +154,6 @@ factories/__init__.py:
156154
157155
158156 class AuthorFactory (factory .django .DjangoModelFactory ):
159-
160157 """ Author factory."""
161158
162159 name = factory.LazyAttribute(lambda x : faker.name())
@@ -166,7 +163,6 @@ factories/__init__.py:
166163
167164
168165 class BookFactory (factory .django .DjangoModelFactory ):
169-
170166 """ Book factory."""
171167
172168 title = factory.LazyAttribute(lambda x : faker.sentence(nb_words = 4 ))
@@ -309,20 +305,17 @@ pytest-factoryboy is trying to detect cycles and resolve post-generation depende
309305
310306
311307 class Foo (object ):
312-
313308 def __init__ (self , value ):
314309 self .value = value
315310
316311
317312 class Bar (object ):
318-
319313 def __init__ (self , foo ):
320314 self .foo = foo
321315
322316
323317 @register
324318 class FooFactory (factory .Factory ):
325-
326319 """ Foo factory."""
327320
328321 class Meta :
@@ -336,7 +329,6 @@ pytest-factoryboy is trying to detect cycles and resolve post-generation depende
336329
337330
338331 class BarFactory (factory .Factory ):
339-
340332 """ Bar factory."""
341333
342334 foo = factory.SubFactory(FooFactory)
You can’t perform that action at this time.
0 commit comments