Skip to content

Commit

Permalink
Fix: Mocking attribute _http_session failed
Browse files Browse the repository at this point in the history
Due to renaming in d2f56b0
  • Loading branch information
1yam authored and hoh committed Aug 19, 2024
1 parent 2173274 commit 04622be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def get(self, *_args, **_kwargs):
http_session = MockHttpSession()

client = AlephHttpClient(api_server="http://localhost")
client.http_session = http_session
client._http_session = http_session

return client

Expand Down

0 comments on commit 04622be

Please sign in to comment.