Skip to content

Commit

Permalink
Fix logger test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkubi committed Oct 15, 2023
1 parent 44ebaac commit 6f7d300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/base/api_client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 6f7d300

Please sign in to comment.