Adds fixtures.

This commit is contained in:
2021-05-31 15:21:56 +03:00
parent 8de6e9876e
commit fbf736ba98

View File

@@ -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')