Name Description Size
__init__.py 63
catalog
commands.json 549
download.py Score how much we like each filename, lower wins, None rejects 6185
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. 11092
jsonlib.py 2901
log.py 212
manifest.py Dictionary subclass containing a TypeData instance for each test type, keyed by type name 16369
requirements.txt 18
sourcefile.py Given a string `s` that ends with `old`, replace that occurrence of `old` with `new`. 39480
testpaths.py 3846
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. 10904
update.py 3460
utils.py 2751
vcs.py get a set of files which have changed between HEAD and working copy 11040
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. 5428