Adds helper functions for integration tests.
This commit is contained in:
parent
c0f578db75
commit
f3e06dcd92
@ -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()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user