Adds fixtures.
This commit is contained in:
parent
8de6e9876e
commit
fbf736ba98
12
apps/cic-ussd/tests/fixtures/integration.py
vendored
12
apps/cic-ussd/tests/fixtures/integration.py
vendored
@ -155,7 +155,7 @@ def second_account_change_location() -> str:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope='session')
|
@pytest.fixture(scope='session')
|
||||||
def first_account_product() -> str:
|
def first_account_change_product() -> str:
|
||||||
return fake.job()
|
return fake.job()
|
||||||
|
|
||||||
|
|
||||||
@ -164,6 +164,16 @@ def second_account_change_product() -> str:
|
|||||||
return fake.job()
|
return fake.job()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture(scope='session')
|
||||||
|
def first_account_management_session_id_1() -> str:
|
||||||
|
return session_id()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture(scope='session')
|
||||||
|
def second_account_management_session_id_1() -> str:
|
||||||
|
return session_id()
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope='session')
|
@pytest.fixture(scope='session')
|
||||||
def gift_value(load_config):
|
def gift_value(load_config):
|
||||||
return load_config.get('TEST_GIFT_VALUE')
|
return load_config.get('TEST_GIFT_VALUE')
|
||||||
|
Loading…
Reference in New Issue
Block a user