예제 #1
0
파일: test_output.py 프로젝트: kkale/httpie
 def test_get_lexer_not_found(self):
     assert get_lexer('xxx/yyy') is None
예제 #2
0
 def test_get_lexer_not_found(self):
     assert get_lexer('xxx/yyy') is None
예제 #3
0
파일: test_output.py 프로젝트: kkale/httpie
 def test_get_lexer(self, mime):
     lexer = get_lexer(mime)
     assert lexer is not None
     assert lexer.name == 'JSON'
예제 #4
0
 def test_get_lexer(self, mime):
     lexer = get_lexer(mime)
     assert lexer is not None
     assert lexer.name == 'JSON'