diff options
Diffstat (limited to 'tests/cyclic/bar.py')
-rw-r--r-- | tests/cyclic/bar.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cyclic/bar.py b/tests/cyclic/bar.py index fed0602..b4f8e0c 100644 --- a/tests/cyclic/bar.py +++ b/tests/cyclic/bar.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 @@ -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') |