aboutsummaryrefslogtreecommitdiff
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..8674c4d 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:
+ target = Bar
y = 13
foo = factory.SubFactory('cyclic.foo.FooFactory')