MCPcopy Create free account
hub / github.com/etingof/apacheconfig / _make_parser

Method _make_parser

tests/unit/test_parser.py:23–26  ·  view source on GitHub ↗
(self, start='contents', **options)

Source from the content-addressed store, hash-verified

21class ParserTestCase(unittest.TestCase):
22
23 def _make_parser(self, start='contents', **options):
24 ApacheConfigLexer = make_lexer(**options)
25 ApacheConfigParser = make_parser(**options)
26 return ApacheConfigParser(ApacheConfigLexer(), start=start)
27
28 def testUnicodeSupport(self):
29 ApacheConfigLexer = make_lexer()

Callers 2

testHereDocMethod · 0.95

Calls 2

make_lexerFunction · 0.90
make_parserFunction · 0.90

Tested by

no test coverage detected