Skip to content

Commit

Permalink
fix: repaired test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L committed Feb 23, 2023
1 parent 42bface commit ecb6dfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ async def test_get_sc_web_token_wrong_login():
async def test_ga_power_get_jwt_cookie():
with patch(
"src.southern_company_api.parser.aiohttp.ClientSession.post"
) as mock_post:
) as mock_post, patch(
"src.southern_company_api.parser.SouthernCompanyAPI.authenticate"
):
mock_post.return_value = MockResponse(
"", 200, ga_power_southern_jwt_cookie_header, ""
)
Expand Down

0 comments on commit ecb6dfb

Please sign in to comment.