예제 #1
0
파일: test_config.py 프로젝트: kiip/bloomd
 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")
예제 #2
0
파일: test_config.py 프로젝트: kiip/bloomd
 def test_valid_log_level(self):
     "Tests the log levels"
     with pytest.raises(EnvironmentError):
         config.valid_log_level("foo")
     config.valid_log_level("INFO")