summaryrefslogtreecommitdiff
path: root/tests/test_containers.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2014-05-18 15:10:56 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2014-05-18 15:10:56 +0200
commit3a5709527d362a960a1a35769375412e4536839e (patch)
tree0d16ff742914585556ccc55ef75cbec162f4a271 /tests/test_containers.py
parentb245a83019a8735d0c80c07275cd426bc60dd9f8 (diff)
downloadfactory-boy-3a5709527d362a960a1a35769375412e4536839e.tar
factory-boy-3a5709527d362a960a1a35769375412e4536839e.tar.gz
Rename 'target' to 'model'.
Diffstat (limited to 'tests/test_containers.py')
-rw-r--r--tests/test_containers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_containers.py b/tests/test_containers.py
index 8a9e990..bd7019e 100644
--- a/tests/test_containers.py
+++ b/tests/test_containers.py
@@ -94,7 +94,7 @@ class LazyStubTestCase(unittest.TestCase):
class RandomObj(object):
pass
- stub = containers.LazyStub({'one': 1, 'two': 2}, target_class=RandomObj)
+ stub = containers.LazyStub({'one': 1, 'two': 2}, model_class=RandomObj)
self.assertIn('RandomObj', repr(stub))
self.assertIn('RandomObj', str(stub))
self.assertIn('one', str(stub))