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
import random
import uuid
# external imports
@ -21,9 +22,5 @@ def session_id() -> str:
return uuid.uuid4().hex
def given_name() -> str:
return fake.first_name()
def family_name() -> str:
return fake.last_name()
def pin_number() -> int:
return random.randint(1000, 9999)