Skip to content

Commit

Permalink
Update test_control.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Jan 18, 2025
1 parent 5bb15a4 commit 61b183f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_control.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest
from requests.exceptions import HTTPError

from tests.conftest import BaseTest
from python3_capsolver.control import Control
Expand Down Expand Up @@ -31,7 +30,7 @@ async def test_aio_get_balance(self):
"""

def test_get_balance_api_key_err(self):
with pytest.raises(HTTPError):
with pytest.raises(ValueError):
Control(api_key=self.get_random_string(36)).get_balance()

async def test_aio_get_balance_api_key_err(self):
Expand Down

0 comments on commit 61b183f

Please sign in to comment.