Adds helper functions for integration tests.

This commit is contained in:
PhilipWafula 2021-05-17 22:49:29 +03:00
parent c0f578db75
commit f3e06dcd92
Signed by untrusted user: mango-habanero
GPG Key ID: B00CE9034DA19FB7

View File

@ -1,4 +1,5 @@
# standard imports # standard imports
import random
import uuid import uuid
# external imports # external imports
@ -21,9 +22,5 @@ def session_id() -> str:
return uuid.uuid4().hex return uuid.uuid4().hex
def given_name() -> str: def pin_number() -> int:
return fake.first_name() return random.randint(1000, 9999)
def family_name() -> str:
return fake.last_name()