Home
last modified time | relevance | path

Searched refs:branchspec (Results 1 – 2 of 2) sorted by relevance

/dports/net-mgmt/py-ciscoconfparse/ciscoconfparse-1.5.51/tests/
H A Dtest_CiscoConfParse.py704 branchspec = (r"ltm\spool", r"members", r"\S+?:\d+", r"state\sup")
705 test_result = parse.find_object_branches(branchspec=branchspec)
760 test_result = parse.find_object_branches(branchspec=branchspec)
784 branchspec = (
788 test_result = parse_c01.find_object_branches(branchspec=branchspec)
856 branchspec = (r"this", r"dont", "match", "at", "all")
857 test_result = parse_c01.find_object_branches(branchspec=branchspec)
873 branchspec = (r"^this", r"^\s+atest", r"^\s+matchthis")
874 test_result = parse.find_object_branches(branchspec, allow_none=True)
896 branchspec = (r"^this", r"^\s+atest", r"^\s+matchthis")
[all …]
/dports/net-mgmt/py-ciscoconfparse/ciscoconfparse-1.5.51/ciscoconfparse/
H A Dciscoconfparse.py608 def find_object_branches(self, branchspec=(), regex_flags=0, allow_none=True): argument
692 branchspec, tuple
694 assert branchspec != (), "find_object_branches(): branchspec must not be empty"
725 for idx, childspec in enumerate(branchspec):