Upgrade factory-boy to 3.1.0

This commit is contained in:
umgelurgel 2020-11-12 18:53:29 +01:00
parent 3b7329519b
commit 9f3117c615
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ pre-commit==2.8.2 # https://github.com/pre-commit/pre-commit
# Django # Django
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
factory-boy==3.0.1 # https://github.com/FactoryBoy/factory_boy factory-boy==3.1.0 # https://github.com/FactoryBoy/factory_boy
django-debug-toolbar==3.1.1 # https://github.com/jazzband/django-debug-toolbar django-debug-toolbar==3.1.1 # https://github.com/jazzband/django-debug-toolbar
django-extensions==3.0.9 # https://github.com/django-extensions/django-extensions django-extensions==3.0.9 # https://github.com/django-extensions/django-extensions

View File

@ -23,7 +23,7 @@ class UserFactory(DjangoModelFactory):
digits=True, digits=True,
upper_case=True, upper_case=True,
lower_case=True, lower_case=True,
).generate(extra_kwargs={}) ).generate(params={"locale": None})
) )
self.set_password(password) self.set_password(password)