diff options
Diffstat (limited to 'tests/test_alchemy.py')
-rw-r--r-- | tests/test_alchemy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_alchemy.py b/tests/test_alchemy.py index 4526ad1..b9222eb 100644 --- a/tests/test_alchemy.py +++ b/tests/test_alchemy.py @@ -48,7 +48,7 @@ else: class StandardFactory(SQLAlchemyModelFactory): class Meta: - target = models.StandardModel + model = models.StandardModel sqlalchemy_session = models.session id = factory.Sequence(lambda n: n) @@ -57,7 +57,7 @@ class StandardFactory(SQLAlchemyModelFactory): class NonIntegerPkFactory(SQLAlchemyModelFactory): class Meta: - target = models.NonIntegerPk + model = models.NonIntegerPk sqlalchemy_session = models.session id = factory.Sequence(lambda n: 'foo%d' % n) |