Skip to content

Commit

Permalink
Add test for set_up_logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tofu-rocketry committed Jul 4, 2024
1 parent 27ff73b commit 820f093
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/test_init_logging.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""Unit tests for ssm/__init__.py."""

import unittest

import ssm


class setUpLoggingTest(unittest.TestCase):
"""Test cases for the set_up_logging function in ssm.__init__."""

def test_none_argurments(self):
"""Check that calling the function with all None args fails."""
self.assertRaises(KeyError, ssm.set_up_logging, None, None, None)


if __name__ == '__main__':
unittest.main()

0 comments on commit 820f093

Please sign in to comment.