From 67af6b44811ad212f15ec5078e81d2e5327ce889 Mon Sep 17 00:00:00 2001 From: ptiurin Date: Mon, 4 Dec 2023 18:38:28 +0000 Subject: [PATCH] fix fixture --- tests/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 18ec887d2..e6ff64fd0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -53,3 +53,8 @@ def dbt_profile_data(dbt_profile_target, profiles_config_update): if profiles_config_update: profile.update(profiles_config_update) return profile + + +@pytest.fixture(scope='class') +def profile_user(dbt_profile_target): + return dbt_profile_target.get('user', dbt_profile_target.get('client_id'))