Skip to content

Commit 04622be

Browse files
1yamhoh
authored andcommitted
Fix: Mocking attribute _http_session failed
Due to renaming in d2f56b0
1 parent 2173274 commit 04622be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def get(self, *_args, **_kwargs):
274274
http_session = MockHttpSession()
275275

276276
client = AlephHttpClient(api_server="http://localhost")
277-
client.http_session = http_session
277+
client._http_session = http_session
278278

279279
return client
280280

0 commit comments

Comments
 (0)