示例#1
0
 def setup_class(cls):
     square.setup_logging(9)
示例#2
0
    def test_setup_logging(self):
        """Basic tests - mostly ensure that function runs."""

        # Test function must accept all log levels.
        for level in range(10):
            square.setup_logging(level)