summaryrefslogtreecommitdiff
path: root/tests/cyclic/bar.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cyclic/bar.py')
-rw-r--r--tests/cyclic/bar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cyclic/bar.py b/tests/cyclic/bar.py
index fed0602..a5e6bf1 100644
--- a/tests/cyclic/bar.py
+++ b/tests/cyclic/bar.py
@@ -30,7 +30,8 @@ class Bar(object):
class BarFactory(factory.Factory):
- FACTORY_FOR = Bar
+ class Meta:
+ model = Bar
y = 13
foo = factory.SubFactory('cyclic.foo.FooFactory')