diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2014-11-18 00:35:19 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2014-11-18 00:39:52 +0100 |
commit | 336ea5ac8b2d922fb54f99edd55d4773dd126934 (patch) | |
tree | f46ee3cbbd9f1d6ab4ad4af122b66371cdc2eb85 /tests/test_using.py | |
parent | 13d310fa14f4e4b9a559f8b7887f2a2492357013 (diff) | |
download | factory-boy-336ea5ac8b2d922fb54f99edd55d4773dd126934.tar factory-boy-336ea5ac8b2d922fb54f99edd55d4773dd126934.tar.gz |
Remove deprecated features.
This disables the ``FACTORY_FOR`` syntax and related parameters,
that should be declared through ``class Meta``.
Diffstat (limited to 'tests/test_using.py')
-rw-r--r-- | tests/test_using.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_using.py b/tests/test_using.py index 8aba8b6..7318f2e 100644 --- a/tests/test_using.py +++ b/tests/test_using.py @@ -1798,7 +1798,7 @@ class PostGenerationTestCase(unittest.TestCase): model = TestObject one = 3 two = 2 - three = factory.RelatedFactory(TestRelatedObjectFactory, name='obj') + three = factory.RelatedFactory(TestRelatedObjectFactory, 'obj') obj = TestObjectFactory.build() # Normal fields |