Example #1
0
 def test_valid_log_level_lowercase(self):
     "Tests the log levels lowercased"
     with pytest.raises(EnvironmentError):
         config.valid_log_level("foo")
     config.valid_log_level("info")
Example #2
0
 def test_valid_log_level(self):
     "Tests the log levels"
     with pytest.raises(EnvironmentError):
         config.valid_log_level("foo")
     config.valid_log_level("INFO")