Skip to content

Commit

Permalink
Update test_geetest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Dec 6, 2023
1 parent f200a51 commit 5722ff0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_geetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_wrong_method_arg(self):
)

def test_empty_challenge(self):
with pytest.raises(ValueError):
with pytest.raises(TypeError):
GeeTest(
rucaptcha_key=self.RUCAPTCHA_KEY,
gt=self.gt,
Expand All @@ -163,8 +163,8 @@ def test_empty_challenge(self):
method=GeetestEnm.GeeTestTaskProxyless.value,
).captcha_handler()

async def test_empty_challenge_aio(self):
with pytest.raises(ValueError):
async def test_aio_empty_challenge(self):
with pytest.raises(TypeError):
await GeeTest(
rucaptcha_key=self.RUCAPTCHA_KEY,
gt=self.gt,
Expand Down

0 comments on commit 5722ff0

Please sign in to comment.