Ver a proveniência

Upgrade packages for backend

pull/604/head
Guillaume Vincent há 3 anos
ascendente
cometimento
306cba1bc4
2 ficheiros alterados com 8 adições e 7 eliminações
  1. +4
    -3
      containers/backend/api/tests/factories.py
  2. +4
    -4
      containers/backend/requirements.txt

+ 4
- 3
containers/backend/api/tests/factories.py Ver ficheiro

@@ -1,9 +1,10 @@
import factory
from factory.django import DjangoModelFactory

from api import models


class UserFactory(factory.DjangoModelFactory):
class UserFactory(DjangoModelFactory):
class Meta:
model = models.LessPassUser

@@ -16,7 +17,7 @@ class AdminFactory(UserFactory):
is_admin = True


class PasswordFactory(factory.DjangoModelFactory):
class PasswordFactory(DjangoModelFactory):
class Meta:
model = models.Password

@@ -25,7 +26,7 @@ class PasswordFactory(factory.DjangoModelFactory):
site = "lesspass.com"


class EncryptedPasswordProfileFactory(factory.DjangoModelFactory):
class EncryptedPasswordProfileFactory(DjangoModelFactory):
class Meta:
model = models.EncryptedPasswordProfile



+ 4
- 4
containers/backend/requirements.txt Ver ficheiro

@@ -1,10 +1,10 @@
Django==3.1.6
Django==3.1.7
django-cors-middleware==1.5.0
djangorestframework==3.11.0
djangorestframework==3.12.2
djangorestframework-simplejwt==4.6.0
djoser==2.0.3
djoser==2.1.0
envparse==0.2.0
gunicorn==20.0.4
psycopg2-binary==2.8.6
# tests
factory-boy==2.12.0
factory-boy==3.2.0

Carregando…
Cancelar
Guardar