Beispiel #1
0
 def test_verbose_level_six(self):
     console_detail, file_detail = set_log_levels(6)
     self.assertEqual(console_detail, 2)
     self.assertEqual(file_detail, 5)
Beispiel #2
0
 def test_verbose_level_three(self):
     console_detail, file_detail = set_log_levels(2)
     self.assertEqual(console_detail, 2)
     self.assertEqual(file_detail, 3)
Beispiel #3
0
 def test_verbose_level_four(self):
     console_detail, file_detail = set_log_levels(4)
     self.assertEqual(console_detail, 2)
     self.assertEqual(file_detail, 4)
Beispiel #4
0
 def test_verbose_level_zero(self):
     console_detail, file_detail = set_log_levels(0)
     self.assertEqual(console_detail, 0)
     self.assertEqual(file_detail, 3)
Beispiel #5
0
 def test_verbose_level_six(self):
     console_detail, file_detail = set_log_levels(6)
     self.assertEqual(console_detail, 2)
     self.assertEqual(file_detail, 5)
Beispiel #6
0
 def test_verbose_level_four(self):
     console_detail, file_detail = set_log_levels(4)
     self.assertEqual(console_detail, 2)
     self.assertEqual(file_detail, 4)
Beispiel #7
0
 def test_verbose_level_three(self):
     console_detail, file_detail = set_log_levels(2)
     self.assertEqual(console_detail, 2)
     self.assertEqual(file_detail, 3)
Beispiel #8
0
 def test_verbose_level_zero(self):
     console_detail, file_detail = set_log_levels(0)
     self.assertEqual(console_detail, 0)
     self.assertEqual(file_detail, 3)