File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- import asyncio
21from typing import Optional , Union
32
43import pytest
54
6- from openfeature .api import OpenFeatureClient , get_client , set_provider
5+ from openfeature .api import get_client , set_provider
76from openfeature .evaluation_context import EvaluationContext
87from openfeature .flag_evaluation import FlagResolutionDetails
98from openfeature .provider import AbstractProvider , Metadata
@@ -127,9 +126,9 @@ async def resolve_boolean_details_async(
127126
128127 # Then
129128 # assert
130- assert str (exception .value ). startswith (
131- "Can't instantiate abstract class AsyncProvider with abstract methods resolve_boolean_details"
132- )
129+ exception_message = str (exception .value )
130+ assert exception_message . startswith ( "Can't instantiate abstract class AsyncProvider" )
131+ assert exception_message . __contains__ ( "resolve_boolean_details" )
133132
134133
135134@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments