From fbf736ba98960da236c701cbad156f2b0defdbaa Mon Sep 17 00:00:00 2001 From: PhilipWafula Date: Mon, 31 May 2021 15:21:56 +0300 Subject: [PATCH] Adds fixtures. --- apps/cic-ussd/tests/fixtures/integration.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/cic-ussd/tests/fixtures/integration.py b/apps/cic-ussd/tests/fixtures/integration.py index 6e37769a..8797bc73 100644 --- a/apps/cic-ussd/tests/fixtures/integration.py +++ b/apps/cic-ussd/tests/fixtures/integration.py @@ -155,7 +155,7 @@ def second_account_change_location() -> str: @pytest.fixture(scope='session') -def first_account_product() -> str: +def first_account_change_product() -> str: return fake.job() @@ -164,6 +164,16 @@ def second_account_change_product() -> str: 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') def gift_value(load_config): return load_config.get('TEST_GIFT_VALUE')