Philip/management integration tests

This commit is contained in:
2021-06-03 13:40:51 +00:00
parent 69ae9b7c07
commit ed9e032890
31 changed files with 3437 additions and 124 deletions

View File

@@ -0,0 +1,26 @@
# standard imports
import random
import uuid
# external imports
from faker import Faker
from faker_e164.providers import E164Provider
# local imports
# test imports
fake = Faker()
fake.add_provider(E164Provider)
def phone_number() -> str:
return fake.e164('KE')
def session_id() -> str:
return uuid.uuid4().hex
def pin_number() -> int:
return random.randint(1000, 9999)