Skip to content

Commit 7ecdfa4

Browse files
committed
test: include fixture for flagd provider
Signed-off-by: Tom Carrio <[email protected]>
1 parent 4565d89 commit 7ecdfa4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/providers/conftest.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import pytest
2+
3+
from open_feature import open_feature_api as api
4+
from open_feature_contrib.providers.flagd import FlagDProvider
5+
6+
@pytest.fixture()
7+
def flagd_provider_client():
8+
api.set_provider(FlagDProvider())
9+
return api.get_client()

0 commit comments

Comments
 (0)