コード例 #1
0
 def setup_class(cls):
     square.setup_logging(9)
コード例 #2
0
ファイル: test_square.py プロジェクト: stretchcloud/square
    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)