mirror of
https://github.com/spbleadersofdigtal/backend.git
synced 2024-12-05 00:33:43 +03:00
8 lines
181 B
Python
8 lines
181 B
Python
|
from pitch_deck_generator.users.models import User
|
||
|
|
||
|
|
||
|
def test_user_create(user: User):
|
||
|
password = "123"
|
||
|
user.set_password(password)
|
||
|
assert user.check_password(password)
|