Name Description Size
__init__.py 63
catalog
commands.json 715
download.py Score how much we like each filename, lower wins, None rejects 5866
item.py Custom metaclass that registers all the subclasses in the item_types dictionary according to the value of their item_type attribute, and otherwise behaves like an ABCMeta. 11630
jsonlib.py 2637
log.py 182
manifest.py Dictionary subclass containing a TypeData instance for each test type, keyed by type name 16154
mputil.py 587
requirements.txt 18
sourcefile.py Given a string `s` that ends with `old`, replace that occurrence of `old` with `new`. 41516
spec.py 2680
testpaths.py 3486
tests
typedata.py Dict-like object containing the TestItems for each test type. Loading an actual Item class for each test is unnecessarily slow, so this class allows lazy-loading of the test items. When the manifest is loaded we store the raw json corresponding to the test type, and only create an Item subclass when the test is accessed. In order to remain API-compatible with consumers that depend on getting an Item from iteration, we do egerly load all items when iterating over the class. 10100
update.py 3840
utils.py 2377
vcs.py get a set of files which have changed between HEAD and working copy 11796
XMLParser.py An XML parser with support for XHTML DTDs and all Python-supported encodings This implements the API defined by xml.etree.ElementTree.XMLParser, but supports XHTML DTDs (therefore allowing XHTML entities) and supports all encodings Python does, rather than just those supported by expat. 5030