summaryrefslogtreecommitdiff
path: root/tests/cyclic/foo.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cyclic/foo.py')
-rw-r--r--tests/cyclic/foo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cyclic/foo.py b/tests/cyclic/foo.py
index e584ed1..62e58c0 100644
--- a/tests/cyclic/foo.py
+++ b/tests/cyclic/foo.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright (c) 2011-2013 Raphaël Barrois
+# Copyright (c) 2011-2015 Raphaël Barrois
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -32,7 +32,8 @@ class Foo(object):
class FooFactory(factory.Factory):
- FACTORY_FOR = Foo
+ class Meta:
+ model = Foo
x = 42
bar = factory.SubFactory(bar_mod.BarFactory)