Adds accounts fixtures.

This commit is contained in:
PhilipWafula 2021-05-14 10:27:20 +03:00
parent c8adfb7f19
commit a17da7b91b
Signed by untrusted user: mango-habanero
GPG Key ID: B00CE9034DA19FB7

View File

@ -0,0 +1,39 @@
# 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()