From c4f536871b48e4ed6712534bb12422af81b97c41 Mon Sep 17 00:00:00 2001 From: Andrei Date: Sat, 18 Jan 2025 03:49:38 +0300 Subject: [PATCH] Update test_control.py --- tests/test_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_control.py b/tests/test_control.py index d106cb76..f00a9baa 100644 --- a/tests/test_control.py +++ b/tests/test_control.py @@ -35,5 +35,5 @@ def test_get_balance_api_key_err(self): Control(api_key=self.get_random_string(36)).get_balance() async def test_aio_get_balance_api_key_err(self): - with pytest.raises(HTTPError): + with pytest.raises(ValueError): await Control(api_key=self.get_random_string(36)).aio_get_balance()