aboutsummaryrefslogtreecommitdiff
path: root/tests/cyclic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cyclic')
-rw-r--r--tests/cyclic/bar.py2
-rw-r--r--tests/cyclic/foo.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/cyclic/bar.py b/tests/cyclic/bar.py
index 8674c4d..a5e6bf1 100644
--- a/tests/cyclic/bar.py
+++ b/tests/cyclic/bar.py
@@ -31,7 +31,7 @@ class Bar(object):
class BarFactory(factory.Factory):
class Meta:
- target = Bar
+ model = Bar
y = 13
foo = factory.SubFactory('cyclic.foo.FooFactory')
diff --git a/tests/cyclic/foo.py b/tests/cyclic/foo.py
index 5310b1e..18de362 100644
--- a/tests/cyclic/foo.py
+++ b/tests/cyclic/foo.py
@@ -33,7 +33,7 @@ class Foo(object):
class FooFactory(factory.Factory):
class Meta:
- target = Foo
+ model = Foo
x = 42
bar = factory.SubFactory(bar_mod.BarFactory)