cic-internal-integration/apps/cic-ussd/tests/fixtures/accounts.py

40 lines
754 B
Python
Raw Normal View History

2021-05-14 09:27:20 +02:00
# standard imports
# external imports
import pytest
# local imports
# test imports
from tests.helpers.accounts import phone_number, session_id
@pytest.fixture(scope='function')
def generate_phone_number() -> str:
return phone_number()
@pytest.fixture(scope='function')
def generate_session_id() -> str:
return session_id()
@pytest.fixture(scope='session')
def first_account_phone_number() -> str:
return phone_number()
@pytest.fixture(scope='session')
def second_account_phone_number() -> str:
return phone_number()
@pytest.fixture(scope='session')
def first_metadata_entry_session_id() -> str:
return session_id()
@pytest.fixture(scope='session')
def second_metadata_entry_session_id() -> str:
return session_id()