class LoggingTestCase(unittest.TestCase):

    def setUp(self):
        self.p = LoggingPage()

    def test_log_to_file_and_screen(self):
        self.p.log_warning("hello world")
class LoggingTestCase(unittest.TestCase):
    def setUp(self):
        self.p = LoggingPage()

    def test_log_to_file_and_screen(self):
        self.p.log_warning("hello world")
Example #5
0
 def test_log_at_threshold(self):
     LoggingPage().log_info()
Example #6
0
 def test_log_at_threshold(self):
     LoggingPage().log_info_is_console_false()
 def test_log_below_threshold(self):
     LoggingPage().log_debug()
 def test_log_below_threshold(self):
     LoggingPage().log_debug_is_console_false()