From 6f7d30089841791fb277bc4998a29b9cd91b43c1 Mon Sep 17 00:00:00 2001 From: iamkubi Date: Sun, 15 Oct 2023 08:25:02 -0700 Subject: [PATCH] Fix logger test --- tests/base/api_client_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/base/api_client_test.py b/tests/base/api_client_test.py index 73acf7a..bc48ede 100644 --- a/tests/base/api_client_test.py +++ b/tests/base/api_client_test.py @@ -15,8 +15,8 @@ def test_pterodactyl_client_raises_without_required_params(self): def test_pterodactyl_client_debug_param(self): logger = logging.getLogger() - self.assertEqual(logging.NOTSET, logger.level) + self.assertEqual(logging.ERROR, logger.level) api_client.PterodactylClient('foo', 'bar', debug=True) self.assertEqual(logging.DEBUG, logger.level) api_client.PterodactylClient('foo', 'bar', debug=False) - self.assertEqual(logging.NOTSET, logger.level) + self.assertEqual(logging.ERROR, logger.level)