Skip to content

Commit

Permalink
fix unit tests2
Browse files Browse the repository at this point in the history
  • Loading branch information
rcholic committed Jul 14, 2024
1 parent 25ffac3 commit 734e9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ async def test_download_option_chain(httpx_mock: HTTPXMock):

if os.path.exists(Path(token_store.token_output_path)):
os.remove(token_store.token_output_path) # clean up before test
token_store.save_tokens(tokens=mocked_token)

mock_response = {
**mock_option_chain_resp["option_chain_resp"],
Expand Down Expand Up @@ -521,7 +522,6 @@ async def test_download_option_chain(httpx_mock: HTTPXMock):
app_client_id="fake_id",
app_secret="fake_secret",
token_store=token_store,
tokens=mocked_token,
http_client=client2,
)
opt_chain_result2 = cschwab_client2.download_option_chain(
Expand Down

0 comments on commit 734e9e2

Please sign in to comment.