@@ -27,8 +27,6 @@ def event_loop() -> Iterator[asyncio.AbstractEventLoop]:
27
27
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
28
28
29
29
access_token = "My Access Token"
30
- client_id = "4ab15e51-11ad-49f4-acae-f343b7794375"
31
- client_secret = "My Client Secret"
32
30
33
31
34
32
@pytest .fixture (scope = "session" )
@@ -37,13 +35,7 @@ def client(request: FixtureRequest) -> Iterator[Finch]:
37
35
if not isinstance (strict , bool ):
38
36
raise TypeError (f"Unexpected fixture parameter type { type (strict )} , expected { bool } " )
39
37
40
- with Finch (
41
- base_url = base_url ,
42
- access_token = access_token ,
43
- client_id = client_id ,
44
- client_secret = client_secret ,
45
- _strict_response_validation = strict ,
46
- ) as client :
38
+ with Finch (base_url = base_url , access_token = access_token , _strict_response_validation = strict ) as client :
47
39
yield client
48
40
49
41
@@ -53,11 +45,5 @@ async def async_client(request: FixtureRequest) -> AsyncIterator[AsyncFinch]:
53
45
if not isinstance (strict , bool ):
54
46
raise TypeError (f"Unexpected fixture parameter type { type (strict )} , expected { bool } " )
55
47
56
- async with AsyncFinch (
57
- base_url = base_url ,
58
- access_token = access_token ,
59
- client_id = client_id ,
60
- client_secret = client_secret ,
61
- _strict_response_validation = strict ,
62
- ) as client :
48
+ async with AsyncFinch (base_url = base_url , access_token = access_token , _strict_response_validation = strict ) as client :
63
49
yield client
0 commit comments