commit bff816b0d1d48c4defded0c86f1203f8ba3dfeb7 Author: hiro hiro@torproject.org Date: Tue Feb 5 19:12:59 2019 +0100
Import ilv PR introduce major refactoring and restructure to use Twisted Update code and repository structure Lay foundation to add testing and testing coverage --- .coveragerc | 34 + .gitignore | 5 + AUTHORS | 1 + Makefile | 34 + TAGS | 44745 +++++++++++++++++++++++++++++ bin/gettor_service | 39 + config/blacklist.cfg | 6 - config/core.cfg | 12 - config/smtp.cfg | 17 - config/{tor-mirrors => tor-mirrors.json} | 0 config/xmpp.cfg | 21 - dev_scripts/create_db.py | 58 - INSTALL-SMTP => doc/INSTALL-SMTP | 0 gettor.conf.json | 10 + gettor/__init__.py | 18 +- gettor/core.py | 481 - gettor/main.py | 38 + gettor/parse/__init__.py | 1 + gettor/parse/email.py | 217 + gettor/services/__init__.py | 63 + gettor/services/email/sendmail.py | 226 + gettor/{ => services/twitter}/twitter.py | 2 +- gettor/{ => services/xmpp}/xmpp.py | 2 +- gettor/smtp.py | 535 - gettor/utils.py | 131 - gettor/{ => utils}/blacklist.py | 2 +- gettor/utils/commons.py | 58 + gettor/{ => utils}/db.py | 7 +- gettor/utils/options.py | 30 + gettor/utils/settings.py | 62 + gettor/utils/strings.py | 122 + gettor/{ => web}/http.py | 2 +- scripts/create_db | 154 + scripts/gettor | 30 + setup.py | 257 + {css => share/css}/bootstrap.min.css | 0 {css => share/css}/gettor.css | 0 share/locale/available_locales.json | 3 + share/locale/en.json | 12 + share/version.txt | 1 + gettor.conf => test/__init__.py | 0 test/test_email_service.py | 27 + 42 files changed, 46192 insertions(+), 1271 deletions(-)
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..b9e8253 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,34 @@ +[run] +source = gettor +branch = True +#parallel = True +timid = False + +[report] +omit = + */_langs* + */_version* + */__init__* + */sitecustomize* + */test/* +# Regexes for lines to exclude from report generation: +exclude_lines = + pragma: no cover + # don't complain if the code doesn't hit unimplemented sections: + raise NotImplementedError + pass + # don't complain if non-runnable or debuging code isn't run: + if 0: + if False: + if self[.verbosity.] + if options[.verbosity.] + def __repr__ + if __name__ == .__main__.: + except Exception as impossible: +# Ignore source code which cannot be found: +ignore_errors = True +# Exit with status code 2 if under this percentage is covered: +fail_under = 80 + +[html] +directory = doc/coverage-html diff --git a/.gitignore b/.gitignore index e69de29..b8afc5c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +venv +__pycache__ +*.pyc +log +gettor.db diff --git a/AUTHORS b/AUTHORS index 3d84253..d126179 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,5 @@ Current maintainer/core developers: + hiro hiro@torproject.org Israel Leiva ilv@torproject.org 4096R/540BFC0E
Past core developers: diff --git a/Makefile b/Makefile index e69de29..975c8e6 100644 --- a/Makefile +++ b/Makefile @@ -0,0 +1,34 @@ + +.PHONY: install test +.DEFAULT: install test + +TRIAL:=$(shell which trial) +VERSION:=$(shell git describe) + +define PYTHON_WHICH +import platform +import sys +sys.stdout.write(platform.python_implementation()) +endef + +PYTHON_IMPLEMENTATION:=$(shell python3 -c '$(PYTHON_WHICH)') + +test: + python3 setup.py test + +coverage-test: +ifeq ($(PYTHON_IMPLEMENTATION),PyPy) + @echo "Detected PyPy... not running coverage." + python setup.py test +else + coverage run --rcfile=".coveragerc" $(TRIAL) ./test/test_*.py + coverage report --rcfile=".coveragerc" +endif + +coverage-html: + coverage html --rcfile=".coveragerc" + +coverage: coverage-test coverage-html + +tags: + find ./gettor -type f -name "*.py" -print | xargs etags diff --git a/TAGS b/TAGS new file mode 100644 index 0000000..5418efc --- /dev/null +++ b/TAGS @@ -0,0 +1,44745 @@ + +test/test_email_service.py,84 +class EmailServiceTests(16,436 + def setUp(20,554 + def test_SendMail(23,624 + +upload/bundles2drive.py,80 +def upload_files(35,901 +def share_file(119,3469 +def get_files_links(153,4322 + +upload/bundles2dropbox.py,25 +def upload_files(24,516 + +upload/fetch_latest_torbrowser.py,17 +def main(35,710 + +upload/bundles2github.py,31 +def upload_new_release(34,722 + +gettor/utils/blacklist.py,165 +class BlacklistError(26,513 +class ConfigError(30,557 +class InternalError(34,598 +class Blacklist(38,641 + def __init__(53,963 + def is_blacklisted(100,2453 + +gettor/utils/strings.py,201 +def setRundir(23,463 +def getRundir(33,670 +def find_run_dir(41,833 +def get_resource_path(62,1387 +def get_version(74,1871 +def get_locales(81,2054 +def load_strings(88,2267 +def translated(116,3078 + +gettor/utils/commons.py,110 +class BaseService(20,519 + def __init__(25,648 + def startService(42,1268 + def stopService(51,1585 + +gettor/utils/settings.py,123 +class Settings(22,441 + def __init__(26,534 + def build_filename(41,1041 + def load(47,1228 + def get(61,1561 + +gettor/utils/db.py,200 +class DBError(20,434 +class DB(24,471 + def __init__(41,914 + def connect(47,1085 + def add_request(55,1313 + def get_user(74,1995 + def add_user(95,2701 + def update_user(114,3427 + +gettor/utils/options.py,53 +def load_settings(19,604 +def parse_settings(27,790 + +gettor/web/http.py,416 +class ConfigError(66,1743 +class InternalError(70,1784 +class HTTP(74,1827 + def __init__(76,1901 + def _is_json(113,3167 + def _write_json(127,3523 + def _get_provider_name(150,4197 + def _add_links(161,4484 + def _load_latest_version(203,6021 + def _load_links(265,8407 + def _load_mirrors(344,11506 + def _load_resources(354,11781 + def load_data(364,12127 + def build(377,12508 + +gettor/parse/email.py,191 +class AddressError(34,743 +class DKIMError(41,868 +class EmailParser(48,971 + def __init__(51,1043 + def parse(61,1267 + def parse_callback(165,5225 + def parse_errback(210,6740 + +gettor/services/email/sendmail.py,223 +class SMTPError(28,618 +class Sendmail(35,708 + def __init__(39,816 + def get_interval(49,1092 + def sendmail_callback(58,1303 + def sendmail_errback(66,1537 + def sendmail(73,1740 + def get_new(103,2751 + +gettor/services/twitter/twitter.py,346 +class ConfigError(34,663 +class InternalError(38,704 +class GetTorStreamListener(42,747 + def __init__(44,853 + def on_direct_message(48,971 +class TwitterBot(54,1216 + def __init__(56,1294 + def _is_blacklisted(119,3663 + def _get_msg(140,4228 + def parse_text(158,4723 + def parse_request(208,6321 + def start(270,8620 + +gettor/services/__init__.py,110 +class BaseService(18,477 + def __init__(24,681 + def startService(44,1516 + def stopService(53,1833 + +gettor/services/xmpp/xmpp.py,350 +class ConfigError(40,750 +class InternalError(44,791 +class Bot(48,834 + def __init__(55,947 + def session_start(62,1200 + def message(77,1677 +class XMPP(84,1903 + def __init__(99,2232 + def start_bot(164,4630 + def _is_blacklisted(175,4930 + def _get_msg(193,5434 + def _parse_text(213,6055 + def parse_request(265,7767 + +gettor/main.py,16 +def run(23,581 + +setup.py,283 +def get_cmdclass(20,443 +def get_requirements(36,1061 +def get_template_files(68,2164 +def get_data_files(96,3099 + class and 100,3284 +class Trial(136,4845 + def initialize_options(181,7605 + def finalize_options(200,8149 + def run(205,8332 + def run_tests(217,8639 + +venv/lib/python2.7/site-packages/twisted/test/test_application.py,4065 +class Dummy:Dummy34,858 +class ServiceTests(37,893 + def testName(39,933 + def testParent(44,1057 + def testApplicationAsParent(51,1256 + def testNamedChild(58,1525 + def testDoublyNamedChild(67,1811 + def testDuplicateNamedChild(74,2029 + def testDisowning(83,2311 + def testRunning(93,2619 + def testRunningChildren1(101,2833 + def testRunningChildren2(114,3228 + def checkRunning(116,3294 + def testAddingIntoRunning(127,3611 + def testPrivileged(137,3908 + def pss(139,3968 + def testCopying(149,4270 +class ProcessTests(164,4560 + def testID(166,4600 + def testDefaults(171,4727 + def testProcessName(182,5054 +class InterfacesTests(189,5239 + def testService(191,5282 + def testMultiService(194,5382 + def testProcess(199,5604 +class ApplicationTests(203,5705 + def testConstructor(205,5749 + def testProcessComponent(210,5901 + def testServiceComponent(221,6382 + def testPersistableComponent(227,6648 +class LoadingTests(234,6885 + def test_simpleStoreAndLoad(236,6925 +class AppSupportTests(254,7601 + def testPassphrase(256,7644 + def testLoadApplication(259,7723 + def test_convertStyle(282,8754 + def test_startApplication(294,9334 +class Foo(300,9510 + def connectionMade(301,9541 + def lineReceived(303,9615 + def connectionLost(306,9722 +class DummyApp:DummyApp310,9813 + def addService(312,9852 + def removeService(314,9933 +class TimerTarget:TimerTarget318,10013 + def __init__(319,10032 + def append(321,10076 +class TestEcho(326,10135 + def connectionLost(327,10162 +class InternetTests(332,10233 + def testTCP(334,10274 + def test_UDP(354,10994 + def onStop(367,11556 + def testPrivileged(374,11764 + def testConnectionGettingRefused(394,12527 + def testUNIX(408,13025 + def _cbTestUnix(430,13870 + def testVolatile(440,14242 + def testStoppingServer(463,15008 + def testPickledTimer(483,15708 + def testBrokenTimer(493,15979 + def _failed(497,16122 + def test_everythingThere(509,16493 + def test_importAll(534,17653 + def test_reactorParametrizationInServer(546,18098 + def test_reactorParametrizationInClient(560,18564 + def test_reactorParametrizationInServerMultipleStart(575,19093 + def test_reactorParametrizationInClientMultipleStart(591,19678 +class TimerBasicTests(610,20335 + def testTimerRuns(612,20378 + def tearDown(621,20718 + def testTimerRestart(624,20779 + def trigger(629,20953 + def onFirstResult(634,21117 + def onFirstStop(637,21236 + def onSecondResult(641,21371 + def testTimerLoops(649,21616 + def trigger(651,21661 +class FakeReactor(663,22048 + def __init__(668,22151 +class PluggableReactorTests(678,22425 + def setUp(683,22564 + def tearDown(698,23092 + def _getPlugins(705,23247 + def test_getPluginReactorTypes(714,23531 + def test_reactorInstallation(736,24261 + def install(742,24460 + def test_installReactor(753,24886 + def install(759,25076 + def test_installReactorReturnsReactor(769,25394 + def install(775,25601 + def test_installReactorMultiplePlugins(786,25988 + def install(792,26233 + def test_installNonExistentReactor(805,26721 + def test_installNotAvailableReactor(816,27080 + def install(821,27296 + def test_reactorSelectionMixin(830,27616 + class ReactorSelectionOptions(839,27908 + def subCommands(840,27989 + def install(845,28202 + def test_reactorSelectionMixinNonExistent(858,28684 + class ReactorSelectionOptions(864,28924 + def test_reactorSelectionMixinNotAvailable(876,29400 + class ReactorSelectionOptions(882,29649 + def install(885,29783 +class HelpReactorsTests(902,30361 + def setUp(906,30470 + def test_lacksAsyncIO(916,30795 + def test_hasAsyncIO(926,31173 + def test_iocpWin32(937,31557 + def test_iocpNotWin32(947,31925 + def test_onlySupportedReactors(957,32300 + def getReactorTypes(961,32419 + +venv/lib/python2.7/site-packages/twisted/test/test_defer.py,11318 +class GenericError(31,584 +def getDivisionFailure(36,627 +def fakeCallbackCanceller(51,975 +class ImmediateFailureMixin(62,1258 + def assertImmediateFailure(67,1350 +class UtilTests(82,1792 + def test_logErrorReturnsError(87,1878 + def test_logErrorLogsError(98,2166 + def test_logErrorLogsErrorNoRepr(109,2453 + def emit(115,2615 +class DeferredTests(128,2940 + def setUp(130,3015 + def _callback(137,3277 + def _callback2(141,3379 + def _errback(144,3460 + def testCallbackWithoutArgs(147,3537 + def testCallbackWithArgs(154,3805 + def testCallbackWithKwArgs(161,4087 + def testTwoCallbacks(169,4414 + def testDeferredList(180,4845 + def cb(186,5051 + def catch(188,5132 + def testEmptyDeferredList(210,6137 + def cb(212,6194 + def testDeferredListFireOnOneError(224,6526 + def catch(234,6921 + def testDeferredListDontConsumeErrors(264,7947 + def testDeferredListConsumeErrors(279,8396 + def testDeferredListFireOnOneErrorWithAlreadyFiredDeferreds(294,8840 + def testDeferredListWithAlreadyFiredDeferreds(308,9350 + def test_cancelDeferredList(326,9834 + def test_cancelDeferredListCallback(339,10315 + def test_cancelDeferredListWithFireOnOneCallback(358,11143 + def test_cancelDeferredListWithFireOnOneCallbackAndDeferredCallback(372,11750 + def test_cancelDeferredListWithFireOnOneErrback(389,12584 + def test_cancelDeferredListWithFireOnOneErrbackAllDeferredsCallback(407,13444 + def test_cancelDeferredListWithOriginalDeferreds(426,14342 + def test_cancelDeferredListWithException(443,15003 + def cancellerRaisesException(449,15262 + def test_cancelFiredOnOneCallbackDeferredList(465,15875 + def test_cancelFiredOnOneErrbackDeferredList(480,16507 + def testImmediateSuccess(497,17265 + def testImmediateFailure(504,17428 + def testPausedFailure(510,17606 + def testCallbackErrors(519,17851 + def testUnpauseBeforeCallback(530,18285 + def testReturnDeferred(536,18432 + def test_chainedPausedDeferredWithResult(550,18983 + def test_pausedDeferredChained(571,19655 + def test_gatherResults(588,20204 + def test_gatherResultsWithConsumeErrors(603,20746 + def test_cancelGatherResults(625,21666 + def test_cancelGatherResultsWithAllDeferredsCallback(641,22351 + def test_maybeDeferredSync(657,23079 + def test_maybeDeferredSyncError(669,23469 + def test_maybeDeferredAsync(686,24023 + def test_maybeDeferredAsyncError(699,24417 + def test_innerCallbacksPreserved(711,24832 + def cb(721,25239 + def firstCallback(724,25354 + def secondCallback(727,25481 + def test_continueCallbackNotFirst(748,26215 + def cb(759,26604 + def firstCallback(763,26705 + def secondCallback(767,26853 + def test_callbackOrderPreserved(789,27551 + def cb(799,27877 + def firstCallback(803,27978 + def secondCallback(807,28126 + def test_reentrantRunCallbacks(831,28920 + def callback3(838,29176 + def callback2(840,29236 + def callback1(842,29296 + def test_nonReentrantCallbacks(851,29558 + def callback2(858,29823 + def callback1(860,29883 + def test_reentrantRunCallbacksWithFailure(869,30144 + def callback2(877,30536 + def callback1(879,30613 + def test_synchronousImplicitChain(887,30893 + def test_asynchronousImplicitChain(907,31585 + def test_synchronousImplicitErrorChain(934,32490 + def test_asynchronousImplicitErrorChain(951,33180 + def test_doubleAsynchronousImplicitChaining(981,34248 + def test_nestedAsynchronousChainedDeferreds(1013,35279 + def cb(1025,35672 + def firstCallback(1029,35788 + def secondCallback(1035,36048 + def test_nestedAsynchronousChainedDeferredsWithExtraCallbacks(1072,37398 + def cb(1087,38014 + def firstCallback(1091,38130 + def secondCallback(1099,38543 + def test_chainDeferredRecordsExplicitChain(1137,39919 + def test_explicitChainClearedWhenResolved(1147,40198 + def test_chainDeferredRecordsImplicitChain(1163,40756 + def test_circularChainWarning(1176,41195 + def circularCallback(1182,41412 + def test_circularChainException(1197,41988 + def circularCallback(1206,42401 + def test_repr(1214,42611 + def test_reprWithResult(1225,42916 + def test_reprWithChaining(1237,43246 + def test_boundedStackDepth(1251,43715 + def chainDeferreds(1256,43887 + def recordStackDepth(1258,43947 + def test_resultOfDeferredResultOfDeferredOfFiredDeferredCalled(1294,45237 + def test_errbackWithNoArgsNoDebug(1318,46222 + def test_errbackWithNoArgs(1340,46877 + def test_errorInCallbackDoesNotCaptureVars(1362,47524 + def raiseError(1370,47837 + def test_errorInCallbackCapturesVarsWhenDebugging(1381,48132 + def raiseError(1389,48451 + def test_inlineCallbacksTracebacks(1400,48752 + def ic(1412,49089 +class FirstErrorTests(1434,49882 + def test_repr(1438,49980 + def test_str(1455,50451 + def test_comparison(1472,50902 +class AlreadyCalledTests(1502,51736 + def setUp(1503,51792 + def tearDown(1507,51905 + def _callback(1510,51985 + def _errback(1512,52036 + def _call_1(1515,52087 + def _call_2(1517,52141 + def _err_1(1519,52195 + def _err_2(1521,52271 + def testAlreadyCalled_CC(1524,52348 + def testAlreadyCalled_CE(1530,52561 + def testAlreadyCalled_EE(1536,52773 + def testAlreadyCalled_EC(1542,52984 + def _count(1549,53197 + def _check(1557,53469 + def testAlreadyCalledDebug_CC(1571,54134 + def testAlreadyCalledDebug_CE(1582,54538 + def testAlreadyCalledDebug_EC(1593,54939 + def testAlreadyCalledDebug_EE(1604,55341 + def testNoDebugging(1615,55740 + def testSwitchDebugging(1628,56128 +class DeferredCancellerTests(1645,56615 + def setUp(1646,56675 + def tearDown(1653,56842 + def _callback(1658,56990 + def _callback2(1663,57079 + def _errback(1667,57150 + def test_noCanceller(1671,57217 + def test_raisesAfterCancelAndCallback(1683,57616 + def test_raisesAfterCancelAndErrback(1701,58281 + def test_noCancellerMultipleCancelsAfterCancelAndCallback(1719,58949 + def test_noCancellerMultipleCancelsAfterCancelAndErrback(1735,59497 + def test_noCancellerMultipleCancel(1753,60218 + def test_cancellerMultipleCancel(1768,60762 + def cancel(1776,61121 + def test_simpleCanceller(1789,61555 + def cancel(1795,61789 + def test_cancellerArg(1809,62309 + def cancel(1813,62438 + def test_cancelAfterCallback(1820,62615 + def cancel(1825,62781 + def test_cancelAfterErrback(1837,63187 + def cancel(1842,63375 + def test_cancellerThatErrbacks(1854,63797 + def cancel(1858,63917 + def test_cancellerThatCallbacks(1868,64257 + def cancel(1872,64375 + def test_cancelNestedDeferred(1883,64749 + def innerCancel(1889,65002 + def cancel(1891,65071 +class LogTests(1908,65670 + def setUp(1913,65771 + def tearDown(1920,65927 + def _loggedErrors(1927,66048 + def _check(1931,66130 + def test_errorLog(1940,66424 + def test_errorLogWithInnerFrameRef(1950,66797 + def _subErrorLogWithInnerFrameRef(1954,66926 + def test_errorLogWithInnerFrameCycle(1963,67159 + def _subErrorLogWithInnerFrameCycle(1967,67303 + def test_errorLogNoRepr(1978,67567 + def test_errorLogDebugInfo(1996,68187 + def doit(2002,68419 + def test_chainedErrorCleanup(2020,68913 + def test_errorClearedByChaining(2049,70036 +class DeferredListEmptyTests(2068,70753 + def setUp(2069,70813 + def testDeferredListEmpty(2072,70864 + def cb_empty(2077,71018 + def tearDown(2081,71111 +class OtherPrimitivesTests(2086,71207 + def _incr(2087,71288 + def setUp(2090,71344 + def testLock(2093,71391 + def helper(2117,72067 + def test_cancelLockAfterAcquired(2144,72908 + def _failOnErrback(2149,73105 + def test_cancelLockBeforeAcquired(2157,73307 + def testSemaphore(2170,73750 + def helper(2175,73879 + def fail(2197,74582 + def succeed(2199,74637 + def test_semaphoreInvalidTokens(2216,75080 + def test_cancelSemaphoreAfterAcquired(2225,75395 + def _failOnErrback(2230,75607 + def test_cancelSemaphoreBeforeAcquired(2239,75814 + def testQueue(2252,76275 + def test_cancelQueueAfterSynchronousGet(2290,77423 + def _failOnErrback(2295,77628 + def test_cancelQueueAfterGet(2305,77854 + def cb(2316,78338 +class DeferredFilesystemLockTests(2328,78700 + def setUp(2333,78822 + def test_waitUntilLockedWithNoLock(2339,79009 + def test_waitUntilLockedWithTimeoutLocked(2348,79213 + def test_waitUntilLockedWithTimeoutUnlocked(2363,79596 + def onTimeout(2368,79790 + def test_defaultScheduler(2383,80138 + def test_concurrentUsage(2392,80372 + def test_multipleUsages(2410,80821 + def lockAquired(2414,80950 + def test_cancelDeferUntilLocked(2430,81281 + def test_cancelDeferUntilLockedWithTimeout(2445,81837 +def _overrideFunc(2461,82406 +class DeferredAddTimeoutTests(2470,82575 + def test_timeoutChainable(2474,82702 + def test_successResultBeforeTimeout(2484,83050 + def onCallback(2499,83627 + def test_successResultBeforeTimeoutCustom(2517,84198 + def onCallback(2533,84878 + def test_failureBeforeTimeout(2551,85448 + def onErrback(2567,86048 + def test_failureBeforeTimeoutCustom(2585,86608 + def onErrback(2602,87305 + def test_timedOut(2620,87865 + def test_timedOutCustom(2635,88253 + def test_timedOutProvidedCancelSuccess(2653,88861 + def test_timedOutProvidedCancelFailure(2669,89415 + def test_cancelBeforeTimeout(2687,90011 + def onErrback(2703,90677 + def test_cancelBeforeTimeoutCustom(2721,91248 + def onErrback(2737,91950 + def test_providedCancelCalledBeforeTimeoutCustom(2755,92521 + def test_errbackAddedBeforeTimeout(2769,92999 + def errback(2781,93419 + def test_errbackAddedBeforeTimeoutSuppressesCancellation(2796,93775 + def errback(2808,94182 + def test_errbackAddedBeforeTimeoutCustom(2823,94538 + def errback(2835,94946 + def test_errbackAddedBeforeTimeoutSuppressesCancellationCustom(2850,95329 + def errback(2862,95762 + def test_callbackAddedToCancelerBeforeTimeout(2876,96124 + def callback(2890,96635 + def test_callbackAddedToCancelerBeforeTimeoutCustom(2904,96926 + def callback(2919,97501 +class EnsureDeferredTests(2934,97832 + def test_passesThroughDeferreds(2939,97951 + def test_willNotAllowNonDeferredOrCoroutine(2948,98187 +class TimeoutErrorTests(2958,98470 + def test_deprecatedTimeout(2962,98597 +def callAllSoonCalls(2979,99262 +class DeferredFutureAdapterTests(2992,99607 + def test_asFuture(2996,99683 + def test_asFutureCancelFuture(3011,100161 + def canceler(3016,100364 + def test_asFutureSuccessCancel(3029,100785 + def canceler(3035,101052 + def test_asFutureFailure(3046,101389 + def test_fromFuture(3061,101887 + def test_fromFutureFutureCancelled(3075,102327 + def test_fromFutureDeferredCancelled(3090,102854 + +venv/lib/python2.7/site-packages/twisted/test/myrebuilder1.py,101 +class A:A2,1 + def a(3,10 +class B(6,47 + def b(7,67 +class Inherit(10,104 + def a(11,122 + +venv/lib/python2.7/site-packages/twisted/test/test_unix.py,1995 +class FailedConnectionClientFactory(25,612 + def __init__(26,673 + def clientConnectionFailed(29,735 +class UnixSocketTests(34,831 + def test_peerBind(38,912 + def cbConnMade(54,1666 + def test_dumber(62,1953 + def allConnected(78,2688 + def test_pidFile(91,3204 + def _portStuff(113,4273 + def _check(126,4806 + def test_socketLocking(132,4962 + def stoppedListening(145,5455 + def _uncleanSocketTest(152,5688 + def test_uncleanServerSocketLocking(167,6265 + def ranStupidChild(174,6617 + def test_connectToUncleanServer(181,6899 + def ranStupidChild(187,7139 + def _reprTest(195,7437 + def stoppedListening(208,7965 + def test_reprWithClassicFactory(216,8258 + class being 220,8465 + class ClassicFactory:ClassicFactory223,8603 + def doStart(224,8633 + def doStop(227,8686 + def test_reprWithNewStyleFactory(241,9045 + class being 245,9255 + class NewStyleFactory(248,9393 + def doStart(249,9432 + def doStop(252,9485 +class ClientProto(263,9721 + def __init__(267,9826 + def stopProtocol(271,9947 + def startProtocol(274,10004 + def datagramReceived(278,10106 +class ServerProto(284,10219 + def __init__(288,10325 + def stopProtocol(292,10446 + def startProtocol(295,10503 + def datagramReceived(299,10605 +class DatagramUnixSocketTests(307,10799 + def test_exchange(311,10897 + def write(326,11459 + def _cbTestExchange(331,11647 + def test_cannotListen(341,11927 + def _reprTest(357,12472 + def stoppedListening(370,13027 + def test_reprWithClassicProtocol(378,13343 + class ClassicProtocol:ClassicProtocol385,13706 + def makeConnection(386,13737 + def doStop(389,13808 + def test_reprWithNewStyleProtocol(403,14171 + class NewStyleProtocol(410,14537 + def makeConnection(411,14577 + def doStop(414,14648 + +venv/lib/python2.7/site-packages/twisted/test/test_plugin.py,1559 + def invalidateImportCaches(27,619 +class ITestPlugin(34,745 +class ITestPlugin2(43,872 +class PluginTests(50,946 + def setUp(56,1091 + def tearDown(79,1789 + def _unimportPythonModule(88,2026 + def _clearCache(103,2557 + def _withCacheness(110,2712 + def wrapped(118,3042 + def test_cache(128,3218 + def test_cacheRepr(166,4733 + def test_plugins(181,5262 + def test_detectNewFiles(200,5892 + def test_detectFilesChanged(231,7000 + def test_detectFilesRemoved(266,8218 + def test_nonexistentPathEntry(287,8941 + def test_nonDirectoryChildEntry(305,9554 + def test_deployedMode(324,10234 +def pluginFileContents(376,11994 +def _createPluginDummy(388,12339 +class DeveloperSetupTests(406,12840 + def setUp(413,13077 + def lockSystem(459,15193 + def unlockSystem(467,15410 + def getAllPlugins(475,15629 + def resetEnvironment(487,16070 + def unsetEnvironment(497,16422 + def tearDown(508,16719 + def test_developmentPluginAvailability(522,17307 + def test_freshPyReplacesStalePyc(537,17940 + def test_newPluginsOnReadOnlyPath(578,19619 +class AdjacentPackageTests(615,20936 + def setUp(621,21145 + def tearDown(629,21353 + def createDummyPackage(638,21590 + def test_hiddenPackageSamePluginModuleNameObscured(670,22707 + def test_hiddenPackageDifferentPluginModuleNameObscured(691,23502 +class PackagePathTests(713,24301 + def setUp(719,24459 + def tearDown(726,24588 + def test_pluginDirectories(733,24729 + def test_pluginPackagesExcluded(748,25251 + +venv/lib/python2.7/site-packages/twisted/test/testutils.py,430 +class IOPump:IOPump23,638 + def __init__(28,801 + def flush(34,986 + def pump(39,1107 +def returnConnected(63,1707 +class XMLAssertionMixin(79,2083 + def assertXMLEqual(86,2266 +class _Equal(102,2683 + def __eq__(106,2794 + def __ne__(110,2845 +class _NotEqual(115,2898 + def __eq__(119,2996 + def __ne__(123,3048 +class ComparisonTestsMixin(128,3100 + def assertNormalEqualityImplementation(141,3593 + +venv/lib/python2.7/site-packages/twisted/test/test_iutils.py,1143 +class ProcessUtilsTests(20,532 + def makeSourceFile(33,883 + def test_output(44,1238 + def test_outputWithErrorIgnored(64,2033 + def cbFailed(77,2536 + def test_outputWithErrorCollected(83,2689 + def test_value(102,3436 + def test_outputAndValue(113,3784 + def gotOutputAndValue(133,4581 + def test_outputSignal(146,5088 + def gotOutputAndValue(164,5869 + def _pathTest(177,6373 + def test_getProcessOutputPath(188,6762 + def test_getProcessValuePath(196,7019 + def check(201,7200 + def test_getProcessOutputAndValuePath(206,7338 + def check(211,7537 + def _defaultPathTest(218,7773 + def test_getProcessOutputDefaultPath(250,9148 + def test_getProcessValueDefaultPath(260,9549 + def check(267,9867 + def test_getProcessOutputAndValueDefaultPath(272,10012 + def check(279,10348 +class SuppressWarningsTests(288,10605 + def test_suppressWarnings(292,10721 + def showwarning(298,10908 + def f(302,11042 +class DeferredSuppressedWarningsTests(323,11731 + def test_deferredCallback(332,12107 + def test_deferredErrback(349,12730 + +venv/lib/python2.7/site-packages/twisted/test/test_udp.py,2548 +class Mixin:Mixin19,520 + def __init__(26,595 + def startProtocol(29,646 + def stopProtocol(35,840 +class Server(39,895 + def datagramReceived(44,987 +class Client(52,1212 + def datagramReceived(57,1313 + def connectionFailed(63,1522 + def connectionRefused(69,1736 +class GoodClient(76,1965 + def connectionRefused(78,1992 +class BadClientError(86,2222 +class BadClient(94,2371 + def setDeferred(101,2597 + def datagramReceived(109,2764 +class UDPTests(117,2974 + def test_oldAddress(119,3010 + def cbStarted(127,3317 + def test_startStop(134,3506 + def cbStarted(143,3876 + def cbStopped(147,4045 + def test_rebind(152,4190 + def cbStarted(161,4491 + def cbStopped(164,4570 + def test_bindError(172,4821 + def cbStarted(181,5158 + def cbFinished(190,5504 + def test_sendPackets(196,5630 + def cbServerStarted(208,6077 + def cbClientStarted(214,6282 + def cbClientSend(228,6808 + def cbSendsFinished(245,7532 + def cbFinished(260,8047 + def test_connectionRefused(271,8336 + def cbStarted(290,9032 + def cbFinished(304,9508 + def test_badConnect(314,9790 + def test_datagramReceivedError(334,10541 + def cbCompleted(341,10754 + def cbCleanup(353,11240 + def makeAttempt(374,12260 + def cbPacketReceived(394,13099 + def ebPacketTimeout(410,13848 + def test_NoWarningOnBroadcast(433,14772 + class fakeSocket:fakeSocket441,15189 + def sendto(442,15215 +class ReactorShutdownInteractionTests(454,15510 + def setUp(457,15613 + def tearDown(462,15774 + def testShutdownFromDatagramReceived(466,15872 + def pktRece(481,16600 + def flushErrors(490,17045 +class MulticastTests(503,17586 + def setUp(505,17628 + def tearDown(515,18007 + def testTTL(521,18171 + def test_loopback(528,18381 + def cbJoined(537,18724 + def cbPacket(543,18948 + def cbNoPacket(555,19414 + def test_interface(562,19569 + def cbInterfaces(575,20060 + def test_joinLeave(584,20370 + def clientJoined(590,20544 + def clientLeft(594,20683 + def serverJoined(598,20817 + def test_joinFailure(605,20975 + def test_multicast(620,21600 + def cbJoined(631,21931 + def cbPacket(637,22151 + def cleanup(641,22292 + def test_multiListen(650,22521 + def serverJoined(671,23271 + def gotPackets(678,23582 + def cleanup(683,23800 + +venv/lib/python2.7/site-packages/twisted/test/plugin_extra1.py,70 +class FourthTestPlugin:FourthTestPlugin17,321 + def test1(18,345 + +venv/lib/python2.7/site-packages/twisted/test/test_amp.py,13176 +class TestProto(47,962 + def __init__(58,1286 + def connectionMade(66,1585 + def dataReceived(71,1686 + def connectionLost(75,1755 + def __repr__(79,1839 +class SimpleSymmetricProtocol(93,2190 + def sendHello(95,2231 + def amp_HELLO(100,2347 +class UnfriendlyGreeting(105,2424 +class DeathThreat(109,2511 +class UnknownProtocol(113,2591 +class TransportPeer(118,2681 + def retrieve(121,2873 + def fromStringProto(124,2933 + def toBox(127,3025 +class Hello(132,3095 +class NoAnswerHello(151,3744 +class FutureHello(155,3836 +class WTF(173,4589 +class BrokenReturn(179,4669 +class Goodbye(186,4842 +class WaitForever(191,5022 +class GetList(194,5089 +class DontRejectMe(199,5257 +class SecuredPing(207,5525 +class TestSwitchProto(211,5680 +class SingleUseFactory(219,5870 + def __init__(220,5918 + def buildProtocol(224,6011 + def clientConnectionFailed(230,6130 +class ThingIDontUnderstandError(235,6280 +class FactoryNotifier(238,6334 + def connectionMade(240,6385 + def emitpong(246,6593 +class SimpleSymmetricCommandProtocol(254,6883 + def __init__(256,6960 + def sendHello(260,7070 + def sendUnicodeHello(263,7152 + def cmdHello(268,7294 + def cmdGetlist(284,7925 + def okiwont(288,8040 + def waitforit(296,8297 + def saybye(301,8428 + def switchToTestProtocol(305,8522 + def switchit(315,8857 + def donothing(321,9064 +class DeferredSymmetricCommandProtocol(326,9149 + def switchit(327,9221 +class BadNoAnswerCommandProtocol(334,9490 + def badResponder(335,9556 +class NoAnswerCommandProtocol(342,9836 + def goodNoAnswerResponder(343,9899 +def connectedServerAndClient(348,10156 +class TotallyDumbProtocol(357,10481 + def dataReceived(359,10541 +class LiteralAmp(362,10601 + def __init__(363,10628 + def ampBoxReceived(366,10677 +class AmpBoxTests(372,10761 + def test_serializeStr(378,10920 + def test_serializeUnicodeKeyRaises(385,11115 + def test_serializeUnicodeValueRaises(392,11359 +class ParsingTests(402,11610 + def test_booleanValues(404,11650 + def test_pathValueRoundTrip(418,12210 + def test_sillyEmptyThing(430,12545 + def test_ParsingRoundTrip(439,12807 +class FakeLocator(475,13888 + def __init__(480,14016 + def locateResponder(487,14162 +class FakeSender:FakeSender495,14387 + def __init__(500,14508 + def expectError(510,14753 + def sendBox(517,14896 + def unhandledError(524,15030 +class CommandDispatchTests(536,15343 + def setUp(548,15849 + def test_receivedAsk(558,16119 + def thunk(564,16337 + def test_sendUnhandledError(575,16711 + def test_unhandledSerializationError(587,17163 + def thunk(593,17399 + class BrokenBox(594,17426 + def _sendTo(595,17464 + def test_callRemote(608,17955 + def _localCallbackErrorLoggingTest(631,19047 + def test_callRemoteSuccessLocalCallbackErrorLogging(646,19532 + def test_callRemoteErrorLocalCallbackErrorLogging(663,20182 +class SimpleGreeting(681,20801 +class TestLocator(692,21096 + def __init__(696,21219 + def greetingResponder(700,21273 +class OverridingLocator(707,21488 + def greetingResponder(712,21612 +class InheritingLocator(722,21928 +class OverrideLocatorAMP(729,22064 + def __init__(730,22099 + def lookupFunction(737,22286 + def greetingResponder(748,22600 +class CommandLocatorTests(756,22816 + def _checkSimpleGreeting(762,23028 + def done(772,23518 + def test_responderDecorator(777,23668 + def test_responderOverriding(787,24027 + def test_responderInheritance(796,24342 + def test_lookupFunctionDeprecatedOverride(804,24601 + def done(823,25640 + def test_lookupFunctionDeprecatedInvoke(828,25774 + def done(839,26301 +class BinaryProtocolTests(849,26517 + def setUp(857,26733 + def startReceivingBoxes(866,26940 + def ampBoxReceived(874,27142 + def stopReceivingBoxes(881,27299 + def getPeer(889,27481 + def getHost(893,27531 + def write(897,27581 + def test_startReceivingBoxes(902,27684 + def test_sendBoxInStartReceivingBoxes(913,28066 + class SynchronouslySendingReceiver:SynchronouslySendingReceiver920,28382 + def startReceivingBoxes(921,28426 + def test_receiveBoxStateMachine(932,28796 + def test_firstBoxFirstKeyExcessiveLength(947,29250 + def test_firstBoxSubsequentKeyExcessiveLength(959,29683 + def test_subsequentBoxFirstKeyExcessiveLength(973,30242 + def test_excessiveKeyFailure(987,30809 + def test_unhandledErrorWithTransport(1005,31597 + def test_unhandledErrorWithoutTransport(1018,32105 + def test_receiveBoxData(1030,32604 + def test_receiveLongerBoxData(1043,33147 + def test_sendBox(1058,33699 + def test_connectionLostStopSendingBoxes(1072,34163 + def test_protocolSwitch(1084,34601 + class SwitchyReceiver:SwitchyReceiver1092,34926 + def startReceivingBoxes(1094,34986 + def ampBoxReceived(1096,35058 + def test_protocolSwitchEmptyBuffer(1120,36207 + def test_protocolSwitchInvalidStates(1133,36672 + def test_protocolSwitchLoseConnection(1154,37576 + class Loser(1159,37751 + def connectionLost(1161,37817 + def test_protocolSwitchLoseClientConnection(1173,38235 + class ClientLoser:ClientLoser1178,38431 + def clientConnectionLost(1180,38484 +class AMPTests(1194,38977 + def test_interfaceDeclarations(1196,39013 + def test_helloWorld(1212,39915 + def test_wireFormatRoundTrip(1225,40299 + def test_helloWorldUnicode(1238,40681 + def test_callRemoteStringRequiresAnswerFalse(1254,41237 + def test_unknownCommandLow(1264,41558 + def clearAndAdd(1271,41817 + def test_unknownCommandHigh(1286,42268 + def clearAndAdd(1293,42529 + def test_brokenReturnValue(1308,42971 + def test_unknownArgument(1323,43551 + def test_simpleReprs(1342,44200 + def test_innerProtocolInRepr(1352,44560 + def test_innerProtocolNotInRepr(1365,44949 + def test_simpleSSLRepr(1374,45197 + def test_keyTooLong(1383,45403 + def test_valueTooLong(1401,46027 + def test_helloWorldCommand(1419,46636 + def test_helloErrorHandling(1434,47132 + def test_helloFatalErrorHandling(1451,47767 + def test_helloNoErrorHandling(1472,48496 + def test_lateAnswer(1495,49353 + def test_requiresNoAnswer(1515,50020 + def test_requiresNoAnswerFail(1528,50428 + def test_noAnswerResponderBadAnswer(1548,51136 + def test_noAnswerResponderAskedForAnswer(1566,51814 + def test_ampListCommand(1583,52533 + def test_optionalAmpListOmitted(1597,53002 + def test_optionalAmpListPresent(1612,53572 + def test_failEarlyOnArgSending(1627,54120 + def test_doubleProtocolSwitch(1635,54360 + def switched(1647,54964 + def test_protocolSwitch(1655,55227 + def cbConnsLost(1678,56201 + def cbSwitch(1686,56577 + def test_protocolSwitchDeferred(1710,57490 + def test_protocolSwitchFail(1718,57773 + def test_trafficAfterSwitch(1743,58783 + def test_errorAfterSwitch(1751,59016 + def test_quitBoxQuits(1760,59296 + def test_basicLiteralEmit(1782,60021 + def test_basicStructuredEmit(1804,60857 + class StructuredHello(1811,61131 + def h(1812,61171 +class PretendRemoteCertificateAuthority:PretendRemoteCertificateAuthority1837,62240 + def checkIsPretendRemote(1838,62281 +class IOSimCert:IOSimCert1841,62338 + def options(1844,62376 + def iosimVerify(1847,62426 +class OKCert(1858,62823 + def options(1859,62848 +class GrumpyCert(1863,62935 + def iosimVerify(1864,62964 +class DroppyCert(1868,63054 + def __init__(1869,63083 + def iosimVerify(1872,63145 +class SecurableProto(1877,63271 + def verifyFactory(1881,63331 + def getTLSVars(1884,63414 +class TLSTests(1894,63656 + def test_startingTLS(1895,63691 + def test_startTooManyTimes(1923,64591 + def test_negotiationFailed(1948,65428 + def test_negotiationFailedByClosing(1972,66184 +class TLSNotAvailableTests(2001,66975 + def setUp(2006,67114 + def tearDown(2014,67239 + def test_callRemoteError(2021,67344 + def test_messageReceivedError(2039,67894 +class InheritedError(2061,68561 +class OtherInheritedError(2068,68658 +class BaseCommand(2075,68770 +class InheritedCommand(2083,68924 +class AddErrorsCommand(2091,69071 +class NormalCommandProtocol(2101,69320 + def resp(2106,69527 +class InheritedCommandProtocol(2112,69613 + def resp(2118,69856 +class AddedCommandProtocol(2124,69947 + def resp(2130,70221 +class CommandInheritanceTests(2139,70395 + def errorCheck(2144,70534 + def test_basicErrorPropagation(2157,70966 + def test_inheritedErrorPropagation(2166,71241 + def test_inheritedErrorAddition(2175,71520 + def test_additionWithOriginalError(2184,71848 +def _loseAndPass(2193,72166 +class LiveFireBase:LiveFireBase2200,72366 + def setUp(2205,72450 + def getProtos(2222,73230 + def tearDown(2229,73524 +def show(2246,74137 +def tempSelfSigned(2252,74219 +class LiveFireTLSTests(2267,74585 + def test_liveFireCustomTLS(2270,74708 + def secured(2286,75276 + def pinged(2288,75333 +class SlightlySmartTLS(2306,76230 + def getTLSVars(2311,76392 +class PlainVanillaLiveFireTests(2319,76608 + def test_liveFireDefaultTLS(2324,76774 + def secured(2329,76981 +class WithServerTLSVerificationTests(2337,77155 + def test_anonymousVerifyingClient(2341,77311 + def secured(2345,77450 +class ProtocolIncludingArgument(2355,77706 + def fromStringProto(2362,77914 + def toStringProto(2370,78159 +class ProtocolIncludingCommand(2383,78497 +class MagicSchemaCommand(2393,78773 + def parseResponse(2398,78920 + def parseArguments(2409,79311 + def makeArguments(2420,79706 +class NoNetworkProtocol(2432,80101 + def _sendBoxCommand(2451,80913 +class MyBox(2461,81167 +class ProtocolIncludingCommandWithDifferentCommandType(2468,81233 +class CommandTests(2477,81436 + def test_argumentInterface(2481,81541 + def test_parseResponse(2488,81738 + def test_callRemoteCallsParseResponse(2503,82263 + def gotResponse(2512,82650 + def test_parseArguments(2519,82867 + def test_responderCallsParseArguments(2534,83401 + def test_makeArguments(2550,84058 + def test_makeArgumentsUsesCommandType(2566,84645 + def test_callRemoteCallsMakeArguments(2579,85068 + def gotResponse(2588,85459 + def test_extraArgumentsDisallowed(2595,85677 + def test_wireSpellingDisallowed(2607,86114 + def test_commandNameDefaultsToClassNameAsByteString(2625,86832 + class NewCommand(2630,87016 + def test_commandNameMustBeAByteString(2638,87181 + def test_commandArgumentsMustBeNamedWithByteStrings(2650,87596 + def test_commandResponseMustBeNamedWithByteStrings(2661,88004 + def test_commandErrorsIsConvertedToDict(2672,88409 + class NewCommand(2676,88553 + def test_commandErrorsMustUseBytesForOnWireRepresentation(2684,88744 + def test_commandFatalErrorsIsConvertedToDict(2695,89170 + class NewCommand(2699,89324 + def test_commandFatalErrorsMustUseBytesForOnWireRepresentation(2707,89525 +class ListOfTestsMixin:ListOfTestsMixin2721,89996 + def test_toBox(2739,90756 + def test_fromBox(2756,91481 +class ListOfStringsTests(2768,91839 +class ListOfIntegersTests(2785,92252 +class ListOfUnicodeTests(2811,92933 +class ListOfDecimalTests(2829,93372 +class ListOfDecimalNanTests(2875,94917 + def test_fromBox(2894,95400 + def is_qnan(2900,95640 + def is_snan(2903,95743 + def is_signed(2906,95816 +class DecimalTests(2924,96506 + def test_nonDecimal(2928,96591 +class FloatTests(2940,97004 + def test_nonFloat(2944,97085 + def test_float(2955,97472 +class ListOfDateTimeTests(2964,97697 +class ListOfOptionalTests(3002,99137 + def test_requiredArgumentWithNoneValueRaisesTypeError(3007,99305 + def test_optionalArgumentWithNoneValueOmitted(3018,99675 + def test_requiredArgumentWithKeyMissingRaisesKeyError(3029,100106 + def test_optionalArgumentWithKeyMissingOmitted(3040,100491 + def test_omittedOptionalArgumentDeserializesAsNone(3049,100863 +class UNIXStringTransport(3062,101306 + def __init__(3072,101723 + def sendFileDescriptor(3081,101953 + def write(3086,102098 + def writeSequence(3090,102178 + def loseConnection(3095,102268 + def getHost(3099,102380 + def getPeer(3103,102458 +class DescriptorTests(3111,102708 + def setUp(3116,102900 + def test_fromStringProto(3124,103169 + def test_toStringProto(3147,104100 + def test_roundTrip(3172,105369 +class DateTimeTests(3202,106464 + def test_invalidString(3210,106743 + def test_invalidDatetime(3219,107033 + def test_fromString(3229,107360 + def test_toString(3239,107682 +class UTCTests(3251,108059 + def test_tzname(3256,108137 + def test_dst(3263,108294 + def test_utcoffset(3270,108460 + def test_badSign(3277,108644 +class RemoteAmpErrorTests(3286,108890 + def test_stringMessage(3291,108990 + def test_stringMessageReplacesNonAsciiText(3300,109316 + def test_stringMessageWithLocalFailure(3309,109683 + +venv/lib/python2.7/site-packages/twisted/test/test_sip.py,2401 +class TestRealm:TestRealm107,2099 + def requestAvatar(108,2116 +class MessageParsingTests(113,2225 + def setUp(114,2271 + def feedMessage(119,2370 + def validateMessage(124,2481 + def testSimple(135,2811 + def testTwoMessages(145,3088 + def testGarbage(159,3560 + def testThreeInOne(169,3838 + def testShort(187,4437 + def testSimpleResponse(197,4718 + def test_multiLine(211,5138 +class MessageParsingFeedDataCharByCharTests(235,5922 + def feedMessage(240,6057 +class MakeMessageTests(247,6193 + def testRequest(249,6237 + def testResponse(257,6455 + def testStatusCode(267,6760 +class ViaTests(273,6888 + def checkRoundtrip(275,6924 + def testExtraWhitespace(280,7046 + def test_complex(288,7354 + def test_simple(311,8249 + def testSimpler(332,8946 + def test_deprecatedRPort(337,9041 + def test_rport(360,9809 + def test_rportValue(370,10135 + def testNAT(382,10527 + def test_unknownParams(394,10944 +class URLTests(404,11240 + def testRoundtrip(406,11276 + def testComplex(416,11574 +class ParseTests(430,12188 + def testParseAddress(432,12226 +class DummyLocator:DummyLocator450,13004 + def getAddress(451,13024 +class FailingLocator:FailingLocator457,13155 + def getAddress(458,13177 +class ProxyTests(463,13259 + def setUp(465,13297 + def testRequestForward(472,13512 + def testReceivedRequestForward(492,14391 + def testResponseWrongVia(505,14947 + def testResponseForward(513,15233 + def testReceivedResponseForward(525,15761 + def testResponseToUs(537,16218 + def testLoop(549,16638 + def testCantForwardRequest(557,16939 +class RegistrationTests(571,17502 + def setUp(573,17547 + def tearDown(581,17861 + def register(587,17985 + def unregister(595,18316 + def testRegister(604,18663 + def testUnregister(628,19749 + def addPortal(641,20299 + def testFailedAuthentication(650,20555 + def testWrongDomainRegister(660,20814 + def testWrongToDomainRegister(669,21197 + def testWrongDomainLookup(678,21580 + def testNoContactLookup(686,21804 +class Client(695,22037 + def __init__(697,22062 + def handle_response(703,22188 +class LiveTests(709,22323 + def setUp(711,22360 + def tearDown(724,22916 + def testRegister(732,23190 + def check(741,23638 + def test_amoralRPort(749,23832 + def check(776,25092 + +venv/lib/python2.7/site-packages/twisted/test/test_dirdbm.py,362 +class DirDbmTests(18,311 + def setUp(20,350 + def test_all(26,553 + def test_rebuildInteraction(33,707 + def test_dbm(39,857 + def test_modificationTime(114,3464 + def test_recovery(130,4335 + def test_nonStringKeys(154,5164 + def test_failSet(172,5959 + def _writeFail(176,6054 +class ShelfTests(185,6343 + def setUp(187,6375 + +venv/lib/python2.7/site-packages/twisted/test/test_ftp.py,13981 +class Dummy(39,889 + def __init__(41,941 + def connectionMade(46,1017 + def lineReceived(50,1109 + def rawDataReceived(54,1176 + def lineLengthExceeded(58,1249 +class _BufferingProtocol(63,1305 + def connectionMade(64,1350 + def dataReceived(69,1442 + def connectionLost(73,1506 +def passivemode_msg(78,1577 +class FTPServerTestCase(92,2007 + def setUp(101,2253 + def _rememberProtocolInstance(135,3578 + def cleanupServer(141,3802 + def gotClient(154,4375 + def assertCommandResponse(165,4737 + def queueCommand(177,5142 + def gotResponse(179,5233 + def assertCommandFailed(185,5451 + def queueCommand(190,5649 + def failed(194,5852 + def _anonymousLogin(201,6070 + def _userLogin(211,6430 +class FTPAnonymousTests(227,6898 + def test_anonymousLogin(234,7122 +class BasicFTPServerTests(251,7769 + def test_tooManyConnections(255,7870 + def gotClient(265,8229 + def onConnectionLost(269,8310 + def test_NotLoggedInReply(278,8529 + def checkFailResponse(288,8959 + def checkPassResponse(294,9274 + def test_PASSBeforeUSER(315,10104 + def test_NoParamsForUSER(325,10380 + def test_NoParamsForPASS(334,10624 + def test_loginError(345,10952 + def _fake_loginhandler(349,11071 + def checkLogs(360,11484 + def test_AnonymousLogin(368,11687 + def test_Quit(375,11824 + def test_AnonymousLoginDenied(388,12132 + def test_anonymousWriteDenied(419,13267 + def test_UnknownCommand(433,13739 + def test_RETRBeforePORT(446,14070 + def test_STORBeforePORT(460,14452 + def test_BadCommandArgs(474,14834 + def test_DecodeHostPort(492,15320 + def test_PASV(506,15745 + def cb(515,16080 + def test_SYST(528,16593 + def test_RNFRandRNTO(538,16868 + def check_rename(557,17563 + def test_RNFRwithoutRNTO(566,17781 + def test_portRangeForwardError(584,18394 + def listenFactory(589,18615 + def test_portRange(597,18875 + def listenFactory(604,19227 + def test_portRangeInheritedFromFactory(623,19993 + def test_FEAT(635,20495 + def gotResponse(642,20823 + def test_OPTS(652,21234 + def test_STORreturnsErrorFromOpen(666,21645 + def sendPASV(678,22141 + def mockDTPInstance(684,22318 + def test_STORunknownErrorBecomesFileNotFound(703,22912 + def failingOpenForWriting(713,23233 + def sendPASV(722,23479 + def mockDTPInstance(730,23714 + def checkLogs(742,24205 +class FTPServerAdvancedClientTests(765,24820 + def test_anonymousSTOR(771,24979 + def eb(776,25136 + def test_STORtransferErrorIsReturned(785,25414 + class FailingFileWriter(791,25624 + def receive(792,25674 + def failingSTOR(795,25779 + def eb(802,26046 + def test_STORunknownTransferErrorBecomesAbort(815,26514 + class FailingFileWriter(822,26769 + def receive(823,26819 + def failingSTOR(826,26903 + def eb(833,27170 + def test_RETRreadError(846,27645 + class FailingFileReader(852,27839 + def send(853,27889 + def failingRETR(856,27993 + def check_response(863,28244 +class FTPServerPasvDataConnectionTests(880,28776 + def _makeDataConnection(884,28877 + def gotPASV(893,29163 + def _download(900,29427 + def queueCommand(912,29826 + def downloadDone(920,30151 + def test_LISTEmpty(926,30322 + def checkEmpty(934,30584 + def test_LISTWithBinLsFlags(939,30701 + def checkDownload(952,31094 + def test_LISTWithContent(963,31425 + def checkDownload(976,31873 + def checkDownload(982,32105 + def checkDownload(991,32496 + def chdir(996,32672 + def checkDownload(1003,32979 + def _listTestHelper(1008,33106 + def patchedList(1040,34574 + def loggedIn(1043,34666 + def checkDownload(1050,34882 + def test_LISTUnicode(1057,35052 + def test_LISTNonASCIIBytes(1070,35519 + def test_ManyLargeDownloads(1085,36051 + def checkDownload(1101,36549 + def test_downloadFolder(1107,36715 + def retrFolder(1118,37088 + def failOnSuccess(1124,37303 + def checkError(1128,37453 + def test_NLSTEmpty(1140,37878 + def checkDownload(1154,38352 + def test_NLSTNonexistent(1161,38580 + def checkDownload(1169,38819 + def test_NLSTUnicode(1174,38946 + def test_NLSTNonASCIIBytes(1186,39312 + def test_NLSTOnPathToFile(1197,39647 + def checkDownload(1209,39991 +class FTPServerPortDataConnectionTests(1216,40183 + def setUp(1217,40257 + def _makeDataConnection(1222,40368 + class DataFactory(1226,40545 + def buildProtocol(1228,40638 + def tearDown(1240,41146 + def test_PORTCannotConnect(1254,41538 + def loggedIn(1262,41775 + def gotPortNum(1273,42232 + def test_nlstGlobbing(1280,42474 + def checkDownload(1292,42872 +class DTPFactoryTests(1301,43107 + def setUp(1305,43198 + class ProtocolInterpreter(1312,43373 + def test_setTimeout(1320,43604 + def test_buildProtocolOnce(1350,44608 + def test_timeoutAfterConnection(1362,44997 + def test_connectionAfterTimeout(1373,45371 + def test_timeoutAfterConnectionFailed(1394,46097 + def test_connectionFailedAfterTimeout(1413,46782 +class DTPTests(1437,47671 + def setUp(1445,47838 + class ProtocolInterpreter(1452,48042 + def test_sendLineNewline(1461,48347 +class PrintLines(1479,48882 + def __init__(1484,48982 + def connectionMade(1488,49043 +class MyFTPFileListProtocol(1495,49216 + def __init__(1496,49270 + def unknownLine(1501,49367 +class FTPFileListingTests(1506,49435 + def getFilesForLines(1507,49481 + def test_OneLine(1514,49712 + def check(1521,49967 + def test_VariantLines(1537,50896 + def check(1544,51156 + def test_UnknownLine(1570,52769 + def check(1574,52848 + def test_filenameWithUnescapedSpace(1582,53198 + def check(1593,53568 + def test_filenameWithEscapedSpace(1605,54075 + def check(1616,54443 + def test_Year(1628,54950 + class PrintLine(1637,55260 + def connectionMade(1638,55304 + def check(1642,55441 +class FTPClientFailedRETRAndErrbacksUponDisconnectTests(1654,55864 + def test_FailedRETR(1658,56009 + def gotClient(1684,57140 + def test_errbacksUponDisconnect(1691,57367 + def _eb(1702,57764 +class FTPClientTests(1713,58045 + def setUp(1717,58141 + def tearDown(1727,58459 + def _testLogin(1735,58691 + def test_sendLine(1751,59288 + def test_CDUP(1765,59756 + def cbCdup(1775,60077 + def test_failedCDUP(1786,60447 + def test_PWD(1802,60973 + def cbPwd(1812,61276 + def test_failedPWD(1822,61579 + def test_CWD(1837,62043 + def cbCwd(1847,62361 + def test_failedCWD(1857,62713 + def test_passiveRETR(1872,63193 + def cbRetr(1883,63574 + def cbConnect(1886,63663 + def test_RETR(1910,64683 + def generatePort(1920,64993 + def cbRetr(1927,65345 + def test_failedRETR(1948,66099 + def cbConnect(1956,66387 + def test_lostRETR(1979,67388 + def generatePort(1988,67662 + def test_passiveSTOR(2014,68666 + def cbStore(2030,69434 + def cbFinish(2037,69728 + def cbConnect(2040,69810 + def test_failedSTOR(2060,70584 + def cbStore(2069,70930 + def cbConnect(2076,71224 + def test_STOR(2097,72052 + def generatePort(2107,72406 + def cbStore(2111,72565 + def cbFinish(2126,73297 + def test_passiveLIST(2137,73619 + def cbList(2156,74557 + def cbConnect(2163,74791 + def test_LIST(2191,76081 + def generatePort(2200,76390 + def cbList(2215,77152 + def test_failedLIST(2237,78020 + def cbConnect(2245,78296 + def test_NLST(2267,79278 + def generatePort(2275,79552 + def cbList(2286,80122 + def test_passiveNLST(2307,80967 + def cbList(2315,81227 + def cbConnect(2322,81447 + def test_failedNLST(2346,82518 + def cbConnect(2355,82839 + def test_renameFromTo(2377,83787 + def test_renameFromToEscapesPaths(2400,84663 + def test_renameFromToFailingOnFirstError(2418,85239 + def test_renameFromToFailingOnRenameTo(2437,85951 + def test_makeDirectory(2456,86738 + def test_makeDirectoryPathEscape(2470,87252 + def test_failedMakeDirectory(2485,87854 + def test_getDirectory(2498,88332 + def cbGet(2505,88575 + def test_failedGetDirectory(2515,88862 + def test_anotherFailedGetDirectory(2529,89293 + def test_removeFile(2544,89759 + def test_failedRemoveFile(2558,90350 + def test_unparsableRemoveFileResponse(2575,91094 + def test_multilineRemoveFileResponse(2590,91703 + def test_removeDirectory(2603,92208 + def test_failedRemoveDirectory(2617,92817 + def test_unparsableRemoveDirectoryResponse(2634,93579 + def test_multilineRemoveDirectoryResponse(2649,94203 +class FTPClientBasicTests(2663,94725 + def test_greeting(2667,94802 + def test_responseWithNoMessage(2676,95075 + def test_MultilineResponse(2686,95398 + def test_noPasswordGiven(2737,96995 + def test_noPasswordNeeded(2759,97822 +class PathHandlingTests(2783,98713 + def test_Normalizer(2787,98793 +class IsGlobbingExpressionTests(2845,101107 + def test_isGlobbingExpressionEmptySegments(2850,101230 + def test_isGlobbingExpressionNoGlob(2860,101563 + def test_isGlobbingExpressionGlob(2871,101952 +class BaseFTPRealmTests(2882,102387 + def test_interface(2887,102579 + def test_getHomeDirectory(2894,102748 + class TestRealm(2902,103044 + def getHomeDirectory(2903,103087 + def test_anonymous(2914,103467 + def test_notImplemented(2927,103958 +class FTPRealmTests(2937,104285 + def test_getHomeDirectory(2941,104372 + def test_defaultHomeDirectory(2954,104889 +class SystemFTPRealmTests(2965,105284 + def test_getHomeDirectory(2971,105408 + def test_noSuchUser(2991,106186 +class ErrnoToFailureTests(3005,106771 + def test_notFound(3010,106886 + def test_permissionDenied(3018,107127 + def test_accessDenied(3026,107382 + def test_notDirectory(3034,107635 + def test_fileExists(3042,107888 + def test_isDirectory(3050,108127 + def test_passThrough(3058,108371 +class AnonymousFTPShellTests(3071,108724 + def test_anonymousWrite(3076,108827 +class IFTPShellTestsMixin:IFTPShellTestsMixin3088,109155 + def directoryExists(3093,109249 + def createDirectory(3107,109605 + def fileExists(3118,109868 + def createFile(3132,110210 + def test_createDirectory(3146,110585 + def test_createFile(3157,110967 + def test_makeDirectory(3167,111311 + def cb(3172,111480 + def test_makeDirectoryError(3177,111596 + def test_removeDirectory(3187,111902 + def cb(3193,112125 + def test_removeDirectoryOnFile(3198,112242 + def test_removeNotExistingDirectory(3208,112564 + def test_removeFile(3217,112845 + def cb(3223,113058 + def test_removeFileOnDirectory(3229,113182 + def test_removeNotExistingFile(3238,113439 + def test_list(3247,113710 + def cb(3254,113912 + def test_listWithStat(3261,114068 + def cb(3268,114310 + def test_listWithInvalidStat(3280,114735 + def test_listFile(3289,115024 + def cb(3295,115211 + def test_listNotExistingDirectory(3302,115354 + def test_access(3311,115623 + def test_accessNotFound(3320,115803 + def test_openForReading(3328,116025 + def cb(3334,116253 + def test_openForReadingNotFound(3340,116378 + def test_openForReadingOnDirectory(3349,116660 + def test_openForWriting(3358,116929 + def cb1(3363,117117 + def cb2(3366,117249 + def test_openForWritingExistingDirectory(3372,117372 + def test_openForWritingInNotExistingDirectory(3382,117685 + def test_statFile(3392,118063 + def cb(3399,118320 + def test_statDirectory(3406,118478 + def cb(3412,118693 + def test_statOwnerGroup(3418,118795 + def cb(3424,118990 + def test_statHardlinksNotImplemented(3430,119098 + def raiseNotImplemented(3437,119328 + def notImplementedFilePath(3440,119402 + def test_statOwnerGroupNotImplemented(3452,119752 + def raiseNotImplemented(3460,120065 + def notImplementedFilePath(3463,120139 + def test_statNotExisting(3476,120536 + def test_invalidStat(3485,120812 + def test_rename(3494,121094 + def cb(3500,121266 + def test_renameNotExisting(3506,121437 +class FTPShellTests(3516,121711 + def setUp(3521,121831 + def directoryExists(3530,122069 + def createDirectory(3537,122226 + def fileExists(3544,122383 + def createFile(3551,122531 +class TestConsumer(3560,122747 + def registerProducer(3570,122985 + def unregisterProducer(3584,123369 + def write(3592,123568 +class TestProducer(3603,123764 + def __init__(3608,123830 + def start(3619,124125 +class IReadWriteTestsMixin:IReadWriteTestsMixin3627,124251 + def getFileReader(3632,124365 + def getFileWriter(3641,124583 + def getFileContent(3648,124747 + def test_read(3655,124884 + def cbGet(3663,125229 + def cbSend(3665,125317 + def test_write(3670,125471 + def cbGet(3678,125806 + def cbReceive(3680,125900 + def cbClose(3686,126172 +class FTPReadWriteTests(3692,126321 + def setUp(3698,126539 + def getFileReader(3708,126799 + def getFileWriter(3716,127058 + def getFileContent(3723,127249 +class CloseTestWriter:CloseTestWriter3732,127444 + def receive(3737,127537 + def close(3748,127747 +class CloseTestShell:CloseTestShell3759,127901 + def openForWriting(3763,127964 +class FTPCloseTests(3768,128045 + def test_write(3773,128153 +class FTPResponseCodeTests(3810,129441 + def test_unique(3814,129551 + +venv/lib/python2.7/site-packages/twisted/test/test_strports.py,100 +class ServiceTests(17,407 + def test_service(22,489 + def test_serviceDefaultReactor(45,1449 + +venv/lib/python2.7/site-packages/twisted/test/stdio_test_lastwrite.py,133 +class LastWriteChild(21,601 + def __init__(22,633 + def connectionMade(27,751 + def connectionLost(32,870 +def main(37,939 + +venv/lib/python2.7/site-packages/twisted/test/test_twistd.py,8248 +def patchUserDatabase(88,2247 + def getgrnam(121,3464 +class MockServiceMaker(134,3819 + def makeService(140,3963 +class CrippledAppLogger(151,4218 + def start(156,4312 +class CrippledApplicationRunner(161,4362 + def preApplication(169,4671 + def postApplication(173,4716 +class ServerOptionsTests(178,4763 + def test_subCommands(182,4903 + class FakePlugin(187,5054 + def __init__(188,5088 + def options(193,5277 + def getPlugins(201,5497 + def test_sortedReactorHelp(225,6442 + class FakeReactorInstaller(229,6575 + def __init__(230,6619 + def getReactorTypes(240,7021 + def getIndex(255,7575 + def test_postOptionsSubCommandCausesNoSave(268,7955 + def test_postOptionsNoSubCommandSavesAsUsual(278,8256 + def test_listAllProfilers(287,8524 + def test_defaultUmask(298,8863 + def test_umask(306,9067 + def test_invalidUmask(318,9443 + def test_unimportableConfiguredLogObserver(332,9958 + def test_badAttributeWithConfiguredLogObserver(347,10519 + def test_version(368,11432 +class CheckPIDTests(389,12085 + def test_notExists(397,12242 + def test_nonNumeric(405,12441 + def test_anotherRunning(416,12779 + def kill(423,12994 + def test_stale(430,13194 + def kill(437,13421 + def test_unexpectedOSError(444,13611 + def kill(452,13906 +class TapFileTests(460,14195 + def setUp(465,14323 + def test_createOrGetApplicationWithTapFile(474,14577 +class TestLoggerFactory(487,15043 + def __init__(492,15144 + def start(496,15207 + def stop(505,15505 +class TestApplicationRunner(512,15580 + def __init__(518,15740 + def preApplication(524,15899 + def postApplication(529,16037 +class ApplicationRunnerTests(535,16179 + def setUp(539,16321 + def test_applicationRunnerGetsCorrectApplication(549,16680 + def test_preAndPostApplication(569,17448 + def _applicationStartsWithConfiguredID(582,17929 + class FakeUnixApplicationRunner(595,18373 + def setupEnvironment(596,18445 + def shedPrivileges(600,18606 + def startReactor(603,18723 + def removePID(606,18832 + class FakeService(610,18953 + def setName(619,19144 + def setServiceParent(622,19203 + def disownServiceParent(625,19273 + def privilegedStartService(628,19338 + def startService(631,19441 + def stopService(634,19524 + def test_applicationStartsWithConfiguredNumericIDs(652,20061 + def test_applicationStartsWithConfiguredNameIDs(666,20622 + def test_startReactorRunsTheReactor(683,21279 + def test_applicationRunnerChoosesReactorIfNone(697,21711 + def test_applicationRunnerCapturesSignal(711,22167 + class DummyReactorWithSignal(717,22338 + def installWaker(723,22548 + def run(728,22669 + def test_applicationRunnerIgnoresNoSignal(743,23125 + class DummyReactorWithExitSignalAttribute(749,23346 + def installWaker(755,23564 + def run(760,23685 +class UnixApplicationRunnerSetupEnvironmentTests(777,24198 + def setUp(802,25327 + def daemonize(815,25838 + def test_chroot(824,26138 + def test_noChroot(833,26463 + def test_changeWorkingDirectory(842,26777 + def test_daemonize(851,27116 + def test_noDaemonize(861,27471 + def test_nonDaemonPIDFile(870,27774 + def test_daemonPIDFile(882,28183 + def test_umask(896,28701 + def test_noDaemonizeNoUmask(906,29055 + def test_daemonizedNoUmask(916,29431 +class UnixApplicationRunnerStartApplicationTests(927,29871 + def test_setupEnvironment(935,30087 + def fakeSetupEnvironment(953,30770 + def test_shedPrivileges(989,32274 + def switchUIDPass(994,32426 + def test_shedPrivilegesError(1004,32735 + def switchUIDFail(1010,32950 + def _setUID(1020,33299 + def initgroups(1028,33602 + def setuid(1032,33727 + def setgid(1035,33798 + def test_setUidWithoutGid(1052,34354 + def test_setUidSameAsCurrentUid(1061,34644 +class UnixApplicationRunnerRemovePIDTests(1077,35267 + def test_removePID(1085,35469 + def test_removePIDErrors(1099,35893 +class FakeNonDaemonizingReactor(1112,36292 + def __init__(1124,36756 + def beforeDaemonize(1129,36869 + def afterDaemonize(1133,36945 + def addSystemEventTrigger(1137,37019 +class FakeDaemonizingReactor(1145,37161 +class DummyReactor(1153,37389 + def run(1163,37626 +class AppProfilingTests(1173,37849 + def test_profile(1178,37944 + def _testStats(1201,38647 + def test_profileSaveStats(1219,39221 + def test_withoutProfile(1240,39881 + def test_profilePrintStatsError(1259,40440 + class ErroneousProfile(1264,40631 + def print_stats(1265,40680 + def test_cProfile(1283,41254 + def test_cProfileSaveStats(1306,41950 + def test_withoutCProfile(1328,42624 + def test_unknownProfiler(1347,43221 + def test_defaultProfiler(1360,43653 + def test_profilerNameCaseInsentive(1368,43886 +def _patchTextFileLogObserver(1378,44168 + def observer(1391,44572 +def _setupSyslog(1400,44784 + class fakesyslogobserver(1407,44962 + def __init__(1408,45000 + def emit(1411,45076 +class AppLoggerTests(1419,45245 + def setUp(1427,45432 + def beginLoggingTo(1434,45633 + def tearDown(1442,45891 + def _makeObserver(1450,46077 + class TestObserver(1458,46350 + def __call__(1461,46410 + def _checkObserver(1467,46523 + def test_start(1478,46918 + def test_startUsesApplicationLogObserver(1490,47310 + def _setupConfiguredLogger(1504,47802 + def test_startUsesConfiguredLogObserver(1528,48701 + def test_configuredLogObserverBeatsComponent(1539,49149 + def test_configuredLogObserverBeatsLegacyComponent(1551,49579 + def test_loggerComponentBeatsLegacyLoggerComponent(1563,50007 + def test_configuredLogObserverBeatsSyslog(1581,50577 + def test_configuredLogObserverBeatsLogfile(1599,51231 + def test_getLogObserverStdout(1611,51660 + def test_getLogObserverFile(1631,52268 + def test_stop(1647,52790 + def remove(1656,53072 + def test_legacyObservers(1669,53458 + class LoggerObserver(1678,53720 + def __call__(1682,53865 + def test_unmarkedObserversDeprecated(1697,54303 +class UnixAppLoggerTests(1725,55552 + def setUp(1736,55801 + def fakeSignal(1743,55979 + def test_getLogObserverStdout(1749,56105 + def test_getLogObserverStdoutDaemon(1768,56777 + def test_getLogObserverFile(1778,57185 + def rotate(1797,57875 + def test_getLogObserverDontOverrideSignalHandler(1807,58052 + def fakeGetSignal(1812,58248 + def test_getLogObserverDefaultFile(1823,58579 + def test_getLogObserverSyslog(1837,59099 +class DaemonizeTests(1854,59681 + def setUp(1859,59806 + def test_success(1870,60228 + def test_successInParent(1884,60755 + def test_successEINTR(1900,61388 + def raisingWrite(1907,61588 + def test_successInParentEINTR(1923,62186 + def raisingRead(1930,62388 + def assertErrorWritten(1949,63044 + class FakeService(1955,63293 + def startService(1957,63338 + def test_error(1974,63933 + def test_unicodeError(1984,64250 + def assertErrorInParentBehavior(1995,64607 + def test_errorInParent(2014,65461 + def test_nonASCIIErrorInParent(2031,66181 + def test_errorInParentWithTruncatedUnicode(2050,66905 + def test_errorMessageTruncated(2075,67956 + def test_unicodeErrorMessageTruncated(2085,68255 + def test_hooksCalled(2097,68649 + def test_hooksNotCalled(2109,69075 +class SignalCapturingMemoryReactor(2123,69562 +class StubApplicationRunnerWithSignal(2131,69764 + def __init__(2141,70123 + def preApplication(2146,70260 + def postApplication(2151,70337 +def stubApplicationRunnerFactoryCreator(2162,70638 + def stubApplicationRunnerFactory(2175,71028 +class ExitWithSignalTests(2195,71688 + def setUp(2201,71810 + def fakeKill(2211,72173 + def test_exitWithSignal(2225,72542 + def fake_signal(2233,72788 + def test_normalExit(2246,73245 + def test_runnerExitsWithSignal(2261,73664 + +venv/lib/python2.7/site-packages/twisted/test/process_tester.py,17 +def main(14,285 + +venv/lib/python2.7/site-packages/twisted/test/test_roots.py,220 +class RootsTests(9,192 + def testExceptions(11,230 + def testCollection(26,567 + def testConstrained(47,1203 + class const(48,1234 + def nameConstraint(49,1274 + def testHomogenous(57,1538 + +venv/lib/python2.7/site-packages/twisted/test/proto_helpers.py,3060 +class AccumulatingProtocol(35,1143 + def connectionMade(58,1923 + def dataReceived(66,2215 + def connectionLost(69,2276 +class LineSendingProtocol(77,2511 + def __init__(80,2580 + def connectionMade(85,2710 + def lineReceived(90,2836 + def connectionLost(97,3033 +class FakeDatagramTransport:FakeDatagramTransport101,3102 + def __init__(104,3154 + def write(107,3205 +class StringTransport:StringTransport113,3345 + def __init__(176,5782 + def clear(185,6093 + def value(195,6342 + def write(210,6765 + def writeSequence(216,6940 + def loseConnection(220,7015 + def abortConnection(228,7222 + def getPeer(237,7469 + def getHost(243,7625 + def registerProducer(250,7794 + def unregisterProducer(257,8019 + def _checkState(266,8273 + def pauseProducing(274,8562 + def stopProducing(279,8659 + def resumeProducing(283,8729 +class StringTransportWithDisconnection(289,8831 + def loseConnection(295,9016 +class StringIOWithoutClosing(303,9216 + def close(307,9307 +class _FakePort(315,9404 + def __init__(323,9602 + def startListening(331,9818 + def stopListening(337,9946 + def getHost(343,10072 +class _FakeConnector(352,10249 + def __init__(365,10642 + def stopConnecting(373,10839 + def disconnect(381,11043 + def connect(388,11184 + def getDestination(394,11285 +class MemoryReactor(407,11582 + def __init__(464,13473 + def install(492,14117 + def resolve(499,14269 + def run(506,14428 + def stop(525,14980 + def crash(535,15206 + def iterate(545,15460 + def fireSystemEvent(552,15610 + def addSystemEventTrigger(559,15770 + def removeSystemEventTrigger(570,16181 + def callWhenRunning(577,16350 + def adoptStreamPort(585,16608 + def adoptStreamConnection(601,17146 + def adoptDatagramPort(611,17511 + def listenTCP(631,18212 + def connectTCP(644,18673 + def listenSSL(659,19224 + def connectSSL(670,19628 + def listenUNIX(684,20146 + def connectUNIX(694,20495 + def addReader(706,20909 + def removeReader(713,21079 + def addWriter(721,21272 + def removeWriter(728,21442 + def getReaders(736,21635 + def getWriters(744,21822 + def removeAll(752,22009 +class MemoryReactorClock(766,22309 + def __init__(767,22357 +class RaisingMemoryReactor(774,22519 + def __init__(783,22799 + def adoptStreamPort(795,23237 + def listenTCP(803,23451 + def connectTCP(810,23651 + def listenSSL(817,23865 + def connectSSL(825,24099 + def listenUNIX(833,24348 + def connectUNIX(841,24582 +class NonStreamingProducer(849,24791 + def __init__(857,24929 + def resumeProducing(862,25031 + def pauseProducing(876,25468 + def _done(884,25737 + def stopProducing(894,25958 +def waitUntilAllDisconnected(903,26092 + def _check(923,26865 +class EventLoggingObserver(934,27096 + def __init__(944,27533 + def __len__(948,27585 + def __getitem__(952,27643 + def __iter__(956,27714 + def __call__(960,27774 + def createWithCleanup(968,27913 + +venv/lib/python2.7/site-packages/twisted/test/test_defgen.py,1611 +def getThing(21,569 +def getOwie(26,661 + def CRAP(28,695 +class TerminalException(36,937 +class BaseDefgenTests:BaseDefgenTests39,983 + def testBasics(47,1278 + def testBuggy(56,1590 + def testNothing(63,1814 + def testHandledTerminalFailure(68,1985 + def testHandledTerminalAsyncFailure(76,2333 + def testStackUsage(87,2794 + def testStackUsage2(94,3016 +def deprecatedDeferredGenerator(103,3239 +class DeferredGeneratorTests(117,3625 + def _genBasics(121,3799 + def _genBuggy(140,4196 + def _genNothing(146,4311 + def _genHandledTerminalFailure(151,4395 + def _genHandledTerminalAsyncFailure(161,4665 + def _genStackUsage(170,4854 + def _genStackUsage2(179,5140 + def testDeferredYielding(188,5394 + def _genDeferred(194,5605 +class InlineCallbacksTests(205,5940 + def _genBasics(208,6079 + def _genBuggy(221,6370 + def _genNothing(227,6477 + def _genHandledTerminalFailure(232,6575 + def _genHandledTerminalAsyncFailure(240,6836 + def _genStackUsage(249,7068 + def _genStackUsage2(256,7284 + def testYieldNonDeferred(265,7531 + def _test(273,7803 + def testReturnNoValue(280,7968 + def _noReturn(282,8073 + def testReturnValue(289,8249 + def _return(291,8325 + def test_nonGeneratorReturn(299,8499 + def _noYield(304,8716 + def test_nonGeneratorReturnValue(312,8907 + def _noYield(317,9109 +class DeprecateDeferredGeneratorTests(326,9307 + def test_deferredGeneratorDeprecated(332,9477 + def decoratedFunction(337,9620 + def test_waitForDeferredDeprecated(349,10110 + +venv/lib/python2.7/site-packages/twisted/test/test_tcp.py,7477 +def loopUntil(28,763 + def check(37,1043 + def stop(42,1165 +class ClosingProtocol(52,1328 + def connectionMade(54,1371 + def connectionLost(58,1488 +class ClosingFactory(64,1617 + def buildProtocol(71,1748 + def cleanUp(76,1873 +class MyProtocolFactoryMixin(86,2108 + def __init__(122,3588 + def buildProtocol(126,3646 +class MyServerFactory(142,4070 +class MyClientFactory(149,4228 + def __init__(156,4415 + def clientConnectionFailed(161,4572 + def clientConnectionLost(166,4724 + def stopFactory(170,4850 +class ListeningTests(175,4905 + def test_listen(177,4947 + def testStopListening(188,5291 + def cbStopListening(199,5728 + def testNumberedInterface(209,6041 + def testPortRepr(215,6251 + def stoppedListening(220,6437 + def test_serverRepr(226,6627 + def check(241,7275 + def test_restartListening(253,7740 + def cbStopListening(262,8095 + def close(275,8701 + def test_exceptInStop(285,8987 + def raiseException(292,9264 + def test_restartAfterExcept(300,9535 + def raiseException(307,9816 + def cbStopListening(313,10059 + def close(327,10707 + def test_directConnectionLostCall(336,10997 + def check(352,11700 + def test_exceptInConnectionLostCall(357,11841 + def raiseException(366,12228 +class LoopbackTests(374,12496 + def test_closePortInProtocolFactory(378,12583 + def check(390,13053 + def _trapCnxDone(396,13283 + def _connectedClientAndServerTest(400,13385 + def connected(418,14168 + def test_tcpNoDelay(427,14480 + def check(434,14797 + def test_tcpKeepAlive(445,15277 + def check(452,15601 + def testFailing(463,16091 + def check(467,16277 + def test_connectionRefusedErrorNumber(472,16424 + def tryConnectFailure(507,17998 + def connected(508,18031 + def connRefused(527,18835 + def cleanup(530,18976 + def test_connectByServiceFail(538,19192 + def test_connectByService(549,19535 + def fakeGetServicePortByName(565,20254 + def connected(574,20647 +class StartStopFactory(585,21046 + def startFactory(590,21122 + def stopFactory(595,21248 +class ClientStartStopFactory(601,21378 + def __init__(606,21459 + def startFactory(610,21587 + def stopFactory(615,21713 +class FactoryTests(622,21883 + def test_serverStartStop(625,21954 + def cbClosed(656,23226 + def cbClosedAll(662,23436 + def test_clientStartStop(668,23611 +class CannotBindTests(686,24196 + def test_cannotBind(692,24343 + def _fireWhenDoneFunc(713,25015 + def newf(717,25158 + def test_clientBind(724,25294 + def _connect1(736,25770 + def _conmade(745,26139 + def _check1connect2(752,26392 + def _check2failed(770,27184 + def _check2stopped(776,27424 + def _stop(780,27544 + def _check1cleanup(787,27809 +class MyOtherClientFactory(795,27970 + def buildProtocol(796,28022 +class LocalRemoteAddressTests(803,28170 + def test_hostAddress(808,28342 + def check(824,29033 + def cleanup(830,29284 +class WriterProtocol(842,29658 + def connectionMade(843,29699 +class ReaderProtocol(864,30611 + def dataReceived(865,30652 + def connectionLost(867,30720 +class WriterClientFactory(870,30789 + def __init__(871,30840 + def buildProtocol(874,30910 +class WriteDataTests(880,31043 + def test_writer(886,31215 + def check(903,31813 + def test_writeAfterShutdownWithoutReading(917,32521 + class Disconnecter(948,34244 + def connectionMade(954,34526 + def disconnect(959,34729 + def connectionLost(965,34991 + class Infinite(982,35644 + def __init__(990,35887 + def resumeProducing(993,35971 + def stopProducing(998,36167 + class UnreadingWriter(1002,36252 + def connectionMade(1007,36448 + def write(1012,36680 + def cbClientLost(1035,38080 +class ConnectionLosingProtocol(1049,38587 + def connectionMade(1050,38638 +class NoopProtocol(1058,38833 + def connectionMade(1059,38872 + def connectionLost(1063,38984 +class ConnectionLostNotifyingProtocol(1068,39055 + def __init__(1079,39479 + def connectionLost(1084,39613 +class HandleSavingProtocol(1090,39742 + def makeConnection(1096,39963 +class ProperlyCloseFilesMixin:ProperlyCloseFilesMixin1106,40223 + def createServer(1110,40330 + def connectClient(1120,40635 + def getHandleExceptionType(1130,40948 + def getHandleErrorCode(1138,41172 + def test_properlyCloseFiles(1151,41584 + def clientConnected(1169,42352 + def clientDisconnected(1181,42884 + def cleanup(1199,43778 +class ProperlyCloseFilesTests(1213,44174 + def createServer(1218,44403 + def connectClient(1225,44620 + def getHandleExceptionType(1232,44833 +class WiredForDeferreds(1242,45089 + def __init__(1243,45140 + def connectionMade(1246,45265 + def connectionLost(1250,45396 +class WiredFactory(1256,45548 + def __init__(1259,45628 +class AddressTests(1266,45822 + def setUp(1270,45954 + class RememberingWrapper(1279,46303 + def __init__(1289,46768 + def buildProtocol(1296,47056 + def tearDown(1327,48528 + def test_buildProtocolClient(1338,48857 +class LargeBufferWriterProtocol(1358,49669 + def connectionMade(1363,49861 +class LargeBufferReaderProtocol(1369,50035 + def dataReceived(1370,50087 + def connectionLost(1372,50159 +class LargeBufferReaderClientFactory(1375,50228 + def __init__(1376,50290 + def buildProtocol(1379,50357 +class FireOnClose(1386,50502 + def connectionLost(1390,50655 +class FireOnCloseFactory(1395,50802 + def __init__(1398,50882 +class LargeBufferTests(1403,51029 + def testWriter(1408,51164 + def check(1423,51757 +class MyHCProtocol(1434,52255 + def readConnectionLost(1440,52355 + def writeConnectionLost(1446,52573 +class MyHCFactory(1453,52793 + def buildProtocol(1458,52887 +class HalfCloseTests(1466,53044 + def setUp(1469,53127 + def _setUp(1482,53593 + def tearDown(1489,53949 + def _tearDown(1497,54244 + def _connectionLost(1503,54498 + def testCloseWriteCloser(1511,54805 + def loseWrite(1518,55004 + def check(1521,55131 + def write(1526,55371 + def testWriteCloseNotification(1536,55808 +class HalfCloseNoNotificationAndShutdownExceptionTests(1548,56190 + def setUp(1550,56266 + def _gotClient(1561,56704 + def tearDown(1568,57029 + def testNoNotification(1572,57139 + def testShutdownException(1588,57872 +class HalfCloseBuggyApplicationTests(1603,58451 + def setUp(1608,58593 + def setClient(1621,59176 + def aBug(1629,59433 + def _notificationRaisesTest(1637,59623 + def check(1644,59934 + def test_readNotificationRaises(1651,60123 + def test_writeNotificationRaises(1661,60523 +class LogTests(1672,60919 + def test_logstrClientSetup(1677,61018 + def cb(1698,61727 +class PauseProducingTests(1706,61968 + def test_pauseProducingInConnectionMade(1711,62097 + def checkInConnectionMade(1728,62705 + def checkAfterConnectionMade(1740,63255 +class CallBackOrderTests(1753,63770 + def test_loseOrder(1758,63872 + def _cbCM(1772,64392 + def _cbCCL(1787,64888 + def _cbCL(1793,65021 + def _cbGather(1799,65147 + +venv/lib/python2.7/site-packages/twisted/test/test_error.py,547 +class StringificationTests(12,264 + def testThemAll(149,4601 + def test_connectingCancelledError(167,5052 +class SubclassingTests(177,5316 + def test_connectionLostSubclassOfConnectionClosed(182,5443 + def test_connectionDoneSubclassOfConnectionClosed(190,5725 + def test_invalidAddressErrorSubclassOfValueError(198,6007 +class GetConnectErrorTests(208,6276 + def assertErrnoException(215,6508 + def assertCorrectException(226,6901 + def test_errno(238,7389 + def test_gaierror(250,7958 + def test_nonTuple(259,8281 + +venv/lib/python2.7/site-packages/twisted/test/test_failure.py,3282 +def getDivisionFailure(30,527 +class FailureTests(44,866 + def test_failAndTrap(49,958 + def test_trapRaisesWrappedException(62,1305 + def test_trapRaisesSelf(86,2045 + def test_failureValueFromFailure(109,2740 + def test_failureValueFromFoundFailure(121,3138 + def assertStartsWith(138,3643 + def assertEndsWith(151,4039 + def assertTracebackFormat(164,4424 + def assertDetailedTraceback(180,4935 + def assertBriefTraceback(258,7615 + def assertDefaultTraceback(303,9039 + def test_printDetailedTraceback(352,10774 + def test_printBriefTraceback(360,10987 + def test_printTraceback(367,11147 + def test_printDetailedTracebackCapturedVars(374,11293 + def test_printBriefTracebackCapturedVars(383,11630 + def test_printTracebackCapturedVars(394,11981 + def test_printDetailedTracebackCapturedVarsCleaned(405,12318 + def test_invalidFormatFramesDetail(413,12617 + def test_ExplictPass(422,12899 + def _getInnermostFrameLine(429,13057 + def test_RaiseExceptionWithTB(440,13379 + def test_stringExceptionConstruction(446,13549 + def test_ConstructionFails(455,13914 + def test_getTracebackObject(466,14336 + def test_getTracebackObjectFromCaptureVars(475,14635 + def test_getTracebackObjectFromClean(488,15051 + def test_getTracebackObjectFromCaptureVarsAndClean(501,15537 + def test_getTracebackObjectWithoutTraceback(513,16026 + def test_tracebackFromExceptionInPython3(525,16469 + def test_cleanFailureRemovesTracebackInPython3(539,16905 + def test_repr(555,17514 +class BrokenStr(569,17931 + def __str__(574,18068 +class BrokenExceptionMetaclass(580,18180 + def __str__(585,18326 +class BrokenExceptionType(590,18416 +class GetTracebackTests(599,18618 + def _brokenValueTest(603,18719 + def test_brokenValueBriefDetail(615,19146 + def test_brokenValueDefaultDetail(624,19477 + def test_brokenValueVerboseDetail(631,19669 + def _brokenTypeTest(638,19861 + def test_brokenTypeBriefDetail(649,20288 + def test_brokenTypeDefaultDetail(659,20649 + def test_brokenTypeVerboseDetail(666,20838 +class FindFailureTests(674,21028 + def test_findNoFailureInExceptionHandler(679,21154 + def test_findNoFailure(693,21558 + def test_findFailure(703,21888 + def test_failureConstructionFindsOriginalFailure(719,22385 + def test_failureConstructionWithMungedStackSucceeds(742,23270 +class FormattableTracebackTests(775,24441 + def test_singleFrame(784,24769 + def test_manyFrames(798,25435 +class FrameAttributesTests(813,26018 + def test_fakeFrameAttributes(819,26192 +class DebugModeTests(832,26683 + def setUp(837,26808 + def restore(844,27055 + def test_regularFailure(854,27307 + def test_captureVars(868,27690 +class ExtendedGeneratorTests(883,28067 + def _throwIntoGenerator(888,28215 + def test_throwExceptionIntoGenerator(897,28487 + def generator(903,28683 + def test_findFailureInGenerator(921,29206 + def generator(931,29548 + def test_failureConstructionFindsOriginalFailure(946,29907 + def generator(959,30354 + def test_ambiguousFailureInGenerator(981,31115 + def generator(987,31366 + def test_ambiguousFailureFromGenerator(1001,31714 + def generator(1007,31966 + +venv/lib/python2.7/site-packages/twisted/test/test_threadable.py,419 +class TestObject:TestObject24,436 + def aMethod(30,508 +class SynchronizationTests(38,750 + def setUp(39,808 + def test_synchronizedName(55,1495 + def test_isInIOThread(63,1721 + def testThreadedSynchronization(80,2329 + def callMethodLots(85,2419 + def testUnthreadedSynchronization(109,3024 +class SerializationTests(116,3151 + def testPickling(117,3207 + def testUnpickling(128,3510 + +venv/lib/python2.7/site-packages/twisted/test/test_text.py,1080 +class WrapTests(26,699 + def setUp(30,785 + def test_wordCount(36,950 + def test_wordMatch(49,1279 + def test_lineLength(62,1600 + def test_doubleNewline(76,2049 +class LineTests(86,2323 + def test_isMultiline(90,2426 + def test_endsInNewline(103,2761 +class StringyStringTests(117,3071 + def test_tuple(121,3169 + def test_dict(130,3377 + def test_list(139,3574 +class SplitTests(149,3796 + def test_oneWord(153,3884 + def test_multiWord(162,4108 +class StrFileTests(182,4690 + def setUp(183,4729 + def tearDown(186,4803 + def test_1_f(189,4841 + def test_1_1(192,4919 + def test_1_2(195,4996 + def test_1_3(198,5073 + def test_1_4(201,5150 + def test_1_5(204,5227 + def test_1_6(207,5304 + def test_3_1(210,5381 + def test_3_2(213,5460 + def test_3_3(216,5539 + def test_3_4(219,5618 + def test_3_f(222,5697 + def test_large_1(225,5777 + def test_large_2(228,5871 + def test_large_f(231,5967 + def test_overlarge_f(235,6064 + def test_self(241,6246 + def test_insensitive(244,6344 + +venv/lib/python2.7/site-packages/twisted/test/test_log.py,3523 +class FakeWarning(32,681 +class TextFromEventDictTests(40,850 + def test_message(45,963 + def test_format(56,1253 + def test_noMessageNoFormat(68,1588 + def test_whySpecified(79,1870 + def test_whyDefault(93,2287 + def test_noTracebackForYou(105,2683 +class LogTests(117,3089 + def setUp(119,3136 + def testObservation(126,3327 + def testContext(136,3634 + def testErrors(150,4202 + def testErrorsWithWhy(160,4545 + def test_erroneousErrors(171,4954 + def broken(181,5317 + def test_showwarning(211,6365 + def test_warningToFile(243,7587 + def test_publisherReportsBrokenObserversPrivately(274,8660 + def logError(281,8864 + def fail(285,8997 +class FakeFile(299,9425 + def write(301,9448 + def flush(305,9505 +class EvilStr:EvilStr313,9570 + def __str__(314,9585 +class EvilRepr:EvilRepr319,9626 + def __str__(320,9642 + def __repr__(324,9700 +class EvilReprStr(329,9742 +class LogPublisherTestCaseMixin:LogPublisherTestCaseMixin334,9792 + def setUp(335,9825 + def tearDown(361,10699 +class LogPublisherTests(377,11225 + def testSingleString(379,11331 + def testMultipleString(384,11445 + def test_singleUnicode(392,11757 +class FileObserverTests(411,12365 + def _getTimezoneOffsetTest(427,12942 + def test_getTimezoneOffsetWestOfUTC(480,15106 + def test_getTimezoneOffsetEastOfUTC(490,15529 + def test_getTimezoneOffsetWithoutDaylightSavingTime(500,15949 + def test_timeFormatting(514,16653 + def test_microsecondTimestampFormatting(558,18685 + def test_loggingAnObjectWithBroken__str__(567,19021 + def test_formattingAnObjectWithBroken__str__(575,19321 + def test_brokenSystem__str__(581,19539 + def test_formattingAnObjectWithBroken__repr__Indirect(587,19723 + def test_systemWithBroker__repr__Indirect(593,19959 + def test_simpleBrokenFormat(599,20173 + def test_ridiculousFormat(605,20368 + def test_evilFormat__repr__And__str__(611,20551 + def test_strangeEventDict(617,20755 + def _startLoggingCleanup(625,20979 + def test_printToStderrSetsIsError(635,21319 + def observe(644,21596 + def test_startLogging(653,21817 + def test_startLoggingTwice(680,22970 + def showError(692,23500 + def test_startLoggingOverridesWarning(707,24085 + class SysModule(715,24356 + def preStartObserver(744,25796 + def test_emitPrefix(758,26252 + def observer(767,26496 + def test_emitNewline(790,27147 +class PythonLoggingObserverTests(812,27666 + def setUp(816,27794 + def restoreLevel(822,27982 + def removeLogger(828,28174 + def test_singleString(837,28410 + def test_errorString(846,28670 + def test_formatString(860,29067 + def test_customLevel(868,29299 + def test_strangeEventDict(882,29811 +class PythonLoggingIntegrationTests(892,30084 + def test_startStopObserver(897,30215 + def test_inheritance(918,30884 + class MyObserver(924,31117 + def emit(925,31170 +class DefaultObserverTests(939,31564 + def test_failureLogger(944,31670 + def test_emitEventWithBrokenRepr(967,32335 + class Ouch(972,32534 + def __repr__(973,32562 +class StdioOnnaStickTests(987,32942 + def setUp(992,33081 + def tearDown(997,33181 + def getLogMessages(1001,33258 + def test_write(1005,33354 + def test_metadata(1019,33844 + def test_writeLines(1030,34192 + def test_print(1039,34474 + def test_error(1051,34862 + def test_unicode(1060,35122 + +venv/lib/python2.7/site-packages/twisted/test/test_threadpool.py,1980 +class Synchronization(24,441 + def __init__(27,490 + def run(33,637 +class ThreadPoolTests(65,1670 + def getTimeout(70,1762 + def _waitForLock(77,1934 + def test_attributes(87,2189 + def test_start(97,2481 + def test_adjustingWhenPoolStopped(113,2951 + def test_threadCreationArguments(125,3319 + def worker(140,3862 + class Dumb(144,3948 + def test_threadCreationArgumentsCallInThreadWithCallback(168,4496 + def onResult(190,5112 + def worker(201,5586 + class Dumb(205,5687 + def test_persistence(243,6747 + def _threadpoolTest(260,7247 + def test_callInThread(289,8178 + def test_callInThreadException(297,8386 + class NewError(302,8548 + def raiseError(305,8601 + def test_callInThreadWithCallback(317,8865 + def onResult(328,9199 + def test_callInThreadWithCallbackExceptionInCallback(346,9636 + class NewError(352,9920 + def raiseError(355,9973 + def onResult(363,10111 + def test_callInThreadWithCallbackExceptionInOnResult(382,10622 + class NewError(387,10807 + def onResult(395,10942 + def test_callbackThread(417,11502 + def onResult(426,11755 + def func(430,11881 + def test_callbackContext(443,12247 + def onResult(456,12656 + def func(461,12827 + def test_existingWork(477,13275 + def test_workerStateTransition(496,13789 + def _thread(514,14364 +class RaceConditionTests(535,14946 + def setUp(537,15003 + def done(542,15151 + def getTimeout(549,15271 + def test_synchronization(556,15392 +class MemoryPool(589,16868 + def __init__(595,17048 + def _pool(619,18020 + def respectLimit(632,18508 +class PoolHelper(648,19097 + def __init__(666,19909 + def newWorker(679,20322 + def performAllCoordination(687,20573 +class MemoryBackedTests(697,20825 + def test_workBeforeStarting(703,21002 + def test_tooMuchWorkBeforeStarting(720,21599 + +venv/lib/python2.7/site-packages/twisted/test/plugin_basic.py,196 +class TestPlugin:TestPlugin19,420 + def test1(24,502 +class AnotherTestPlugin:AnotherTestPlugin31,600 + def test(36,695 +class ThirdTestPlugin:ThirdTestPlugin43,790 + def test(48,883 + +venv/lib/python2.7/site-packages/twisted/test/test_sslverify.py,10363 +def counter(129,5042 +def makeCertificate(137,5202 +def certificatesForAuthorityAndServer(156,5730 +def _loopbackTLSConnection(251,8928 + class GreetingServer(269,9680 + def connectionMade(271,9758 + class ListeningClient(274,9841 + def dataReceived(277,9932 + def connectionLost(279,10000 +def loopbackTLSConnection(307,10862 + class ContextFactory(324,11531 + def getContext(325,11565 +def loopbackTLSConnectionInMemory(347,12310 +def pathContainingDumpOf(395,14001 +class DataCallbackProtocol(421,14896 + def dataReceived(422,14943 + def connectionLost(427,15092 +class WritingProtocol(432,15246 + def connectionMade(434,15304 + def connectionLost(437,15375 +class FakeContext(442,15460 + def __init__(480,16518 + def set_options(487,16689 + def use_certificate(491,16760 + def use_privatekey(495,16846 + def check_privatekey(499,16928 + def set_mode(503,16982 + def set_verify(512,17166 + def set_verify_depth(516,17250 + def set_session_id(520,17325 + def add_extra_chain_cert(524,17404 + def set_cipher_list(528,17490 + def load_tmp_dh(532,17573 + def set_default_verify_paths(536,17652 + def set_tmp_ecdh(543,17809 +class ClientOptionsTests(554,18045 + def test_extraKeywords(561,18205 + def test_bytesFailFast(579,18786 + def test_dNSNameHostname(595,19299 + def test_IPv4AddressHostname(604,19566 + def test_IPv6AddressHostname(613,19843 +class FakeChooseDiffieHellmanEllipticCurve(623,20115 + def __init__(628,20250 + def configureECDHCurve(634,20371 +class OpenSSLOptionsTestsMixin(644,20552 + def setUp(657,20908 + def tearDown(677,21560 + def loopback(692,21989 +class OpenSSLOptionsTests(716,22920 + def setUp(721,23052 + def test_constructorWithOnlyPrivateKey(731,23399 + def test_constructorWithOnlyCertificate(741,23680 + def test_constructorWithCertificateAndPrivateKey(751,23964 + def test_constructorDoesNotAllowVerifyWithoutCACerts(762,24431 + def test_constructorDoesNotAllowLegacyWithTrustRoot(773,24770 + def test_constructorAllowsCACertsWithoutVerify(793,25488 + def test_constructorWithVerifyAndCACerts(804,25925 + def test_constructorSetsExtraChain(816,26445 + def test_constructorDoesNotAllowExtraChainWithoutPrivateKey(829,26871 + def test_constructorDoesNotAllowExtraChainWithOutPrivateKey(842,27261 + def test_extraChainFilesAreAddedIfSupplied(855,27650 + def test_extraChainDoesNotBreakPyOpenSSL(873,28319 + def test_acceptableCiphersAreAlwaysSet(886,28730 + def test_givesMeaningfulErrorMessageIfNoCipherMatches(901,29301 + def test_honorsAcceptableCiphersArgument(916,29781 + class FakeAcceptableCiphers(921,29966 + def selectCiphers(922,30011 + def test_basicSecurityOptionsAreSet(935,30433 + def test_modeIsSet(951,31002 + def test_singleUseKeys(964,31390 + def test_methodIsDeprecated(980,31936 + def test_tlsv1ByDefault(1003,32854 + def test_tlsProtocolsAtLeastWithMinimum(1020,33479 + def test_tlsProtocolsNoMethodWithAtLeast(1038,34129 + def test_tlsProtocolsNoMethodWithMinimum(1056,34733 + def test_tlsProtocolsNoMethodWithMaximum(1074,35357 + def test_tlsVersionRangeInOrder(1092,35977 + def test_tlsVersionRangeInOrderAtLeast(1109,36660 + def test_tlsProtocolsreduceToMaxWithoutMin(1126,37320 + def test_tlsProtocolsSSLv3Only(1146,38218 + def test_tlsProtocolsTLSv1Point0Only(1166,39072 + def test_tlsProtocolsTLSv1Point1Only(1186,39935 + def test_tlsProtocolsTLSv1Point2Only(1206,40796 + def test_tlsProtocolsAllModernTLS(1226,41657 + def test_tlsProtocolsAtLeastAllSecureTLS(1247,42527 + def test_tlsProtocolsAtLeastWillAcceptHigherDefault(1266,43272 + def test_tlsProtocolsAllSecureTLS(1289,44319 + def test_dhParams(1308,45077 + class FakeDiffieHellmanParameters(1312,45200 + def test_abbreviatingDistinguishedNames(1329,45708 + def testInspectDistinguishedName(1348,46480 + def testInspectDistinguishedNameWithoutAllFields(1369,47377 + def test_inspectCertificate(1385,47968 + def test_publicKeyMatching(1426,49977 + def test_certificateOptionsSerialization(1440,50573 + def test_certificateOptionsSessionTickets(1483,52252 + def test_certificateOptionsSessionTicketsDisabled(1492,52575 + def test_allowedAnonymousClientConnection(1501,52912 + def test_refusedAnonymousClientConnection(1517,53554 + def afterLost(1536,54364 + def test_failedCertificateVerification(1548,54927 + def afterLost(1565,55735 + def test_successfulCertificateVerification(1572,55950 + def test_successfulSymmetricSelfSignedCertificateVerification(1588,56659 + def test_verification(1605,57479 +class OpenSSLOptionsECDHIntegrationTests(1649,59247 + def test_ellipticCurveDiffieHellman(1655,59418 + def assertECDH(1670,60024 +class DeprecationTests(1680,60323 + def test_getstateDeprecation(1688,60539 + def test_setstateDeprecation(1697,60846 +class TrustRootTests(1707,61158 + def setUp(1716,61389 + def test_caCertsPlatformDefaults(1724,61622 + def test_trustRootPlatformRejectsUntrustedCA(1739,62203 + def test_trustRootSpecificCertificate(1771,63615 +class ServiceIdentityTests(1790,64375 + def serviceIdentitySetup(1799,64630 + def broken(1890,68679 + class GreetingServer(1914,69466 + def connectionMade(1918,69605 + def dataReceived(1920,69695 + def connectionLost(1922,69771 + class GreetingClient(1925,69859 + def connectionMade(1929,69996 + def dataReceived(1931,70086 + def connectionLost(1933,70162 + def test_invalidHostname(1963,71164 + def test_validHostname(1982,71811 + def test_validHostnameInvalidCertificate(2000,72358 + def test_realCAsBetterNotSignOurBogusTestCerts(2021,73041 + def test_butIfTheyDidItWouldWork(2043,73728 + def test_clientPresentsCertificate(2063,74392 + def test_clientPresentsBadCertificate(2086,75138 + def test_hostnameIsIndicated(2112,76005 + def setupServerContext(2120,76318 + def servername_received(2121,76355 + def test_hostnameEncoding(2135,76856 + def setupServerContext(2141,77046 + def servername_received(2142,77083 + def test_fallback(2162,77762 + class Connection(2169,78070 + def get_peer_certificate(2170,78104 + def test_surpriseFromInfoCallback(2190,78785 +def negotiateProtocol(2216,79742 +class NPNOrALPNTests(2248,80940 + def test_nextProtocolMechanismsNPNIsSupported(2260,81233 + def test_NPNAndALPNSuccess(2271,81615 + def test_NPNAndALPNDifferent(2286,82183 + def test_NPNAndALPNNoAdvertise(2301,82714 + def test_NPNAndALPNNoOverlap(2315,83160 +class ALPNTests(2331,83666 + def test_nextProtocolMechanismsALPNIsSupported(2347,84099 +class NPNAndALPNAbsentTests(2360,84503 + def test_nextProtocolMechanismsNoNegotiationSupported(2373,84874 + def test_NPNAndALPNNotImplemented(2382,85197 + def test_NegotiatedProtocolReturnsNone(2396,85623 +class _NotSSLTransport:_NotSSLTransport2413,86181 + def getHandle(2414,86205 +class _MaybeSSLTransport:_MaybeSSLTransport2419,86253 + def getHandle(2420,86279 + def get_peer_certificate(2423,86325 + def get_host_certificate(2426,86382 +class _ActualSSLTransport:_ActualSSLTransport2431,86441 + def getHandle(2432,86468 + def get_host_certificate(2435,86514 + def get_peer_certificate(2438,86629 +class ConstructorsTests(2443,86746 + def test_peerFromNonSSLTransport(2447,86830 + def test_peerFromBlankSSLTransport(2458,87247 + def test_hostFromNonSSLTransport(2469,87688 + def test_hostFromBlankSSLTransport(2480,88105 + def test_hostFromSSLTransport(2491,88546 + def test_peerFromSSLTransport(2502,88890 +class MultipleCertificateTrustRootTests(2514,89235 + def test_trustRootFromCertificatesPrivatePublic(2523,89420 + def test_trustRootSelfSignedServerCertificate(2546,90331 + def test_trustRootCertificateAuthorityTrustsConnection(2571,91341 + def test_trustRootFromCertificatesUntrusted(2592,92220 + def test_trustRootFromCertificatesOpenSSLObjects(2628,93687 +class OpenSSLCipherTests(2648,94290 + def test_constructorSetsFullName(2657,94483 + def test_repr(2667,94756 + def test_eqSameClass(2678,95054 + def test_eqSameNameDifferentType(2687,95342 + class DifferentCipher(2692,95502 +class ExpandCipherStringTests(2702,95708 + def test_doesNotStumbleOverEmptyList(2709,95877 + def test_doesNotSwallowOtherSSLErrors(2719,96148 + def raiser(2724,96314 + def test_returnsListOfICiphers(2737,96767 +class AcceptableCiphersTests(2753,97226 + def test_selectOnEmptyListReturnsEmptyList(2760,97399 + def test_selectReturnsOnlyFromAvailable(2768,97644 + def test_fromOpenSSLCipherStringExpandsToListOfCiphers(2782,98167 +class DiffieHellmanParametersTests(2794,98634 + def test_fromFile(2802,98846 +class FakeLibState(2814,99161 + def __init__(2832,99763 +class FakeLib(2839,99920 + def __init__(2846,100103 + def SSL_CTX_set_ecdh_auto(2850,100164 +class FakeLibTests(2870,100697 + def test_SSL_CTX_set_ecdh_auto(2875,100779 + def test_SSL_CTX_set_ecdh_autoRaises(2891,101307 +class FakeCryptoState(2910,101936 + def __init__(2931,102534 +class FakeCrypto(2942,102817 + def __init__(2949,102976 + def get_elliptic_curve(2953,103037 +class FakeCryptoTests(2969,103572 + def test_get_elliptic_curveRecordsArgument(2974,103671 + def test_get_elliptic_curveReturns(2988,104132 + def test_get_elliptic_curveRaises(3010,104781 +class ChooseDiffieHellmanEllipticCurveTests(3031,105368 + def setUp(3052,105917 + def test_openSSL110(3064,106286 + def test_openSSL102(3084,106983 + def test_openSSL102SetECDHAutoRaises(3104,107725 + def test_openSSL101(3123,108448 + def test_openSSL101SetECDHRaises(3146,109294 + def set_tmp_ecdh(3151,109501 + def test_openSSL101NoECC(3171,110077 +class KeyPairTests(3190,110691 + def setUp(3197,110822 + def test_getstateDeprecation(3206,111010 + def test_setstateDeprecation(3215,111290 + def test_noTrailingNewlinePemCert(3225,111628 +class SelectVerifyImplementationTests(3235,111916 + def test_dependencyMissing(3243,112100 + def test_dependencyMissingWarning(3266,112882 + +venv/lib/python2.7/site-packages/twisted/test/test_threads.py,1982 +class ReactorThreadsTests(21,446 + def test_suggestThreadPoolSize(26,550 + def _waitForThread(36,855 + def test_callInThread(45,1150 + def cb(50,1326 + def threadedFunc(53,1410 + def test_callFromThread(66,1821 + def cb(71,1978 + def threadedFunc(75,2102 + def test_wakerOverflow(87,2522 + def cb(91,2655 + def threadedFunction(94,2747 + def _testBlockingCallFromThread(112,3487 + def cb1(119,3709 + def threadedFunc(120,3731 + def cb2(132,4148 + def test_blockingCallFromThread(139,4366 + def reactorFunc(145,4616 + def cb(147,4683 + def test_asyncBlockingCallFromThread(152,4830 + def reactorFunc(157,5013 + def cb(161,5148 + def test_errorBlockingCallFromThread(166,5295 + def reactorFunc(170,5421 + def cb(172,5499 + def test_asyncErrorBlockingCallFromThread(178,5713 + def reactorFunc(183,5918 + def cb(187,6067 +class Counter:Counter194,6283 + def add(198,6329 +class DeferredResultTests(213,6868 + def setUp(218,6966 + def tearDown(222,7030 + def test_callMultiple(226,7097 + def finished(234,7292 + def test_deferredResult(244,7564 + def test_deferredFailure(254,7886 + class NewError(260,8115 + def raiseError(262,8167 + def test_deferredFailureAfterSuccess(268,8317 +class DeferToThreadPoolTests(289,9257 + def setUp(294,9379 + def tearDown(299,9472 + def test_deferredResult(303,9521 + def test_deferredFailure(314,9907 + class NewError(320,10140 + def raiseError(322,10192 +def threadedCall(336,10489 +class ThreadStartupProcessProtocol(348,10753 + def __init__(349,10815 + def outReceived(354,10927 + def errReceived(357,10989 + def processEnded(360,11051 +class StartupBehaviorTests(365,11151 + def testCallBeforeStartupUnexecuted(380,11740 + def programFinished(385,11955 + def programTimeout(396,12394 + +venv/lib/python2.7/site-packages/twisted/test/test_paths.py,7305 +class BytesTestCase(29,693 + def mktemp(33,807 +class AbstractFilePathTests(41,960 + def _mkpath(49,1118 + def subdir(55,1247 + def subfile(59,1322 + def setUp(63,1407 + def test_verifyObject(81,2033 + def test_segmentsFromPositive(88,2231 + def test_segmentsFromNegative(97,2516 + def test_walk(107,2847 + def test_parents(116,3093 + def test_validSubdir(133,3664 + def test_invalidSubdir(151,4322 + def test_validFiles(159,4590 + def test_multipleChildSegments(171,4969 + def test_dictionaryKeys(181,5328 + def test_dictionaryKeyWithString(200,5977 + def test_childrenNonexistentError(211,6321 + def test_childrenNotDirectoryError(219,6608 + def test_newTimesAreFloats(228,6918 + def test_oldTimesAreInts(239,7368 +class FakeWindowsPath(251,7760 + def listdir(256,7900 +class ListingCompatibilityTests(282,8870 + def test_windowsErrorExcept(287,9015 + def test_alwaysCatchOSError(300,9450 + def test_keepOriginalAttributes(309,9714 +class ExplodingFile:ExplodingFile325,10213 + def read(335,10487 + def write(342,10601 + def close(349,10717 + def __enter__(356,10836 + def __exit__(360,10883 +class TrackingFilePath(365,10963 + def __init__(383,11629 + def open(391,11895 + def openedPaths(400,12116 + def clonePath(408,12385 +class ExplodingFilePath(419,12691 + def __init__(428,12965 + def open(445,13558 + def clonePath(457,13856 +class PermissionsTests(462,13953 + def assertNotUnequal(467,14046 + def test_rwxFromBools(487,14738 + def test_rwxEqNe(502,15269 + def test_rwxShorthand(519,15986 + def getChar(526,16245 + def test_permissionsFromStat(542,16809 + def _rwxFromStat(547,17018 + def getPermissionBit(548,17062 + def test_permissionsEq(578,18536 + def test_permissionsShorthand(592,19088 +class FilePathTests(609,19827 + class are 614,20009 + def test_chmod(616,20076 + def symlink(629,20541 + def createLinks(643,20928 + def test_realpathSymlink(654,21342 + def test_realpathCyclicalSymlink(666,21772 + def test_realpathNoSymlink(677,22243 + def test_walkCyclicalSymlink(686,22518 + def iterateOverPath(693,22813 + def test_walkObeysDescendWithCyclicalSymlinks(698,22967 + def noSymLinks(708,23440 + def iterateOverPath(710,23507 + def test_walkObeysDescend(715,23659 + def noSymLinks(721,23861 + def test_getAndSet(727,24047 + def test_getContentFileClosing(738,24461 + def test_symbolicLink(748,24795 + def test_linkTo(763,25294 + def test_linkToErrors(781,25989 + def testMultiExt(799,26630 + def testPreauthChild(810,27117 + def testStatCache(815,27298 + def testPersist(834,28032 + def testInsecureUNIX(839,28236 + def testInsecureWin32(844,28493 + def testInsecureWin32Whacky(852,28793 + def testComparison(867,29453 + def test_descendantOnly(891,30482 + def testSibling(901,30770 + def testTemporarySibling(909,31070 + def test_temporarySiblingExtension(917,31357 + def test_removeDirectory(929,31857 + def test_removeWithSymlink(938,32108 + def test_copyToDirectory(951,32551 + def test_copyToMissingDestFileClosing(967,33106 + def test_copyToFileClosing(987,33966 + def test_copyToDirectoryItself(1000,34511 + def test_copyToWithSymlink(1010,34903 + def test_copyToWithoutSymlink(1024,35462 + def test_copyToMissingSource(1036,35951 + def test_moveTo(1045,36266 + def test_moveToExistsCache(1060,36759 + def test_moveToExistsCacheCrossMount(1081,37516 + def test_moveToSizeCache(1090,37764 + def test_moveToSizeCacheCrossMount(1122,39076 + def test_moveToError(1130,39312 + def setUpFaultyRename(1139,39678 + def faultyRename(1148,40010 + def test_crossMountMoveTo(1160,40438 + def test_crossMountMoveToWithSymlink(1176,41101 + def test_crossMountMoveToWithoutSymlink(1191,41639 + def test_createBinaryMode(1206,42169 + def testOpen(1224,42801 + def test_openWithExplicitBinaryMode(1304,45944 + def test_openWithRedundantExplicitBinaryModes(1319,46538 + def test_existsCache(1335,47195 + def test_makedirsMakesDirectoriesRecursively(1347,47527 + def test_makedirsMakesDirectoriesWithIgnoreExistingDirectory(1362,47989 + def test_makedirsThrowsWithExistentDirectory(1376,48431 + def test_makedirsAcceptsIgnoreExistingDirectory(1389,48829 + def test_makedirsIgnoreExistingDirectoryExistAlreadyAFile(1403,49264 + def test_makedirsRaisesNonEexistErrorsIgnoreExistingDirectory(1418,49776 + def faultyMakedirs(1424,50048 + def test_changed(1436,50404 + def test_getPermissions_POSIX(1460,51280 + def test_deprecateStatinfoGetter(1476,51913 + def test_deprecateStatinfoSetter(1492,52606 + def test_deprecateStatinfoSetterSets(1508,53306 + def test_filePathNotDeprecated(1518,53648 + def test_getPermissions_Windows(1528,53995 + def test_whetherBlockOrSocket(1549,54962 + def test_statinfoBitsNotImplementedInWindows(1557,55180 + def test_statinfoBitsAreNumbers(1568,55687 + def test_statinfoNumbersAreValid(1585,56392 + class FakeStat:FakeStat1591,56654 + def fakeRestat(1600,56893 +class SetContentTests(1624,57790 + def test_write(1628,57882 + def test_fileClosing(1641,58298 + def test_nameCollision(1651,58629 + def _assertOneOpened(1668,59279 + def test_defaultExtension(1693,60214 + def test_customExtension(1703,60529 +class UnicodeFilePathTests(1715,60956 + def test_UnicodeInstantiation(1721,61118 + def test_UnicodeInstantiationBytesChild(1730,61374 + def test_UnicodeInstantiationUnicodeChild(1740,61746 + def test_UnicodeInstantiationUnicodePreauthChild(1750,62095 + def test_UnicodeInstantiationBytesPreauthChild(1760,62465 + def test_BytesInstantiation(1770,62855 + def test_BytesInstantiationBytesChild(1779,63102 + def test_BytesInstantiationUnicodeChild(1789,63453 + def test_BytesInstantiationBytesPreauthChild(1799,63815 + def test_BytesInstantiationUnicodePreauthChild(1809,64220 + def test_unicoderepr(1819,64605 + def test_bytesrepr(1831,64983 + def test_unicodereprWindows(1845,65445 + def test_bytesreprWindows(1857,65812 + def test_mixedTypeGlobChildren(1877,66476 + def test_unicodeGlobChildren(1886,66752 + def test_unicodeBasename(1895,67000 + def test_unicodeDirname(1903,67226 + def test_unicodeParent(1911,67452 + def test_mixedTypeTemporarySibling(1921,67729 + def test_unicodeTemporarySibling(1931,68066 + def test_mixedTypeSiblingExtensionSearch(1941,68410 + def test_unicodeSiblingExtensionSearch(1955,68936 + def test_mixedTypeSiblingExtension(1970,69467 + def test_unicodeSiblingExtension(1985,69964 + def test_mixedTypeChildSearchPreauth(2000,70465 + def test_unicodeChildSearchPreauth(2017,71017 + def test_asBytesModeFromUnicode(2034,71573 + def test_asTextModeFromBytes(2045,71906 + def test_asBytesModeFromBytes(2056,72237 + def test_asTextModeFromUnicode(2067,72566 + def test_asBytesModeFromUnicodeWithEncoding(2078,72900 + def test_asTextModeFromBytesWithEncoding(2088,73280 + def test_asBytesModeFromUnicodeWithUnusableEncoding(2098,73655 + def test_asTextModeFromBytesWithUnusableEncoding(2108,74009 + +venv/lib/python2.7/site-packages/twisted/test/test_loopback.py,2593 +class SimpleProtocol(22,599 + def __init__(23,641 + def connectionMade(29,755 + def lineReceived(33,820 + def connectionLost(37,888 +class DoomProtocol(42,966 + def lineReceived(44,1012 +class LoopbackTestCaseMixin:LoopbackTestCaseMixin56,1415 + def testRegularFunction(57,1444 + def sendALine(61,1538 + def check(66,1694 + def testSneakyHiddenDoom(75,1987 + def sendALine(79,2078 + def check(83,2185 +class LoopbackAsyncTests(95,2600 + def test_makeConnection(99,2726 + class TestProtocol(104,2901 + def makeConnection(106,2968 + def _hostpeertest(116,3268 + class TestProtocol(120,3403 + def makeConnection(121,3441 + def connected(136,3922 + def test_serverHost(143,4099 + def test_serverPeer(151,4330 + def test_clientHost(158,4500 + def test_clientPeer(166,4747 + def _greetingtest(173,4919 + class GreeteeProtocol(180,5167 + def dataReceived(182,5232 + class GreeterProtocol(187,5404 + def connectionMade(188,5445 + def test_clientGreeting(207,6010 + def test_clientGreetingSequence(215,6244 + def test_serverGreeting(223,6484 + def test_serverGreetingSequence(231,6732 + def _producertest(239,6971 + class ProducingProtocol(242,7072 + def connectionMade(243,7115 + class ReceivingProtocol(247,7269 + def dataReceived(249,7336 + def test_pushProducer(262,7721 + class PushProducer(267,7884 + def __init__(270,7949 + def resumeProducing(273,8036 + def start(276,8112 + def _produceAndSchedule(281,8290 + def finished(289,8621 + def test_pullProducer(298,8881 + class PullProducer(303,9044 + def __init__(304,9080 + def start(307,9167 + def resumeProducing(311,9308 + def test_writeNotReentrant(318,9550 + class Server(324,9789 + def dataReceived(325,9821 + class Client(328,9912 + def connectionMade(331,9971 + def go(334,10056 + def dataReceived(338,10162 + def cbFinished(345,10400 + def test_pumpPolicy(351,10531 + def dummyPolicy(358,10820 + def cbComplete(376,11366 + def test_identityPumpPolicy(387,11767 + def test_collapsingPumpPolicy(405,12293 +class LoopbackTCPTests(425,12852 +class LoopbackUNIXTests(430,12975 +class LoopbackRelayTest(438,13219 + class Receiver(442,13336 + def dataReceived(447,13470 + def test_write(452,13596 + def test_writeSequence(463,13955 + +venv/lib/python2.7/site-packages/twisted/test/test_main.py,186 +class MainTests(20,492 + def test_twisted(22,582 + def processEnded(34,1052 + def test_trial(43,1353 + def processEnded(55,1839 + def test_twisted_import(64,2153 + +venv/lib/python2.7/site-packages/twisted/test/test_ftp_options.py,197 +class FTPOptionsTests(17,321 + def setUp(24,496 + def test_passwordfileDeprecation(34,743 + def test_authAdded(44,1058 + def test_authFailure(54,1411 + def test_authSuccess(69,2097 + +venv/lib/python2.7/site-packages/twisted/test/test_cooperator.py,2423 +class FakeDelayedCall(16,314 + def __init__(20,421 + def cancel(28,567 +class FakeScheduler(36,683 + def __init__(40,770 + def __call__(47,902 + def pump(56,1098 +class CooperatorTests(67,1341 + def ebIter(70,1404 + def cbIter(75,1500 + def testStoppedRejectsNewTasks(79,1549 + def testwith(83,1691 + def testStopRunning(94,2101 + def myiter(100,2290 + def doasserts(108,2535 + def testStopOutstanding(115,2715 + def myiter(123,3072 + def stopAndGo(129,3275 + def testUnexpectedError(141,3586 + def myiter(143,3651 + def testUnexpectedErrorActuallyLater(152,3860 + def myiter(153,3908 + def testUnexpectedErrorNotActuallyLater(163,4161 + def myiter(164,4212 + def testCooperation(172,4397 + def myiter(174,4443 + def testResourceExhaustion(190,4900 + def myiter(192,4958 + class _TPF:_TPF199,5138 + def __call__(201,5186 + def testCallbackReCoiterate(215,5677 + class FakeCall:FakeCall224,6049 + def __init__(225,6073 + def __repr__(228,6145 + def sched(231,6232 + def anotherTask(240,6519 + def test_removingLastTaskStopsScheduledCall(255,6873 + def sched(264,7249 + def test_runningWhenStarted(290,8153 + def test_runningWhenNotStarted(299,8383 + def test_runningWhenRunning(308,8628 + def test_runningWhenStopped(319,8910 +class UnhandledException(331,9187 +class AliasTests(338,9286 + def test_cooperate(344,9438 + def doit(349,9602 +class RunStateTests(361,9848 + def setUp(368,10103 + def worker(387,10835 + def tearDown(409,11459 + def deferNext(418,11692 + def stopNext(425,11831 + def dieNext(433,12013 + def ignoreUnhandled(438,12158 + def test_pauseResume(444,12298 + def test_resumeNotPaused(467,13030 + def test_pauseTwice(479,13486 + def test_pauseWhileDeferred(502,14169 + def test_whenDone(527,15092 + def callbackOne(542,15607 + def callbackTwo(546,15698 + def test_whenDoneError(571,16361 + def test_whenDoneStop(586,16878 + def test_whenDoneAlreadyDone(600,17359 + def test_stopStops(612,17759 + def test_pauseStopResume(628,18351 + def test_stopDeferred(641,18756 + def test_stopExhausted(668,19861 + def test_stopErrored(678,20143 + def test_stopCooperatorReentrancy(688,20432 + def stopit(698,20923 + +venv/lib/python2.7/site-packages/twisted/test/test_compat.py,3624 +class IOTypeTests(26,659 + def test_3StringIO(31,783 + def test_3BytesIO(38,954 + def test_3openTextMode(45,1115 + def test_3openBinaryMode(53,1352 + def test_2openTextMode(61,1587 + class VerySpecificLie(67,1832 + def test_2StringIO(82,2338 + def test_2openBinaryMode(92,2666 + def test_codecsOpenBytes(106,3204 + def test_codecsOpenText(115,3497 + def test_defaultToText(123,3763 +class CompatTests(132,3994 + def test_set(138,4176 + def test_frozenset(163,4707 + def test_reduce(178,5125 +class IPv6Tests(187,5387 + def testNToP(192,5515 + def testPToN(213,6298 +class ExecfileCompatTests(256,8129 + def writeScript(261,8267 + def test_execfileGlobals(272,8587 + def test_execfileGlobalsAndLocals(282,8913 + def test_execfileUniversalNewlines(295,9374 +class PY3Tests(308,9863 + def test_python2(313,9971 + def test_python3(321,10140 +class PYPYTest(330,10308 + def test_PYPY(335,10399 +class Comparable(347,10617 + def __init__(351,10723 + def __cmp__(355,10783 +class ComparableTests(362,10940 + def test_equality(367,11087 + def test_nonEquality(377,11404 + def test_greaterThan(387,11726 + def test_greaterThanOrEqual(396,12001 + def test_lessThan(406,12350 + def test_lessThanOrEqual(415,12619 +class Python3ComparableTests(426,12963 + def test_notImplementedEquals(431,13094 + def test_notImplementedNotEquals(440,13418 + def test_notImplementedGreaterThan(449,13745 + def test_notImplementedLessThan(458,14074 + def test_notImplementedGreaterThanEquals(467,14400 + def test_notImplementedLessThanEquals(476,14735 +class CmpTests(491,15249 + def test_equals(496,15372 + def test_greaterThan(505,15596 + def test_lessThan(513,15812 +class StringTests(522,16034 + def assertNativeString(527,16151 + def test_nonASCIIBytesToString(537,16522 + def test_nonASCIIUnicodeToString(545,16750 + def test_bytesToString(553,16983 + def test_unicodeToString(561,17212 + def test_stringToString(569,17451 + def test_unexpectedType(576,17629 + def test_unicode(584,17852 + def test_nativeStringIO(595,18115 +class NetworkStringTests(607,18405 + def test_bytes(611,18509 + def test_bytesOutOfRange(618,18693 + def test_unicode(630,19120 + def test_unicodeOutOfRange(638,19338 + def test_nonString(650,19773 +class ReraiseTests(663,20173 + def test_reraiseWithNone(668,20307 + def test_reraiseWithTraceback(689,20978 +class Python3BytesTests(711,21651 + def test_iteration(716,21784 + def test_intToBytes(727,22129 + def test_lazyByteSliceNoOffset(735,22366 + def test_lazyByteSliceOffset(744,22627 + def test_lazyByteSliceOffsetAndLength(753,22936 +class BytesEnvironTests(764,23301 + def test_alwaysBytes(768,23392 +class OrderedDictTests(787,23884 + def test_deprecated(791,23995 +class CoercedUnicodeTests(809,24635 + def test_unicodeASCII(814,24754 + def test_unicodeNonASCII(823,25012 + def test_nativeASCII(832,25291 + def test_bytesPy3(844,25695 + def test_bytesNonASCII(855,26070 +class UnichrTests(866,26398 + def test_unichr(871,26478 +class RawInputTests(878,26667 + def test_raw_input(882,26750 + class FakeStdin:FakeStdin886,26847 + def readline(887,26872 + class FakeStdout:FakeStdout890,26943 + def write(892,26991 +class FutureBytesReprTests(903,27290 + def test_bytesReprNotBytes(908,27405 + def test_bytesReprPrefix(918,27753 +class GetAsyncParamTests(927,27993 + def test_get_async_param(932,28122 + def test_get_async_param_deprecation(946,28724 + +venv/lib/python2.7/site-packages/twisted/test/test_htb.py,557 +class DummyClock:DummyClock9,165 + def set(11,196 + def __call__(14,247 +class SomeBucket(19,299 +class TestBucketBase(25,364 + def setUp(26,405 + def tearDown(31,529 +class BucketTests(36,594 + def testBucketSize(37,629 + def testBucketDrain(46,811 + def test_bucketEmpty(57,1047 +class BucketNestingTests(72,1398 + def setUp(73,1440 + def testBucketParentSize(80,1625 + def testBucketParentRate(87,1803 +class ConsumerShaperTests(103,2368 + def setUp(104,2411 + def testRate(111,2617 + def testBucketRefs(123,3022 + +venv/lib/python2.7/site-packages/twisted/test/test_twisted.py,712 +class SetAsideModule(24,583 + def __init__(31,782 + def _unimport(35,839 + def __enter__(51,1395 + def __exit__(55,1471 +def _install(61,1603 +def _makePackages(101,3272 +class RequirementsTests(141,4760 + def setUp(167,5645 + def tearDown(175,5847 + def test_oldPython(182,5992 + def test_newPython(195,6475 + def test_oldPythonPy3(204,6748 + def test_newPythonPy3(217,7252 +class MakePackagesTests(227,7532 + def test_nonModule(232,7682 + def test_moduleWithAttribute(242,8016 + def test_packageWithModule(256,8607 +class OldSubprojectDeprecationBase(272,9306 + def test_deprecated(279,9515 + def test_noversionpy(294,10089 + class SubprojectTestCase(311,10558 + +venv/lib/python2.7/site-packages/twisted/test/test_abstract.py,402 +class AddressTests(17,318 + def test_decimalDotted(21,409 + def test_shortDecimalDotted(30,684 + def test_invalidLetters(41,1062 + def test_invalidPunctuation(50,1336 + def test_emptyString(61,1684 + def test_invalidNegative(68,1852 + def test_invalidPositive(78,2177 + def test_unicodeAndBytes(90,2620 + def test_nonIPAddressFamily(100,2970 + def test_nonASCII(108,3222 + +venv/lib/python2.7/site-packages/twisted/test/test_memcache.py,2157 +class CommandMixin:CommandMixin23,634 + def _test(28,745 + def test_get(36,954 + def test_emptyGet(47,1336 + def test_getMultiple(57,1613 + def test_getMultipleWithEmpty(69,2064 + def test_set(81,2474 + def test_add(91,2782 + def test_replace(101,3090 + def test_errorAdd(111,3414 + def test_errorReplace(122,3828 + def test_delete(133,4261 + def test_errorDelete(142,4556 + def test_increment(153,4918 + def test_decrement(163,5247 + def test_incrementVal(173,5576 + def test_decrementVal(182,5875 + def test_stats(191,6174 + def test_statsWithArgument(203,6629 + def test_version(216,7186 + def test_flushAll(226,7520 +class MemCacheTests(236,7810 + def setUp(241,7924 + def _test(254,8361 + def cb(271,8921 + def test_invalidGetResponse(279,9122 + def test_invalidMultipleGetResponse(290,9504 + def test_invalidEndResponse(302,9940 + def test_timeOut(314,10319 + def checkMessage(329,10833 + def test_timeoutRemoved(337,11059 + def check(346,11364 + def test_timeOutRaw(353,11544 + def test_timeOutStat(370,12149 + def test_timeoutPipelining(386,12678 + def check(399,13146 + def checkTime(406,13454 + def test_timeoutNotReset(417,13806 + def test_timeoutCleanDeferreds(435,14416 + def test_connectionLost(450,14994 + def checkFailures(460,15323 + def test_tooLongKey(468,15539 + def test_invalidCommand(486,16342 + def test_clientError(499,16831 + def check(511,17306 + def test_serverError(519,17535 + def check(531,18010 + def test_unicodeKey(539,18195 + def test_unicodeValue(555,18940 + def test_pipelining(562,19128 + def test_getInChunks(583,20006 + def test_append(598,20567 + def test_prepend(609,20945 + def test_gets(620,21327 + def test_emptyGets(631,21699 + def test_getsMultiple(641,22019 + def test_getsMultipleIterableKeys(654,22508 + def test_getsMultipleWithEmpty(666,22949 + def test_checkAndSet(680,23533 + def test_casUnknowKey(690,23898 +class CommandFailureTests(701,24241 + def setUp(707,24394 + def _test(720,24833 + +venv/lib/python2.7/site-packages/twisted/test/test_process.py,9096 +class StubProcessProtocol(64,1878 + def outReceived(70,2126 + def errReceived(74,2197 + def inConnectionLost(78,2268 + def outConnectionLost(82,2338 + def errConnectionLost(86,2409 +class ProcessProtocolTests(91,2481 + def test_interface(96,2645 + def test_outReceived(103,2838 + class OutProtocol(110,3069 + def outReceived(111,3117 + def test_errReceived(120,3350 + class ErrProtocol(125,3484 + def errReceived(126,3532 + def test_inConnectionLost(135,3765 + class InLostProtocol(142,4022 + def inConnectionLost(143,4073 + def test_outConnectionLost(151,4251 + class OutLostProtocol(156,4392 + def outConnectionLost(157,4444 + def test_errConnectionLost(165,4624 + class ErrLostProtocol(170,4765 + def errConnectionLost(171,4817 +class TrivialProcessProtocol(180,4998 + def __init__(188,5208 + def processEnded(198,5438 + def outReceived(203,5542 + def errReceived(207,5611 +class TestProcessProtocol(212,5681 + def connectionMade(214,5735 + def childDataReceived(221,5878 + def childConnectionLost(233,6288 + def processEnded(256,7124 +class EchoProtocol(262,7229 + def __init__(270,7351 + def connectionMade(275,7440 + def outReceived(284,7697 + def processEnded(294,8048 +class SignalProtocol(302,8276 + def __init__(317,8760 + def outReceived(323,8890 + def errReceived(335,9329 + def processEnded(343,9529 +class TestManyProcessProtocol(375,10927 + def __init__(376,10979 + def processEnded(380,11046 +class UtilityProcessProtocol(389,11255 + def run(398,11502 + def __init__(414,12035 + def parseChunks(419,12112 + def getResult(426,12281 + def _fireResultDeferreds(436,12524 + def outReceived(447,12821 + def processEnded(454,12974 +class GetArgumentVector(463,13209 + def parseChunks(470,13428 +class GetEnvironmentDictionary(481,13772 + def parseChunks(488,14009 +class ProcessTests(512,14703 + def test_stdio(518,14806 + def processEnded(533,15345 + def test_unsetPid(542,15736 + def afterProcessEnd(555,16294 + def test_process(562,16466 + def check(573,16877 + def test_manyProcesses(592,17544 + def _check(594,17579 + def test_echo(620,18560 + def asserts(633,19039 + def takedownProcess(638,19231 + def test_commandLine(645,19401 + def processEnded(655,19851 + def test_wrongArguments(662,20081 +class TwoProcessProtocol(712,21851 + def __init__(715,21933 + def outReceived(719,22000 + def processEnded(723,22048 +class TestTwoProcessesBase:TestTwoProcessesBase729,22150 + def setUp(730,22178 + def createProcesses(737,22317 + def close(748,22754 + def _onClose(757,23067 + def test_close(761,23161 +class TwoProcessesNonPosixTests(770,23393 +class TwoProcessesPosixTests(775,23479 + def tearDown(776,23550 + def kill(788,23945 + def test_kill(797,24273 + def test_closePty(805,24509 + def test_killPty(813,24751 +class FDChecker(822,24991 + def __init__(827,25082 + def fail(831,25137 + def connectionMade(836,25227 + def childDataReceived(841,25330 + def childConnectionLost(880,26795 + def processEnded(894,27243 +class FDTests(909,27684 + def test_FD(911,27719 + def test_linger(923,28172 + def processEnded(934,28737 +class Accumulator(941,28924 + def connectionMade(947,29053 + def outReceived(952,29145 + def errReceived(956,29204 + def outConnectionLost(960,29263 + def errConnectionLost(964,29311 + def processEnded(968,29359 +class PosixProcessBase(976,29555 + def getCommand(982,29651 + def test_normalTermination(999,30195 + def check(1006,30446 + def test_abnormalTermination(1014,30677 + def check(1026,31190 + def _testSignal(1034,31427 + def test_signalHUP(1043,31731 + def test_signalINT(1054,32178 + def test_signalKILL(1065,32625 + def test_signalTERM(1076,33076 + def test_childSignalHandling(1087,33527 + def test_executionError(1114,34577 + def buggyexecvpe(1122,34808 + def check(1130,35097 + def test_errorInProcessEnded(1144,35529 + class ErrorInProcessEnded(1156,35943 + def makeConnection(1160,36100 + def processEnded(1164,36197 + def cbConnected(1175,36561 + def checkTerminated(1184,36927 +class MockSignal(1196,37300 + def signal(1200,37407 + def __getattr__(1204,37481 +class MockOS(1209,37554 + def __init__(1291,39928 + def open(1307,40308 + def fstat(1315,40476 + def fdopen(1322,40643 + def setsid(1334,40937 + def fork(1341,41063 + def close(1356,41474 + def dup2(1363,41622 + def write(1369,41715 + def read(1376,41860 + def execvpe(1390,42214 + def pipe(1400,42485 + def ttyname(1410,42791 + def _exit(1417,42915 + def ioctl(1429,43263 + def setNonBlocking(1435,43371 + def waitpid(1441,43485 + def settrace(1454,43877 + def getgid(1460,43991 + def getuid(1467,44112 + def setuid(1474,44233 + def setgid(1481,44374 + def setregid(1488,44515 + def setreuid(1495,44676 + def switchUID(1502,44843 + def openpty(1509,45010 + def chdir(1516,45149 + def geteuid(1525,45361 + def getegid(1532,45495 + def seteuid(1539,45629 + def setegid(1546,45765 + def expanduser(1553,45901 + def getpwnam(1560,46020 + def listdir(1567,46132 + def kill(1574,46282 + def unlink(1584,46563 + def umask(1593,46770 + def getpid(1602,46970 + def getfilesystemencoding(1611,47105 + class DumbProcessWriter(1621,47301 + def startReading(1626,47434 + class DumbProcessReader(1631,47554 + def startReading(1636,47687 + class DumbPTYProcess(1641,47807 + def startReading(1646,47931 +class MockProcessTests(1653,48053 + def setUp(1661,48263 + def tearDown(1686,49194 + def test_mockFork(1693,49330 + def _mockForkInParentTest(1718,50063 + def test_mockForkInParentGarbageCollectorEnabled(1736,50776 + def test_mockForkInParentGarbageCollectorDisabled(1748,51120 + def test_mockForkTTY(1760,51469 + def _mockWithForkError(1777,52011 + def test_mockWithForkErrorGarbageCollectorEnabled(1788,52463 + def test_mockWithForkErrorGarbageCollectorDisabled(1798,52792 + def test_mockForkErrorCloseFDs(1809,53134 + def test_mockForkErrorGivenFDs(1819,53458 + def test_mockForkErrorClosePTY(1838,54310 + def test_mockForkErrorPTYGivenFDs(1852,54899 + def test_mockWithExecError(1866,55499 + def test_mockSetUid(1894,56591 + def test_mockSetUidInParent(1916,57362 + def test_mockPTYSetUid(1931,57899 + def test_mockPTYSetUidInParent(1954,58694 + def test_mockWithWaitError(1975,59425 + def test_mockErrorECHILDInReapProcess(1996,60080 + def test_mockErrorInPipe(2017,60801 + def pipe(2023,61021 + def test_kill(2035,61449 + def test_killExited(2050,61988 + def test_killExitedButNotDetected(2065,62584 + def test_killErrorInKill(2082,63339 +class PosixProcessTests(2099,63977 + def test_stderr(2102,64073 + def processEnded(2119,64716 + def test_process(2124,64847 + def processEnded(2134,65221 +class PosixProcessPTYTests(2143,65442 + def test_openingTTY(2155,65860 + def processEnded(2163,66197 + def test_badArgs(2174,66614 +class Win32SignalProtocol(2182,66848 + def processEnded(2188,67032 +class Win32ProcessTests(2205,67662 + def _test_stdinReader(2210,67781 + def processEnded(2220,68131 + def test_stdinReader_bytesArgs(2226,68347 + def test_stdinReader_unicodeArgs(2243,68958 + def test_badArgs(2263,69671 + def _testSignal(2276,70243 + def test_signalTERM(2285,70533 + def test_signalINT(2294,70825 + def test_signalKILL(2303,71114 + def test_closeHandles(2312,71406 + class SimpleProtocol(2321,71635 + def makeConnection(2325,71800 + def processEnded(2328,71896 + def cbConnected(2335,72120 + def checkTerminated(2345,72543 +class Win32UnicodeEnvironmentTests(2361,73172 + def test_encodableUnicodeEnvironment(2368,73341 + def gotEnvironment(2379,73856 +class DumbWin32ProcTests(2387,74086 + def test_pid(2391,74193 + def pidCompleteCb(2413,75103 + def test_findShebang(2418,75221 +class Win32CreateProcessFlagsTests(2431,75612 + def test_flags(2437,75756 + def write_result(2447,76140 + def fakeCreateprocess(2464,76687 +class UtilTests(2505,78823 + def setUp(2510,78962 + def tearDown(2542,80100 + def test_whichWithoutPATH(2557,80546 + def test_which(2566,80816 + def test_whichPathExt(2576,81176 +class ClosingPipesProcessProtocol(2596,81888 + def __init__(2600,81984 + def processEnded(2605,82094 + def outReceived(2609,82171 + def errReceived(2613,82234 +class ClosingPipesTests(2618,82298 + def doit(2620,82343 + def _endProcess(2663,83916 + def test_stdout(2675,84303 + def _check(2680,84451 + def test_stderr(2695,84961 + def _check(2700,85109 + +venv/lib/python2.7/site-packages/twisted/test/stdio_test_consumer.py,134 +def failed(19,525 +class ConsumerChild(25,595 + def __init__(26,635 + def connectionMade(30,704 + def connectionLost(37,973 + +venv/lib/python2.7/site-packages/twisted/test/process_twisted.py,182 +class Echo(26,716 + def connectionMade(28,748 + def dataReceived(31,812 + def readConnectionLost(34,882 + def writeConnectionLost(37,992 + def connectionLost(40,1065 + +venv/lib/python2.7/site-packages/twisted/test/test_modules.py,1496 +class TwistedModulesTestCase(29,634 + def findByIteration(33,753 +class BasicTests(46,1309 + def test_namespacedPackages(48,1352 + def test_unimportablePackageGetItem(126,4280 + def test_unimportablePackageWalkModules(143,5071 + def test_nonexistentPaths(160,5750 + def test_nonDirectoryPaths(182,6442 + def test_twistedShowsUp(202,7110 + def test_dottedNames(212,7511 + def test_onlyTopModules(223,7867 + def test_loadPackagesAndModules(235,8280 + def test_pathEntriesOnPath(253,8817 + def test_alwaysPreferPy(267,9242 + def _evilSmartPath(276,9589 + def evilChildren(279,9713 + def test_packageMissingPath(297,10366 +class PathModificationTests(320,11121 + def setUp(329,11424 + def _setupSysPath(343,12051 + def _underUnderPathTest(349,12194 + def test_underUnderPathAlreadyImported(366,12878 + def _listModules(373,13073 + def test_listingModules(381,13331 + def test_listingModulesAlreadyImported(390,13569 + def tearDown(401,13912 +class RebindingTests(411,14336 + def _setupSysPath(416,14538 + def tearDown(424,14749 +class ZipPathModificationTests(433,14929 + def _setupSysPath(434,14984 +class PythonPathTests(442,15267 + def test_unhandledImporter(447,15449 + class SecretImporter(452,15627 + def hook(455,15683 + def sysloader(462,15851 + def test_inconsistentImporterCache(471,16158 + def test_containsModule(490,17020 + def test_doesntContainModule(500,17378 + +venv/lib/python2.7/site-packages/twisted/test/test_shortcut.py,98 +class ShortcutTests(23,371 + def test_create(26,434 + def test_createPythonShortcut(42,967 + +venv/lib/python2.7/site-packages/twisted/test/test_pcp.py,2161 +class DummyTransport:DummyTransport34,969 + def __init__(37,1035 + def write(40,1086 + def getvalue(43,1148 +class DummyProducer:DummyProducer46,1210 + def __init__(51,1291 + def resumeProducing(54,1359 + def pauseProducing(58,1447 + def stopProducing(61,1505 +class DummyConsumer(65,1564 + def registerProducer(70,1667 + def unregisterProducer(73,1767 + def finish(76,1835 +class TransportInterfaceTests(79,1887 + def setUp(82,1986 + def testWrite(86,2108 +class ConsumerInterfaceTest:ConsumerInterfaceTest89,2177 + def setUp(98,2463 + def testRegisterPush(103,2637 + def testUnregister(115,3157 + def testFinish(126,3662 +class ProducerInterfaceTest:ProducerInterfaceTest135,3964 + def setUp(144,4253 + def testRegistersProducer(148,4370 + def testPause(151,4475 + def testResume(157,4700 + def testResumeNoEmptyWrite(163,4915 + def testResumeBuffer(169,5154 + def testStop(175,5375 +class PCP_ConsumerInterfaceTests(182,5600 +class PCPII_ConsumerInterfaceTests(185,5725 +class PCP_ProducerInterfaceTests(188,5847 +class PCPII_ProducerInterfaceTests(191,5972 +class ProducerProxyTests(194,6094 + def setUp(199,6269 + def testStop(204,6453 +class ConsumerProxyTests(209,6567 + def setUp(214,6742 + def testWrite(218,6863 + def testFinish(223,7065 + def testUnregister(227,7173 +class PullProducerTest:PullProducerTest232,7302 + def setUp(233,7326 + def testHoldWrites(239,7563 + def testPull(245,7818 + def testMergeWrites(250,7976 + def testLateWrite(260,8362 +class PCP_PullProducerTests(267,8638 + class proxyClass(268,8704 +class PCPII_PullProducerTests(271,8788 + class proxyClass(272,8856 +class BufferedConsumerTests(277,8949 + def setUp(282,9114 + def testRegisterPull(290,9388 + def testPauseIntercept(295,9606 + def testResumeIntercept(299,9730 + def testTriggerPause(307,10089 + def testTriggerResume(318,10535 +class BufferedPullTests(330,11076 + class proxyClass(331,11120 + def _writeSomeData(334,11199 + def setUp(338,11350 + def testResumePull(346,11625 + def testLateWriteBuffering(353,11906 + +venv/lib/python2.7/site-packages/twisted/test/test_postfix.py,309 +class PostfixTCPMapQuoteTests(13,261 + def testData(26,684 +class PostfixTCPMapServerTestCase(37,949 + def test_chat(47,1103 + def test_deferredChat(71,1977 + def test_getException(95,2887 + class ErrorFactory:ErrorFactory100,3029 + def get(104,3145 +class ValidTests(116,3507 + +venv/lib/python2.7/site-packages/twisted/test/test_tpfile.py,247 +class BufferingServer(13,258 + def dataReceived(16,318 +class FileSendingClient(19,381 + def __init__(20,425 + def connectionMade(24,473 +class FileSenderTests(29,669 + def testSendingFile(30,711 + def testSendingEmptyFile(40,1010 + +venv/lib/python2.7/site-packages/twisted/test/test_context.py,167 +class ContextTests(14,261 + def test_notPresentIfNotSet(18,385 + def test_setByCall(26,601 + def test_unsetAfterCall(34,871 + def test_setDefault(43,1173 + +venv/lib/python2.7/site-packages/twisted/test/test_logfile.py,1305 +class LogFileTests(16,270 + def setUp(20,357 + def tearDown(27,528 + def test_abstractShouldRotate(37,838 + def test_writing(47,1153 + def test_rotation(62,1587 + def test_append(92,2782 + def test_logReader(114,3610 + def test_LogReaderReadsZeroLine(158,5344 + def test_modePreservation(171,5731 + def test_noPermission(185,6174 + def test_maxNumberOfLog(217,6979 + def test_fromFullPath(243,7907 + def test_defaultPermissions(257,8464 + def test_specifiedPermissions(271,8988 + def test_reopen(285,9490 + def test_nonExistentDir(306,10209 + def test_cantChangeFileMode(315,10498 + def test_listLogsWithBadlyNamedFiles(334,11099 + def test_listLogsIgnoresZeroSuffixedFiles(350,11581 +class RiggedDailyLogFile(365,11998 + def _openFile(368,12064 + def toDate(374,12224 +class DailyLogFileTests(381,12359 + def setUp(385,12447 + def test_writing(392,12623 + def test_rotation(406,13029 + def test_getLog(433,14001 + def test_rotateAlreadyExists(461,14786 + def test_rotatePermissionDirectoryNotOk(479,15425 + def test_rotatePermissionFileNotOk(500,16181 + def test_toDate(514,16579 + def test_toDateDefaultToday(526,16967 + def mock_localtime(538,17480 + def test_toDateUsesArgumentsToMakeADate(550,17816 + +venv/lib/python2.7/site-packages/twisted/test/test_factories.py,627 +class FakeConnector(18,345 + def stopConnecting(23,466 + def connect(27,511 +class ReconnectingFactoryTests(32,550 + def test_stopTryingWhenConnected(37,653 + class NoConnectConnector(43,906 + def stopConnecting(44,948 + def connect(46,1062 + def test_stopTryingDoesNotReconnect(59,1474 + class FactoryAwareFakeConnector(64,1663 + def stopConnecting(67,1755 + def connect(74,2014 + def test_serializeUnused(94,2661 + def test_serializeWithClock(104,3043 + def test_deserializationResetsParameters(116,3471 + def test_parametrizedClock(135,4240 + +venv/lib/python2.7/site-packages/twisted/test/test_reflect.py,3729 +class Base(23,563 + def method(29,691 +class Sub(36,788 +class Separate(43,889 + def good_method(48,986 + def bad_method(54,1104 +class AccumulateMethodsTests(61,1227 + def test_ownClass(67,1395 + def test_baseClass(79,1809 + def test_prefix(92,2266 +class PrefixedMethodsTests(105,2668 + def test_onlyObject(111,2832 + def test_prefix(121,3079 +class PrefixedMethodNamesTests(132,3353 + def test_method(136,3449 + def test_inheritedMethod(144,3708 + class Child(149,3912 +class AddMethodNamesToDictTests(155,4037 + def test_baseClass(159,4135 + class Alternate(164,4345 + class Child(167,4396 + def good_alternate(168,4438 +class Summer(177,4636 + def reallySet(182,4727 +class LookupsTests(189,4801 + def test_namedClassLookup(194,4910 + def test_namedModuleLookup(203,5164 + def test_namedAnyPackageLookup(213,5449 + def test_namedAnyModuleLookup(222,5714 + def test_namedAnyClassLookup(231,5988 + def test_namedAnyAttributeLookup(240,6241 + def test_namedAnySecondAttributeLookup(254,6794 + def test_importExceptions(267,7243 + def test_attributeExceptions(289,8085 + def test_invalidNames(310,8944 + def test_requireModuleImportError(347,10620 + def test_requireModuleDefaultNone(360,10990 + def test_requireModuleRequestedImport(369,11217 +class Breakable(384,11589 + def __str__(389,11659 + def __repr__(396,11796 +class BrokenType(404,11937 + def get___name__(407,11995 +class NoClassAttr(421,12288 +class SafeReprTests(426,12369 + def test_workingRepr(431,12462 + def test_brokenRepr(440,12725 + def test_brokenStr(455,13264 + def test_brokenClassRepr(464,13501 + class X(465,13537 + def test_brokenReprIncludesID(471,13653 + class X(478,13912 + def test_brokenClassStr(487,14178 + class X(488,14213 + def test_brokenClassAttribute(494,14328 + def test_brokenClassNameAttribute(508,14820 + class X(514,15107 +class SafeStrTests(523,15367 + def test_workingStr(528,15458 + def test_brokenStr(533,15567 + def test_workingAscii(539,15677 + def test_workingUtf8_2(548,15898 + def test_workingUtf8_3(557,16132 + def test_brokenUtf8(576,16860 + def test_brokenRepr(585,17063 + def test_brokenClassStr(591,17175 + class X(592,17210 + def test_brokenClassRepr(598,17323 + class X(599,17359 + def test_brokenClassAttribute(605,17473 + def test_brokenClassNameAttribute(619,17957 + class X(625,18243 +class FilenameToModuleTests(634,18497 + def setUp(639,18597 + def test_directory(649,18943 + def test_file(660,19331 + def test_bytes(670,19646 +class FullyQualifiedNameTests(682,20036 + def _checkFullyQualifiedName(687,20130 + def test_package(695,20363 + def test_module(706,20691 + def test_class(715,20957 + def test_function(724,21215 + def test_boundMethod(732,21466 + class and 735,21586 + def test_unboundMethod(742,21780 + class and 745,21905 +class ObjectGrepTests(752,22113 + def test_dictionary(758,22299 + def test_list(769,22644 + def test_tuple(778,22853 + def test_instance(787,23064 + class Dummy:Dummy791,23177 + def test_weakref(799,23341 + class Dummy:Dummy803,23450 + def test_boundMethod(810,23606 + class Dummy:Dummy814,23728 + def dummy(815,23749 + def test_everything(827,24176 + class Dummy:Dummy831,24292 + def method(832,24313 + def test_depthLimit(848,24746 + def test_deque(862,25206 +class GetClassTests(874,25466 + def test_old(880,25609 + class OldClass:OldClass881,25633 + def test_new(887,25848 + class NewClass(888,25872 + +venv/lib/python2.7/site-packages/twisted/test/test_task.py,3954 +class TestableLoopingCall(22,496 + def __init__(23,541 +class TestException(29,672 +class ClockTests(34,716 + def testSeconds(38,824 + def testCallLater(46,1020 + def testCallLaterCancelled(58,1420 + def test_callLaterOrdering(68,1670 + def testAdvance(79,1999 + def testAdvanceCancel(93,2376 + def cb(102,2710 + def testCallLaterDelayed(108,2849 + def testCallLaterResetLater(123,3262 + def testCallLaterResetSooner(139,3722 + def test_getDelayedCalls(152,4107 + def test_getDelayedCallsEmpty(165,4439 + def test_providesIReactorTime(174,4679 + def test_callLaterKeepsCallsOrdered(180,4873 + def test_callLaterResetKeepsCallsOrdered(205,5850 + def test_callLaterResetInsideCallKeepsCallsOrdered(230,6838 + def a(243,7438 +class LoopTests(254,7639 + def test_defaultClock(259,7777 + def test_callbackTimeSkips(267,7990 + def aCallback(276,8333 + def test_reactorTimeSkips(318,9711 + def aCallback(327,10076 + def test_reactorTimeCountSkips(352,10841 + def aCallback(363,11374 + def test_countLengthyIntervalCounts(400,13026 + def aCallback(416,13953 + def test_withCountFloatingPointBoundary(441,14898 + def test_withCountIntervalZero(497,17567 + def foo(505,17788 + def test_withCountIntervalZeroDelay(520,18153 + def foo(530,18492 + def test_withCountIntervalZeroDelayThenNonZeroInterval(558,19289 + def foo(567,19612 + def testBasicFunction(596,20478 + def foo(606,20810 + def saveResult(613,20997 + def testDelayedStart(635,21570 + def saveResult(645,21800 + def testBadDelay(659,22134 + def _stoppingTest(665,22331 + def foo(667,22384 + def testStopAtOnce(678,22630 + def testStoppingBeforeDelayedStart(682,22699 + def test_reset(686,22785 + def foo(691,22899 + def test_reprFunction(705,23201 + def test_reprMethod(713,23488 + def test_deferredDeprecation(722,23784 +class ReactorLoopTests(742,24433 + def testFailure(745,24564 + def foo(746,24591 + def testFailAndStop(753,24755 + def foo(754,24786 + def testEveryIteration(762,24972 + def foo(765,25024 + def stopped(772,25187 + def testStopAtOnceLater(777,25295 + def foo(781,25495 + def _callback_for_testStopAtOnceLater(790,25791 + def testWaitDeferred(794,25920 + def foo(800,26115 + def testFailurePropagation(811,26419 + def foo(821,26850 + def test_deferredWithCount(835,27185 + def countTracker(847,27648 +class DeferLaterTests(881,28902 + def test_callback(885,28994 + def callable(892,29239 + def test_errback(906,29632 + def callable(911,29806 + def test_cancel(920,30021 + def cbCancelled(929,30330 +class _FakeReactor(940,30690 + def __init__(942,30719 + def callWhenRunning(952,31052 + def addSystemEventTrigger(959,31265 + def run(965,31478 + def stop(988,32326 +class ReactTests(998,32503 + def test_runsUntilAsyncCallback(1003,32614 + def main(1009,32843 + def test_runsUntilSyncCallback(1022,33306 + def main(1028,33540 + def test_runsUntilAsyncErrback(1037,33813 + class ExpectedException(1043,34063 + def main(1046,34125 + def test_runsUntilSyncErrback(1060,34560 + class ExpectedException(1066,34797 + def main(1069,34859 + def test_singleStopCallback(1080,35244 + def main(1086,35487 + def test_singleStopErrback(1100,35943 + class ExpectedException(1106,36183 + def main(1109,36245 + def test_arguments(1126,36816 + def main(1132,37017 + def test_defaultReactor(1142,37346 + def main(1147,37508 + def test_exitWithDefinedCode(1159,37888 + def main(1164,38083 + def test_synchronousStop(1172,38327 + def main(1177,38497 + def stop(1179,38557 + def test_asynchronousStop(1190,38878 + def main(1195,39048 + +venv/lib/python2.7/site-packages/twisted/test/test_tcp_internals.py,955 +class PlatformAssumptionsTests(30,713 + def setUp(36,842 + def tearDown(52,1648 + def socket(65,2268 + def test_acceptOutOfFiles(75,2511 +class SelectReactorTests(119,4156 + def setUp(124,4259 + def tearDown(130,4379 + def port(137,4562 + def _acceptFailureTest(148,4890 + class FakeSocket(159,5376 + def accept(163,5502 + def test_tooManyFilesFromAccept(185,6314 + def test_noBufferSpaceFromAccept(197,6719 + def test_connectionAbortedFromAccept(208,7074 + def test_noFilesFromAccept(219,7441 + def test_noMemoryFromAccept(232,7886 + def test_acceptScaling(249,8559 + def closeAll(263,9045 + def connect(269,9171 + def test_permissionFailure(291,9883 + class FakeSocketWithAcceptLimit(300,10187 + def accept(306,10426 + def test_unknownSocketErrorRaise(340,11654 + class FakeSocketWithUnknownAcceptError(353,12138 + def accept(359,12384 + +venv/lib/python2.7/site-packages/twisted/test/test_socks.py,909 +class StringTCPTransport(19,449 + def getPeer(23,562 + def getHost(27,612 + def loseConnection(31,694 +class FakeResolverReactor:FakeResolverReactor36,774 + def __init__(40,892 + def resolve(49,1162 +class SOCKSv4Driver(62,1547 + def connectClass(69,1724 + def listenClass(79,2048 +class ConnectTests(89,2278 + def setUp(93,2414 + def tearDown(100,2635 + def test_simple(107,2888 + def test_socks4aSuccessfulResolution(133,3831 + def test_socks4aFailedResolution(180,5728 + def test_accessDenied(209,6843 + def test_eofRemote(223,7397 + def test_eofLocal(241,7990 +class BindTests(259,8506 + def setUp(263,8636 + def test_simple(276,9160 + def test_socks4a(316,10635 + def test_socks4aFailedResolution(376,12975 + def test_accessDenied(405,14090 + def test_eofRemote(419,14642 + def test_eofLocal(452,15793 + def test_badSource(484,16900 + +venv/lib/python2.7/site-packages/twisted/test/stdio_test_write.py,87 +class WriteChild(20,480 + def connectionMade(21,517 + def connectionLost(28,694 + +venv/lib/python2.7/site-packages/twisted/test/stdio_test_hostpeer.py,90 +class HostPeerChild(18,516 + def connectionMade(19,556 + def connectionLost(26,790 + +venv/lib/python2.7/site-packages/twisted/test/test_internet.py,6177 +class ThreePhaseEventTests(31,651 + def setUp(35,790 + def test_addInvalidPhase(44,1021 + def test_addBeforeTrigger(54,1305 + def test_addDuringTrigger(66,1720 + def test_addAfterTrigger(78,2135 + def test_removeTrigger(90,2545 + def test_removeNonexistentTrigger(101,2945 + def test_removeRemovedTrigger(109,3247 + def test_removeAlmostValidTrigger(120,3673 + def test_fireEvent(131,4065 + def test_asynchronousBefore(152,5027 + def test_beforeTriggerException(170,5687 + class DummyException(177,5911 + def raisingTrigger(180,5970 + def test_duringTriggerException(192,6407 + class DummyException(199,6631 + def raisingTrigger(202,6690 + def test_synchronousRemoveAlreadyExecutedBefore(214,7124 + def removeTrigger(221,7367 + def test_synchronousRemovePendingBefore(236,7996 + def test_synchronousBeforeRemovesDuring(251,8604 + def test_asynchronousBeforeRemovesDuring(265,9138 + def test_synchronousBeforeRemovesConspicuouslySimilarDuring(282,9820 + def trigger(290,10189 + def test_synchronousRemovePendingDuring(300,10544 + def test_triggersRunOnce(316,11165 + def test_finishedBeforeTriggersCleared(330,11666 + def duringTrigger(337,11937 +class SystemEventTests(348,12326 + def setUp(357,12664 + def tearDown(364,12802 + def addTrigger(376,13118 + def removeTrigger(385,13375 + def _addSystemEventTriggerTest(394,13618 + def trigger(397,13714 + def test_beforePhase(405,13943 + def test_duringPhase(413,14203 + def test_afterPhase(421,14463 + def test_unknownPhase(429,14720 + def test_beforePreceedsDuring(439,15031 + def beforeTrigger(447,15314 + def duringTrigger(449,15379 + def test_duringPreceedsAfter(458,15701 + def duringTrigger(466,15982 + def afterTrigger(468,16047 + def test_beforeReturnsDeferred(477,16364 + def beforeTrigger(486,16682 + def duringTrigger(488,16746 + def test_multipleBeforeReturnDeferred(499,17134 + def firstBeforeTrigger(509,17510 + def secondBeforeTrigger(511,17577 + def duringTrigger(513,17646 + def test_subsequentBeforeTriggerFiresPriorBeforeDeferred(527,18178 + def firstBeforeTrigger(539,18732 + def secondBeforeTrigger(541,18799 + def thirdBeforeTrigger(543,18875 + def duringTrigger(546,18979 + def test_removeSystemEventTrigger(559,19520 + def firstBeforeTrigger(566,19759 + def secondBeforeTrigger(568,19828 + def test_removeNonExistentSystemEventTrigger(578,20189 + def test_interactionBetweenDifferentEvents(598,20999 + def beforeFirstEvent(608,21363 + def afterFirstEvent(611,21475 + def beforeSecondEvent(616,21626 + def afterSecondEvent(619,21741 +class TimeTests(652,23099 + def test_seconds(658,23205 + def test_callLaterUsesReactorSecondsInDelayedCall(676,23915 + def test_callLaterUsesReactorSecondsAsDelayedCallSecondsFactory(692,24469 + def test_callLater(708,25030 + def test_callLaterReset(719,25309 + def test_cancelDelayedCall(730,25637 + def function(735,25786 + def check(743,26043 + def test_cancelCancelledDelayedCall(754,26302 + def test_cancelCalledDelayedCallSynchronous(764,26628 + def later(771,26906 + def test_cancelCalledDelayedCallAsynchronous(782,27173 + def check(788,27391 + def later(795,27596 + def testCallLaterTime(801,27719 + def testDelayedCallStringification(809,27921 + def calledBack(824,28384 + def testDelayedCallSecondsOverride(832,28571 + def seconds(837,28775 +class CallFromThreadStopsAndWakeUpTests(847,29056 + def testWakeUp(848,29116 + def wake(851,29223 + def _stopCallFromThreadCallback(861,29563 + def _callFromThreadCallback(864,29635 + def _callFromThreadCallback2(868,29806 + def testCallFromThreadStops(877,30033 +class DelayedTests(889,30392 + def setUp(890,30431 + def tearDown(896,30570 + def checkTimers(900,30657 + def callback(917,31229 + def addCallback(921,31315 + def done(925,31416 + def addTimer(930,31532 + def testGetDelayedCalls(936,31771 + def test_active(959,32563 + def checkDeferredCall(966,32793 +class Foo:Foo982,33130 + def __init__(983,33141 + def start(986,33264 + def done(988,33341 + def failed(991,33416 +class ChildResolveProtocol(999,33540 + def __init__(1000,33594 + def connectionMade(1003,33674 + def outReceived(1007,33754 + def errReceived(1010,33819 + def processEnded(1013,33883 +class ResolveTests(1018,34024 + def testChildResolve(1019,34063 + def cbFinished(1039,34830 +class CallFromThreadTests(1065,35849 + def setUp(1072,36066 + def schedule(1077,36149 + def test_lotsOfThreadsAreScheduledCorrectly(1084,36296 + def addAndMaybeFinish(1089,36496 + def test_threadsAreRunInScheduledOrder(1100,36747 + def check(1106,36911 + def test_scheduledThreadsNotRunUntilReactorRuns(1118,37247 + def incAndFinish(1122,37406 +class MyProtocol(1134,37661 +class MyFactory(1139,37736 +class ProtocolTests(1147,37836 + def testFactory(1149,37877 +class DummyProducer(1156,38093 + def __init__(1167,38529 + def resumeProducing(1171,38580 + def stopProducing(1175,38650 + def pauseProducing(1179,38716 +class SillyDescriptor(1184,38785 + def writeSomeData(1195,39147 + def startWriting(1202,39264 +class ReentrantProducer(1210,39390 + def __init__(1225,39913 + def resumeProducing(1232,40131 +class ProducerTests(1238,40288 + def test_doubleProducer(1242,40399 + def test_unconnectedFileDescriptor(1256,40882 + def _dontPausePullConsumerTest(1268,41262 + def test_dontPausePullConsumerOnWrite(1292,42140 + def test_dontPausePullConsumerOnWriteSequence(1301,42487 + def _reentrantStreamingProducerTest(1313,42945 + def test_reentrantStreamingProducerUsingWrite(1346,44374 + def test_reentrantStreamingProducerUsingWriteSequence(1354,44641 +class PortStringificationTests(1367,45096 + def testTCP(1369,45205 + def testUDP(1377,45559 + def testSSL(1385,45924 + +venv/lib/python2.7/site-packages/twisted/test/crash_test_dummy.py,159 +def foo(9,164 +class X:X12,189 + def __init__(13,198 + def do(16,245 +class XComponent(21,313 +class IX(24,367 +class XA(28,415 + def method(29,445 + +venv/lib/python2.7/site-packages/twisted/test/stdio_test_producer.py,136 +class ProducerChild(20,491 + def connectionLost(24,566 + def dataReceived(29,683 + def pause(43,1106 + def unpause(49,1243 + +venv/lib/python2.7/site-packages/twisted/test/test_strerror.py,383 +class _MyWindowsException(17,319 +class ErrorFormatingTests(24,453 + def test_strerrorFormatting(31,630 + def test_emptyErrorTab(41,1027 + def test_errorTab(55,1594 + def test_formatMessage(66,1993 + def formatMessage(72,2193 + def test_winError(82,2597 + def winError(88,2822 + def test_fromEnvironment(99,3258 + def test_correctLookups(130,4398 + +venv/lib/python2.7/site-packages/twisted/test/test_formmethod.py,371 +class ArgumentTests(14,193 + def argTest(16,234 + def test_argument(24,548 + def testString(32,770 + def testInt(38,1167 + def testFloat(42,1378 + def testChoice(47,1622 + def testFlags(53,1862 + def testBoolean(61,2172 + def test_file(66,2317 + def testDate(77,2686 + def testRangedInteger(88,3126 + def testVerifiedPassword(93,3342 + +venv/lib/python2.7/site-packages/twisted/test/test_policies.py,3684 +class SimpleProtocol(28,627 + def __init__(33,720 + def connectionMade(37,834 + def connectionLost(41,929 + def dataReceived(45,1038 +class SillyFactory(50,1103 + def __init__(52,1148 + def buildProtocol(55,1195 +class EchoProtocol(59,1254 + def pauseProducing(62,1313 + def resumeProducing(65,1371 + def stopProducing(68,1431 + def dataReceived(71,1474 +class Server(76,1546 +class TestableThrottlingFactory(84,1682 + def __init__(89,1827 + def callLater(99,2138 +class TestableTimeoutFactory(107,2293 + def __init__(112,2429 + def callLater(122,2737 +class WrapperTests(130,2892 + def test_protocolFactoryAttribute(134,3004 + def test_transportInterfaces(145,3356 + class IStubTransport(151,3589 + class StubTransport:StubTransport155,3685 + def test_factoryLogPrefix(174,4555 + def test_factoryLogPrefixFallback(184,4891 + class NoFactory(189,5102 + def test_protocolLogPrefix(197,5312 + def test_protocolLogPrefixFallback(210,5772 + class NoProtocol(215,5986 + def _getWrapper(227,6357 + def test_getHost(239,6756 + def test_getPeer(248,7018 + def test_registerProducer(257,7280 + def test_unregisterProducer(269,7686 + def test_stopConsuming(282,8131 + def test_startedConnecting(294,8501 + class Factory(300,8699 + def startedConnecting(301,8730 + def test_clientConnectionLost(310,9000 + class Factory(316,9207 + def clientConnectionLost(317,9238 + def test_clientConnectionFailed(327,9576 + class Factory(333,9789 + def clientConnectionFailed(334,9820 + def test_breakReferenceCycle(344,10162 +class WrappingFactory(363,10839 + def startFactory(366,10922 +class ThrottlingTests(372,11042 + def test_limit(377,11146 + def _connect123(391,11633 + def _check123(399,12007 + def _lose1(405,12287 + def _connect4(410,12475 + def _check4(414,12606 + def _cleanup(419,12759 + def test_writeSequence(436,13374 + def test_writeLimit(453,14014 + def test_readLimit(484,15241 +class TimeoutProtocolTests(525,16670 + def getProtocolAndClock(530,16777 + def test_cancelTimeout(554,17497 + def test_cancelTimeoutNoTimeout(574,18107 + def test_cancelTimeoutAlreadyCalled(587,18446 + def test_cancelTimeoutAlreadyCancelled(602,18887 +class TimeoutFactoryTests(618,19391 + def setUp(623,19496 + def test_timeout(640,20176 + def test_sendAvoidsTimeout(655,20678 + def test_receiveAvoidsTimeout(684,21739 +class TimeoutTester(706,22494 + def __init__(716,22755 + def connectionMade(723,22900 + def dataReceived(730,23036 + def connectionLost(738,23210 + def timeoutConnection(745,23368 + def callLater(752,23535 +class TimeoutMixinTests(760,23746 + def setUp(765,23847 + def test_overriddenCallLater(773,24055 + def test_timeout(782,24351 + def test_noTimeout(796,24761 + def test_resetTimeout(811,25255 + def test_cancelTimeout(828,25755 + def test_setTimeoutReturn(842,26137 + def test_setTimeoutCancleAlreadyCancelled(857,26585 +class LimitTotalConnectionsFactoryTests(875,27192 + def testConnectionCounting(877,27310 + def testConnectionLimiting(897,28041 + class OverflowProtocol(914,28733 + def connectionMade(915,28784 +class WriteSequenceEchoProtocol(935,29531 + def dataReceived(936,29578 +class TestLoggingFactory(942,29770 + def open(944,29848 +class LoggingFactoryTests(951,30016 + def test_thingsGetLogged(956,30128 + def test_counter(991,31306 + def test_loggingFactoryOpensLogfileAutomatically(1009,31834 + def mocked_open(1018,32162 + +venv/lib/python2.7/site-packages/twisted/test/test_stdio.py,1091 +class StandardIOTestProcessProtocol(46,1558 + def __init__(66,2384 + def connectionMade(72,2523 + def childDataReceived(76,2596 + def processEnded(87,3001 +class StandardInputOutputTests(92,3083 + def _spawnProcess(96,3168 + def _requireFailure(125,4139 + def cb(126,4183 + def eb(128,4284 + def test_loseConnection(133,4378 + def processEnded(144,4797 + def test_readConnectionLost(155,5172 + def cbBytes(166,5592 + def processEnded(172,5758 + def test_lastWriteReceived(181,6002 + def processEnded(207,7102 + def test_hostAndPeer(220,7599 + def processEnded(229,7903 + def test_write(237,8151 + def processEnded(247,8460 + def test_writeSequence(253,8640 + def processEnded(263,8968 + def _junkPath(269,9148 + def test_producer(277,9367 + def connectionMade(288,9668 + def processEnded(298,10008 + def test_consumer(307,10334 + def processEnded(319,10680 + def test_normalFileStandardOut(326,10910 + def spin(357,12254 + def cbLost(369,12667 + +venv/lib/python2.7/site-packages/twisted/test/ssl_helpers.py,158 +class ClientTLSContext(22,539 + def getContext(24,606 +class ServerTLSContext:ServerTLSContext27,678 + def __init__(30,720 + def getContext(34,852 + +venv/lib/python2.7/site-packages/twisted/test/test_dict.py,128 +class ParamTests(13,411 + def testParseParam(14,448 +class DictDeprecationTests(27,827 + def test_dictDeprecation(31,937 + +venv/lib/python2.7/site-packages/twisted/test/test_hook.py,341 +class BaseClass:BaseClass13,188 + def __init__(17,257 + def func(25,423 +class SubClass(34,586 + def __init__(38,653 + def func(47,857 +def basePre(59,1151 +def basePost(65,1275 +def subPre(71,1403 +def subPost(77,1519 +class HookTests(83,1639 + def setUp(87,1735 + def testBaseHook(94,1991 + def testSubHook(119,2992 + +venv/lib/python2.7/site-packages/twisted/test/test_iosim.py,1106 +class FakeTransportTests(19,407 + def test_connectionSerial(24,492 + def test_writeSequence(36,870 + def test_writeAfterClose(49,1194 +class StrictPushProducer(64,1592 + def stopProducing(71,1793 + def pauseProducing(77,1970 + def resumeProducing(85,2185 +class StrictPushProducerTests(94,2403 + def _initial(98,2497 + def _stopped(106,2686 + def _paused(115,2888 + def _resumed(124,3089 + def assertStopped(134,3352 + def assertPaused(144,3631 + def assertRunning(154,3907 + def test_stopThenStop(164,4186 + def test_stopThenPause(172,4427 + def test_stopThenResume(180,4671 + def test_pauseThenStop(188,4918 + def test_pauseThenPause(198,5183 + def test_pauseThenResume(207,5447 + def test_resumeThenStop(217,5718 + def test_resumeThenPause(227,5986 + def test_resumeThenResume(237,6255 + def test_stop(246,6525 + def test_pause(256,6782 + def test_resume(266,7040 +class IOPumpTests(276,7306 + def _testStreamingProducer(280,7376 + def test_serverStreamingProducer(314,8534 + def test_clientStreamingProducer(322,8798 + +venv/lib/python2.7/site-packages/twisted/test/test_sob.py,458 +class Dummy(18,331 +class FakeModule(29,448 +class PersistTests(32,484 + def testStyles(33,523 + def testStylesBeingSet(42,851 + def testPassphraseError(54,1304 + def testNames(63,1557 + def testPython(77,2011 + def testTypeGuesser(84,2226 + def testEverythingEphemeralGetattr(94,2758 + def testEverythingEphemeralSetattr(133,4146 + def testEverythingEphemeralException(152,4739 + def setUp(166,5236 + def tearDown(174,5489 + +venv/lib/python2.7/site-packages/twisted/test/test_fdesc.py,749 +class NonBlockingTests(23,365 + def test_setNonBlocking(28,500 + def test_setBlocking(40,908 +class ReadWriteTests(53,1265 + def setUp(58,1389 + def tearDown(67,1607 + def write(81,1844 + def read(88,1968 + def test_writeAndRead(103,2263 + def test_writeAndReadLarge(115,2627 + def test_readFromEmpty(136,3325 + def test_readFromCleanClose(147,3677 + def test_writeToClosed(156,3953 + def test_readFromInvalid(165,4232 + def test_writeToInvalid(174,4509 + def test_writeErrors(183,4790 + def eagainWrite(188,4923 + def eintrWrite(198,5191 +class CloseOnExecTests(210,5458 + def _execWithFileDescriptor(228,5805 + def test_setCloseOnExec(243,6355 + def test_unsetCloseOnExec(256,6842 + +venv/lib/python2.7/site-packages/twisted/test/test_lockfile.py,1503 +class UtilTests(27,688 + def test_symlinkEEXIST(31,812 + def test_symlinkEIOWindows(42,1212 + def fakeRename(52,1610 + def test_readlinkENOENT(63,2029 + def test_readlinkEACCESWindows(73,2385 + def fakeOpen(83,2819 + def test_kill(94,3244 + def test_killESRCH(103,3479 + def test_noKillCall(114,3884 +class LockingTests(127,4263 + def _symlinkErrorTest(128,4302 + def fakeSymlink(129,4342 + def test_symlinkError(139,4647 + def test_symlinkErrorPOSIX(147,4876 + def test_cleanlyAcquire(162,5448 + def test_cleanlyRelease(174,5825 + def test_cannotLockLocked(191,6347 + def test_uncleanlyAcquire(204,6740 + def fakeKill(212,7014 + def test_lockReleasedBeforeCheck(230,7556 + def fakeReadlink(236,7855 + def fakeKill(244,8201 + def test_lockReleasedDuringAcquireSymlink(259,8671 + def fakeSymlink(268,9142 + def test_lockReleasedDuringAcquireReadlink(285,9765 + def fakeReadlink(291,10021 + def _readlinkErrorTest(309,10714 + def fakeReadlink(310,10770 + def test_readlinkError(325,11224 + def test_readlinkErrorPOSIX(334,11520 + def test_lockCleanedUpConcurrently(349,12079 + def fakeRmlink(355,12355 + def fakeKill(363,12689 + def test_rmlinkError(378,13159 + def fakeRmlink(383,13339 + def fakeKill(387,13467 + def test_killError(405,14027 + def fakeKill(411,14254 + def test_unlockOther(426,14703 + def test_isLocked(437,15063 + +venv/lib/python2.7/site-packages/twisted/test/test_persisted.py,2753 +class VersionTests(36,606 + def test_nullVersionUpgrade(37,645 + class NullVersioned(39,713 + def __init__(40,750 + class NullVersioned(43,855 + def upgradeToVersion1(45,945 + def test_versionUpgrade(51,1125 + class MyVersioned(53,1187 + def __init__(59,1355 + def upgradeToVersion3(63,1486 + def upgradeToVersion4(66,1557 + def test_nonIdentityHash(82,2167 + class ClassWithCustomHash(84,2238 + def __init__(85,2291 + def __hash__(88,2407 + def test_upgradeDeserializesObjectsRequiringUpgrade(105,2991 + class ToyClassA(107,3090 + class ToyClassB(109,3150 + def upgradeToVersion1(116,3370 +class VersionedSubClass(129,3758 +class SecondVersionedSubClass(134,3813 +class VersionedSubSubClass(139,3874 +class VersionedDiamondSubClass(144,3933 +class AybabtuTests(149,4024 + def test_aybabtuStrictEmpty(155,4233 + def test_aybabtuStrictSubclass(162,4430 + def test_aybabtuSubsubclass(170,4695 + def test_aybabtuStrict(179,4995 +class MyEphemeral(190,5351 + def __init__(192,5389 +class EphemeralTests(196,5437 + def test_ephemeral(198,5479 +class Pickleable:Pickleable210,5802 + def __init__(212,5821 + def getX(215,5872 +class NotPickleable(220,5917 + def __reduce__(225,5999 +class CopyRegistered(233,6145 + def __init__(239,6285 +class CopyRegisteredLoaded(247,6441 +def reduceCopyRegistered(254,6541 +class A:A269,6908 + def amethod(273,6949 +class B:B276,6986 + def bmethod(280,7027 +def funktion(283,7064 +class PicklingTests(286,7090 + def test_module(289,7182 + def test_classMethod(295,7316 + def test_instanceMethod(311,7808 + def test_stringIO(318,8030 +class StringIOTransitionTests(331,8335 + def test_unpickleBytesIO(341,8636 +class EvilSourceror:EvilSourceror356,9105 + def __init__(357,9126 +class NonDictState:NonDictState362,9223 + def __getstate__(363,9243 + def __setstate__(365,9297 +class AOTTests(368,9360 + def test_simpleTypes(369,9395 + def test_methodSelfIdentity(376,9644 + def test_methodNotSelfIdentity(386,9940 + def test_unsupportedType(405,10491 + class UnknownType(411,10719 + def __dict__(413,10776 + def test_basicIdentity(418,10920 + def test_nonDictState(438,11588 + def test_copyReg(444,11756 + def test_funkyReferences(453,12060 + def test_circularTuple(463,12301 +class CrefUtilTests(478,12681 + def test_dictUnknownKey(483,12765 + def test_deferSetMultipleTimes(491,12999 + def test_containerWhereAllElementsAreKnown(500,13239 + def test_dontPutCircularReferencesInDictionaryKeys(511,13661 + def test_dontCallInstanceMethodsThatArentReady(522,14107 + +venv/lib/python2.7/site-packages/twisted/test/test_monkey.py,608 +class TestObj:TestObj14,253 + def __init__(15,268 +class MonkeyPatcherTests(22,388 + def setUp(27,515 + def test_empty(33,659 + def test_constructWithPatches(46,1135 + def test_patchExisting(59,1653 + def test_patchNonExisting(69,1963 + def test_patchAlreadyPatched(78,2287 + def test_restoreTwiceIsANoOp(91,2801 + def test_runWithPatchesDecoration(103,3249 + def f(110,3491 + def test_repeatedRunWithPatches(119,3732 + def f(124,3935 + def test_runWithPatchesRestores(138,4458 + def test_runWithPatchesRestoresOnException(149,4895 + def _(154,5082 + +venv/lib/python2.7/site-packages/twisted/test/plugin_extra2.py,138 +class FourthTestPlugin:FourthTestPlugin17,321 + def test1(18,345 +class FifthTestPlugin:FifthTestPlugin25,442 + def test1(29,517 + +venv/lib/python2.7/site-packages/twisted/test/test_randbytes.py,424 +class SecureRandomTestCaseBase(15,251 + def _check(20,352 +class SecureRandomTests(38,1046 + def test_normal(43,1180 +class ConditionalSecureRandomTests(52,1432 + def setUp(58,1631 + def errorFactory(65,1792 + def test_osUrandom(72,1966 + def test_withoutAnything(80,2179 + def wrapper(88,2517 +class RandomBaseTests(100,2856 + def test_normal(105,2984 + def test_withoutGetrandbits(112,3108 + +venv/lib/python2.7/site-packages/twisted/test/test_usage.py,2783 +class WellBehaved(14,276 + def opt_myflag(30,790 + def opt_myparam(34,856 +class ParseCorrectnessTests(39,953 + def setUp(44,1102 + def test_checkParameters(57,1456 + def test_checkFlags(66,1802 + def test_checkCustoms(73,1999 +class TypedOptions(82,2249 + def opt_under_score(90,2548 +class TypedTests(100,2772 + def setUp(104,2895 + def test_defaultValues(107,2953 + def test_parsingValues(121,3457 + def test_underscoreOption(138,4189 + def test_underscoreOptionAlias(147,4480 + def test_invalidValues(155,4715 +class WrongTypedOptions(164,4935 +class WeirdCallableOptions(170,5069 + def _bar(171,5112 + def _foo(173,5168 +class WrongTypedTests(181,5388 + def test_nonCallable(185,5511 + def test_notCalledInDefault(193,5743 + def test_weirdCallable(201,5962 +class OutputTests(217,6538 + def test_uppercasing(218,6576 +class InquisitionOptions(228,6888 +class HolyQuestOptions(239,7113 +class SubCommandOptions(246,7276 +class SubCommandTests(258,7651 + def test_simpleSubcommand(262,7778 + def test_subcommandWithFlagsAndOptions(274,8256 + def test_subcommandAliasWithFlagsAndOptions(286,8781 + def test_anotherSubcommandWithFlagsAndOptions(298,9313 + def test_noSubcommand(310,9807 + def test_defaultSubcommand(321,10201 + def test_subCommandParseOptionsHasParent(334,10735 + class SubOpt(339,10921 + def parseOptions(340,10958 + class Opt(343,11108 + def test_subCommandInTwoPlaces(352,11397 + class SubOpt(357,11558 + class OptFoo(359,11612 + class OptBar(363,11741 +class HelpStringTests(377,12234 + def setUp(381,12325 + def test_noGoBoom(392,12615 + def test_whitespaceStripFlagsAndParameters(401,12805 +class PortCoerceTests(412,13228 + def test_validCoerce(416,13332 + def test_errorCoerce(424,13599 +class ZshCompleterTests(435,13935 + def test_completer(440,14129 + def test_files(453,14560 + def test_dirs(471,15230 + def test_list(484,15684 + def test_multiList(503,16371 + def test_usernames(523,17218 + def test_groups(537,17689 + def test_hostnames(551,18146 + def test_userAtHost(564,18602 + def test_netInterfaces(578,19127 +class CompleterNotImplementedTests(593,19647 + def test_unknownShell(598,19828 +class FlagFunctionTests(618,20537 + class SomeClass(623,20635 + def oneArg(627,20741 + def noArg(634,20955 + def manyArgs(639,21085 + def test_hasArg(649,21470 + def test_noArg(657,21703 + def test_tooManyArguments(665,21931 + def test_tooManyArgumentsAndSpecificErrorMessage(675,22297 +class OptionsInternalTests(687,22729 + def test_optionsAliasesOrder(692,22842 + class Opts(697,23012 + def opt_very_very_long(698,23047 + +venv/lib/python2.7/site-packages/twisted/test/test_finger.py,165 +class FingerTests(13,250 + def setUp(17,336 + def test_simple(26,575 + def test_simpleW(37,935 + def test_forwarding(48,1308 + def test_list(59,1666 + +venv/lib/python2.7/site-packages/twisted/test/test_protocols.py,586 +class WireTests(15,355 + def test_echo(20,433 + def test_who(35,874 + def test_QOTD(45,1100 + def test_discard(56,1388 +class TestableProxyClientFactory(72,1778 + def buildProtocol(80,2051 +class TestableProxyFactory(90,2302 + def buildProtocol(102,2732 +class PortforwardingTests(116,3232 + def setUp(121,3321 + def tearDown(127,3464 + def test_portforward(149,4160 + def testDataReceived(168,4955 + def testConnectionMade(176,5239 + def test_registerProducers(190,5633 +class StringTransportTests(227,7094 + def test_noUnicode(232,7218 + +venv/lib/python2.7/site-packages/twisted/test/iosim.py,1238 +class TLSNegotiation:TLSNegotiation30,793 + def __init__(31,815 + def __repr__(38,990 + def pretendToVerify(42,1066 +class FakeAddress(53,1400 +class FakeTransport:FakeTransport63,1609 + def __init__(80,2121 + def __repr__(109,3296 + def write(115,3468 + def _checkProducer(126,3746 + def registerProducer(133,3986 + def unregisterProducer(143,4243 + def stopConsuming(147,4308 + def writeSequence(152,4403 + def loseConnection(156,4477 + def abortConnection(160,4543 + def reportDisconnect(168,4737 + def logPrefix(178,5045 + def getPeer(185,5187 + def getHost(189,5244 + def resumeProducing(193,5301 + def pauseProducing(198,5382 + def stopProducing(203,5462 + def startTLS(207,5523 + def getOutBuffer(216,5942 + def bufferReceived(239,6579 +def makeFakeClient(260,7504 +def makeFakeServer(274,7859 +class IOPump:IOPump288,8213 + def __init__(294,8381 + def flush(302,8601 + def pump(319,8984 +def connect(363,10429 +def connectedServerAndClient(407,11959 +def _factoriesShouldConnect(453,13930 +class ConnectionCompleter(481,14833 + def __init__(487,15051 + def succeedOnce(497,15322 + def failOnce(527,16699 +def connectableEndpoint(541,17136 + +venv/lib/python2.7/site-packages/twisted/test/test_nooldstyle.py,514 +class SomeOldStyleClass:SomeOldStyleClass43,893 + def func(49,973 +class SomeNewStyleClass(59,1119 +class OldStyleDecoratorTests(66,1197 + def test_makesNewStyle(71,1301 + class that 74,1427 + class SomeClassThatUsesOldStyle(76,1499 + def test_carriesAttributes(87,1959 + def test_onlyOldStyleMayBeDecorated(99,2473 + def test_noOpByDefault(114,3043 +class NewStyleOnly(135,3727 + def test_newStyleClassesOnly(145,4015 +def _buildTestClasses(177,5032 + class Test(197,5551 + +venv/lib/python2.7/site-packages/twisted/test/test_stringtransport.py,1423 +class StringTransportTests(20,612 + def setUp(24,727 + def test_interfaces(28,793 + def test_registerProducer(38,1154 + def test_disallowedRegisterProducer(50,1564 + def test_unregisterProducer(63,2043 + def test_invalidUnregisterProducer(79,2662 + def test_initialProducerState(87,2928 + def test_pauseProducing(94,3133 + def test_resumeProducing(103,3411 + def test_stopProducing(113,3738 + def test_stoppedTransportCannotPause(122,4017 + def test_stoppedTransportCannotResume(131,4309 + def test_disconnectingTransportCannotPause(140,4604 + def test_disconnectingTransportCannotResume(149,4908 + def test_loseConnectionSetsDisconnecting(158,5215 + def test_specifiedHostAddress(168,5551 + def test_specifiedPeerAddress(177,5844 + def test_defaultHostAddress(187,6162 + def test_defaultPeerAddress(196,6465 +class ReactorTests(206,6769 + def test_memoryReactorProvides(211,6876 + def test_raisingReactorProvides(222,7239 + def test_connectDestination(233,7621 + def test_listenDefaultHost(258,8784 + def test_readers(282,9895 + def test_writers(299,10279 +class TestConsumer(317,10664 + def __init__(321,10783 + def registerProducer(327,10901 + def unregisterProducer(338,11262 + def write(346,11447 +class NonStreamingProducerTests(356,11647 + def test_producesOnly10Times(360,11771 + def test_cannotPauseProduction(389,12831 + +venv/lib/python2.7/site-packages/twisted/test/stdio_test_loseconn.py,90 +class LoseConnChild(19,560 + def connectionMade(22,618 + def connectionLost(26,690 + +venv/lib/python2.7/site-packages/twisted/test/test_ssl.py,2453 + def _noSSL(26,794 +class UnintelligentProtocol(41,1139 + def __init__(61,1659 + def connectionMade(65,1726 + def lineReceived(70,1818 + def connectionLost(78,2073 +class LineCollector(83,2151 + def __init__(96,2534 + def connectionMade(102,2690 + def lineReceived(107,2789 + def rawDataReceived(124,3351 + def connectionLost(129,3467 +class SingleLineServerProtocol(134,3545 + def connectionMade(139,3683 +class RecordingClientProtocol(145,3813 + def __init__(151,3993 + def connectionMade(155,4060 + def dataReceived(159,4136 +class ImmediatelyDisconnectingProtocol(165,4254 + def handshakeCompleted(171,4474 + def connectionLost(175,4550 +def generateCertificateObjects(180,4650 +def generateCertificateFiles(209,5500 +class ContextGeneratingMixin:ContextGeneratingMixin225,6124 + def makeContextFactory(245,6782 + def setupServerAndClient(256,7147 + class ServerTLSContext(266,7517 + def __init__(273,7721 +class StolenTCPTests(279,7885 + def createServer(285,8062 + def connectClient(295,8447 + def getHandleExceptionType(303,8727 + def getHandleErrorCode(312,8993 +class TLSTests(342,10459 + def tearDown(355,10708 + def _runTest(362,10948 + def test_TLS(400,12219 + def check(405,12384 + def test_unTLS(415,12729 + def check(420,12925 + def test_backwardsTLS(432,13354 + def check(436,13460 +class SpammyTLSTests(447,13813 +class BufferingTests(455,13946 + def tearDown(460,14035 + def test_openSSLBuffering(470,14376 +class ConnectionLostTests(495,15267 + def testImmediateDisconnect(500,15388 + def test_bothSidesLoseConnection(523,16426 + class CloseAfterHandshake(530,16718 + def __init__(533,16801 + def handshakeCompleted(536,16879 + def connectionLost(539,16970 + def checkResult(561,17858 + def testFailedVerify(571,18201 + def verify(577,18389 + def _cbLostConns(601,19444 +class FakeContext:FakeContext628,20416 + def __init__(632,20521 + def set_options(637,20611 + def use_certificate_file(641,20682 + def use_privatekey_file(645,20743 +class DefaultOpenSSLContextFactoryTests(650,20804 + def setUp(654,20931 + def test_method(662,21287 + def test_missingCertificateFile(679,21946 + def test_missingPrivateKeyFile(690,22336 +class ClientContextFactoryTests(702,22726 + def setUp(706,22837 + def test_method(712,23031 + +venv/lib/python2.7/site-packages/twisted/test/stdio_test_halfclose.py,131 +class HalfCloseProtocol(24,673 + def connectionMade(32,955 + def readConnectionLost(39,1098 + def connectionLost(48,1316 + +venv/lib/python2.7/site-packages/twisted/test/mock_win32process.py,26 +def CreateProcess(19,434 + +venv/lib/python2.7/site-packages/twisted/test/test_rebuild.py,963 +class Foo:Foo15,270 +class Bar(16,286 +class Baz(17,307 +class Buz(18,331 +class HashRaisesRuntimeError:HashRaisesRuntimeError20,358 + def __init__(27,560 + def __hash__(31,618 +class RebuildTests(42,778 + def setUp(46,900 + def tearDown(56,1261 + def test_FileRebuild(60,1325 + def test_Rebuild(84,2327 + def test_ComponentInteraction(102,2883 + def test_UpdateInstance(120,3579 + class Foo:Foo125,3658 + def foo(126,3677 + class Buz(131,3774 + def test_BananaInteraction(139,4008 + def test_hashException(145,4176 + def _cleanup(152,4435 + def test_Sensitive(160,4653 + class TestSensitive(167,4848 + def test_method(168,4888 + class Foo:Foo195,5974 + def myFunction(205,6172 +class NewStyleTests(215,6373 + def setUp(219,6490 + def tearDown(224,6600 + def test_slots(229,6681 + def test_typeSubclass(246,7184 + def test_instanceSlots(263,7668 + +venv/lib/python2.7/site-packages/twisted/test/test_ident.py,769 +class ClassParserTests(28,511 + def setUp(33,608 + def test_indentError(40,743 + def test_noUSerError(50,1083 + def test_invalidPortError(60,1403 + def test_hiddenUserError(70,1749 + def test_lostConnection(80,2089 +class TestIdentServer(92,2473 + def lookup(93,2515 +class TestErrorIdentServer(98,2602 + def lookup(99,2649 +class NewException(104,2739 +class ServerParserTests(109,2785 + def testErrors(110,2829 + def testSuccess(147,4096 +class ProcMixinTests(167,4531 + def testDottedQuadFromHexString(175,4896 + def testUnpackAddress(180,5050 + def testLineParser(186,5227 + def testExistingAddress(193,5411 + def testNonExistingAddress(204,5784 + def testLookupProcNetTcp(215,6317 + def mocked_open(221,6476 + +venv/lib/python2.7/site-packages/twisted/test/test_adbapi.py,3767 +class ADBAPITestBase(27,527 + def extraSetUp(37,768 + def tearDown(46,1005 + def openfun(53,1211 + def checkOpenfunCalled(57,1283 + def test_pool(64,1467 + def _testPool_1_1(83,2168 + def _testPool_1_2(90,2401 + def _testPool_1_3(98,2671 + def _testPool_1_4(106,2939 + def _testPool_2(114,3213 + def _check(118,3366 + def _testPool_3(125,3558 + def _select(134,3912 + def _check(141,4137 + def _testPool_4(152,4518 + def _testPool_5(159,4716 + def _testPool_6(166,4920 + def _testPool_7(172,5089 + def _check(179,5385 + def _testPool_8(186,5598 + def _testPool_9(196,5917 + def _check(200,6070 + def checkConnect(208,6298 + def interaction(226,6939 + def bad_interaction(236,7344 + def withConnection(243,7541 + def close_withConnection(256,7965 + def bad_withConnection(260,8030 +class ReconnectTestBase(269,8207 + def extraSetUp(278,8442 + def tearDown(293,9014 + def test_pool(300,9219 + def _testPool_1(311,9536 + def _check(314,9650 + def _testPool_2(320,9792 + def _testPool_3(325,9937 + def _testPool_4(333,10192 + def _check(336,10306 + def _testPool_5(342,10448 +class DBTestConnector(352,10778 + def setUp(381,11865 + def can_connect(389,12101 + def startDB(395,12269 + def stopDB(400,12365 + def makePool(405,12448 + def getPoolArgs(413,12686 +class SQLite3Connector(421,12920 + def can_connect(429,13124 + def startDB(436,13261 + def getPoolArgs(442,13429 +class PySQLite2Connector(451,13621 + def can_connect(459,13828 + def startDB(466,13974 + def getPoolArgs(472,14142 +class PyPgSQLConnector(481,14343 + def can_connect(484,14413 + def getPoolArgs(496,14744 +class PsycopgConnector(504,14947 + def can_connect(507,15017 + def getPoolArgs(519,15341 +class MySQLConnector(527,15538 + def can_connect(534,15689 + def getPoolArgs(546,16005 +class FirebirdConnector(553,16167 + def can_connect(564,16469 + def startDB(575,16703 + def getPoolArgs(585,17092 + def stopDB(592,17300 +def makeSQLTests(601,17569 + class testcase(616,18198 +class FakePool(639,18924 + def __init__(650,19189 + def connect(654,19285 + def disconnect(661,19431 +class ConnectionTests(668,19516 + def test_rollbackErrorLogged(673,19614 + class ConnectionRollbackRaise(678,19793 + def rollback(679,19840 +class TransactionTests(691,20230 + def test_reopenLogErrorIfReconnect(696,20330 + class ConnectionCursorRaise(701,20523 + def reconnect(704,20591 + def cursor(707,20646 +class NonThreadPool(721,21084 + def callInThreadWithCallback(722,21113 +class DummyConnectionPool(733,21367 + def __init__(739,21494 +class EventReactor(747,21610 + def __init__(757,21922 + def callWhenRunning(762,22016 + def addSystemEventTrigger(769,22198 + def removeSystemEventTrigger(775,22360 +class ConnectionPoolTests(780,22448 + def test_runWithConnectionRaiseOriginalError(785,22549 + class ConnectionRollbackRaise(790,22765 + def __init__(791,22812 + def rollback(794,22872 + def raisingFunction(797,22952 + def cbFailed(804,23222 + def test_closeLogError(812,23473 + class ConnectionCloseRaise(816,23581 + def close(817,23625 + def test_runWithInteractionRaiseOriginalError(828,23943 + class ConnectionRollbackRaise(833,24157 + def __init__(834,24204 + def rollback(837,24264 + class DummyTransaction(840,24344 + def __init__(841,24384 + def raisingFunction(844,24456 + def cbFailed(853,24776 + def test_unstartedClose(861,25027 + def test_startedClose(875,25572 + +venv/lib/python2.7/site-packages/twisted/test/test_stateful.py,397 +class MyInt32StringReceiver(16,316 + def getInitialState(24,505 + def lengthLimitExceeded(28,572 + def _getHeader(32,657 + def _getString(40,866 + def stringReceived(45,966 + def sendString(52,1084 +class TestInt32(60,1289 + def connectionMade(61,1329 + def stringReceived(65,1388 + def connectionLost(72,1491 +class Int32Tests(77,1556 + def test_bigReceive(83,1780 + +venv/lib/python2.7/site-packages/twisted/test/myrebuilder2.py,101 +class A:A2,1 + def a(3,10 +class B(6,47 + def b(7,67 +class Inherit(10,104 + def a(11,122 + +venv/lib/python2.7/site-packages/twisted/test/stdio_test_writeseq.py,95 +class WriteSequenceChild(20,504 + def connectionMade(21,549 + def connectionLost(26,678 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_buffer.py,131 +class LimitedHistoryLogObserverTests(17,324 + def test_interface(22,442 + def test_order(33,744 + def test_limit(49,1167 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_flatten.py,1160 +class FlatFormattingTests(28,503 + def test_formatFlatEvent(33,618 + class Ephemeral(42,993 + def test_formatFlatEventBadFormat(77,1946 + def test_formatFlatEventWithMutatedFields(96,2403 + class Unpersistable(101,2604 + def selfDestruct(107,2738 + def __repr__(113,2885 + def test_keyFlattening(130,3350 + def keyFromFormat(136,3504 + def _test_formatFlatEvent_fieldNamesSame(179,5047 + class CountStr(189,5390 + def __str__(193,5487 + def test_formatFlatEventFieldNamesSame(207,5783 + def test_formatFlatEventFieldNamesSameAgain(214,5984 + def test_formatEventFlatTrailingText(223,6271 + def test_extractField(239,6673 + class ObjectWithRepr(245,6887 + def __repr__(246,6925 + class Something(249,6988 + def __init__(250,7021 + def __getstate__(254,7133 + def extract(264,7402 + def test_extractFieldFlattenFirst(272,7665 + def flattened(277,7830 + def test_flattenEventWithoutFormat(283,7955 + def test_flattenEventWithInertFormat(292,8232 + def test_flattenEventWithNoneFormat(309,8710 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_logger.py,1009 +class TestLogger(18,341 + def emit(24,473 + def observer(25,523 +class LogComposedObject(42,901 + def __init__(48,1020 + def __str__(52,1085 +class LoggerTests(57,1181 + def test_repr(62,1261 + def test_namespaceDefault(71,1475 + def test_namespaceOMGItsTooHard(79,1653 + def test_namespaceAttribute(93,2085 + class name 96,2213 + def test_descriptorObserver(110,2723 + class MyObject(116,2872 + def test_sourceAvailableForFormatting(124,3097 + def test_basicLogger(140,3608 + def test_sourceOnClass(170,4753 + def observer(174,4864 + class Thingo(177,4952 + def test_sourceOnInstance(183,5059 + def observer(187,5176 + class Thingo(190,5264 + def test_sourceUnbound(197,5397 + def observer(201,5499 + def test_defaultFailure(208,5645 + def test_conflictingKwargs(225,6127 + def test_logInvalidLogLevel(245,6719 + def test_trace(257,7000 + def publisher(261,7110 + def observer(264,7169 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_legacy.py,1469 +class LegacyLogObserverWrapperTests(27,606 + def test_interface(32,722 + def test_repr(44,1072 + class LegacyObserver(48,1186 + def __repr__(49,1224 + def __call__(52,1300 + def observe(63,1543 + def forwardAndVerify(83,2053 + def test_forward(108,2793 + def test_time(116,2989 + def test_timeAlreadySet(126,3260 + def test_system(136,3572 + def test_systemAlreadySet(145,3830 + def test_noSystem(154,4127 + def test_levelNotChange(165,4520 + def test_pythonLogLevelNotSet(177,5058 + def test_stringPythonLogLevel(190,5526 + def test_message(203,6027 + def test_messageAlreadySet(212,6339 + def test_format(220,6607 + def test_formatMessage(234,7021 + def test_formatAlreadySet(248,7410 + def eventWithFailure(259,7739 + def test_failure(277,8213 + def test_failureAlreadySet(288,8579 + def test_isErrorAlreadySet(298,8911 + def test_whyAlreadySet(307,9179 +class PublishToNewObserverTests(317,9446 + def setUp(322,9554 + def legacyEvent(327,9645 + def test_observed(348,10303 + def test_time(358,10564 + def test_message(371,10919 + def textFromEventDict(376,11113 + def test_defaultLogLevel(386,11443 + def test_isError(396,11756 + def test_stdlibLogLevel(409,12169 + def test_stdlibLogLevelWithString(423,12686 + def test_stdlibLogLevelWithGarbage(437,13188 + def test_defaultNamespace(451,13652 + def test_system(462,14032 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_file.py,663 +class FileLogObserverTests(22,469 + def test_interface(27,558 + def test_observeWrites(39,927 + def _test_observeWrites(50,1302 + def test_observeWritesNone(68,1887 + def test_observeWritesEmpty(76,2121 + def test_observeFlushes(84,2354 +class TextFileLogObserverTests(96,2737 + def test_returnsFileLogObserver(101,2834 + def test_outFile(110,3119 + def test_timeFormat(119,3385 + def test_observeFailure(129,3759 + def test_observeFailureThatRaisesInGetTraceback(149,4394 +class DummyFile(167,5085 + def __init__(172,5168 + def write(177,5243 + def flush(187,5411 + def __enter__(194,5507 + def __exit__(198,5554 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_stdlib.py,717 +def nextLine(24,555 +class STDLibLogObserverTests(38,902 + def test_interface(43,1004 + def py_logger(54,1286 + def logEvent(66,1578 + def test_name(89,2372 + def test_levels(99,2584 + def test_callerInfo(135,3722 + def test_basicFormat(153,4315 + def test_basicFormatRendered(165,4700 + def test_noFormat(177,5067 + def test_failure(187,5289 + def failing_func(191,5407 + def test_cleanedFailure(205,5866 + def failing_func(211,6094 +class StdlibLoggingContainer(227,6585 + def __init__(232,6705 + def close(245,7124 + def outputAsText(256,7431 +def handlerAndBytesIO(267,7658 +class BufferedHandler(287,8227 + def __init__(292,8360 + def emit(300,8522 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_filter.py,1047 +class FilteringLogObserverTests(22,514 + def test_interface(27,622 + def filterWith(38,928 + class Filters(73,1917 + def twoMinus(75,1974 + def twoPlus(90,2439 + def notTwo(105,2903 + def no(120,3365 + def bogus(132,3652 + def test_shouldLogEventNoFilters(165,4556 + def test_shouldLogEventNoFilter(172,4731 + def test_shouldLogEventOtherObserver(179,4912 + def test_shouldLogEventYesFilter(186,5132 + def test_shouldLogEventYesNoFilter(193,5318 + def test_shouldLogEventYesYesNoFilter(200,5531 + def test_shouldLogEventBadPredicateResult(211,5817 + def test_call(218,6007 + def callWithPredicateResult(224,6145 + def test_trace(238,6617 + def testObserver(247,6837 +class LogLevelFilterPredicateTests(275,7590 + def test_defaultLogLevel(280,7704 + def test_setLogLevel(300,8237 + def test_setInvalidLogLevel(336,9338 + def test_clearLogLevels(354,9866 + def test_filtering(387,10874 + def checkPredicate(397,11245 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_io.py,747 +class LoggingFileTests(21,337 + def setUp(26,427 + def test_softspace(34,634 + def test_readOnlyAttributes(41,780 + def test_unsupportedMethods(54,1292 + def test_level(70,1811 + def test_encoding(81,2113 + def test_mode(92,2438 + def test_newlines(100,2597 + def test_name(108,2773 + def test_close(119,3018 + def test_flush(130,3262 + def test_fileno(138,3412 + def test_isatty(146,3588 + def test_writeBuffering(154,3763 + def test_writeBytesDecoded(174,4283 + def test_writeUnicode(183,4546 + def test_writeLevel(192,4793 + def test_writeFormat(207,5247 + def test_writelinesBuffering(217,5511 + def test_print(238,6151 + def observedFile(251,6438 + def observer(263,6911 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_levels.py,105 +class LogLevelTests(15,237 + def test_levelWithName(20,321 + def test_levelWithInvalidName(28,532 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_observer.py,540 +class LogPublisherTests(18,344 + def test_interface(23,436 + def test_observers(34,710 + def test_addObserver(45,988 + def test_addObserverNotCallable(58,1331 + def test_removeObserver(67,1597 + def test_removeObserverNotRegistered(80,1952 + def test_fanOut(94,2347 + def test_observerRaises(115,2853 + def observer(125,3139 + def test_observerRaisesAndLoggerHatesMe(150,3873 + def observer(159,4223 + class GurkLogger(162,4297 + def failure(163,4331 + def test_trace(173,4593 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_format.py,2171 +class FormattingTests(31,727 + def test_formatEvent(36,834 + def format(53,1496 + def test_formatEventNoFormat(85,2719 + def test_formatEventWeirdFormat(95,2939 + def test_formatUnformattableEvent(106,3262 + def test_formatUnformattableEventWithUnformattableKey(117,3594 + def test_formatUnformattableEventWithUnformattableValue(132,4121 + def test_formatUnformattableEventWithUnformattableErrorOMGWillItStop(147,4647 +class TimeFormattingTests(163,5251 + def setUp(168,5355 + def test_formatTimeWithDefaultFormat(172,5405 + def testForTimeZone(182,5778 + def test_formatTimeWithNoTime(220,6797 + def test_formatTimeWithNoFormat(228,7043 + def test_formatTimeWithAlternateTimeFormat(237,7382 + def test_formatTimePercentF(245,7632 +class ClassicLogFormattingTests(253,7817 + def test_formatTimeDefault(258,7945 + def test_formatTimeCustom(280,8645 + def test_formatNamespace(293,9058 + def test_formatLevel(304,9371 + def test_formatSystem(315,9664 + def test_formatSystemRulz(326,9950 + def test_formatSystemUnformattable(342,10379 + def test_formatFormat(353,10704 + def test_formatNoFormat(364,10976 + def test_formatEmptyFormat(375,11192 + def test_formatFormatMultiLine(386,11429 +class FormatFieldTests(398,11795 + def test_formatWithCall(403,11893 +class Unformattable(427,12611 + def __repr__(432,12714 +class CapturedError(437,12767 +class EventAsTextTests(444,12864 + def test_eventWithTraceback(450,13024 + def test_formatEmptyEventWithTraceback(472,13660 + def test_formatUnformattableWithTraceback(494,14307 + def test_formatUnformattableErrorWithTraceback(519,15053 + def test_formatEventUnformattableTraceback(547,15950 + def test_formatEventNonCritical(565,16482 + def test_formatTracebackMultibyte(581,16958 + def test_formatTracebackHandlesUTF8DecodeFailure(603,17548 + def test_eventAsTextSystemOnly(633,18433 + def test_eventAsTextTimestampOnly(662,19213 + def test_eventAsTextSystemMissing(699,20205 + def test_eventAsTextSystemMissingNamespaceAndLevel(727,20920 + def test_eventAsTextSystemMissingLevelOnly(757,21772 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_global.py,840 +def compareEvents(25,512 + def simplify(46,1218 +class LogBeginnerTests(58,1521 + def setUp(63,1611 + class NotSys(67,1714 + class NotWarnings(71,1805 + def __init__(72,1840 + def showwarning(75,1908 + def test_beginLoggingToAddObservers(118,3442 + def test_beginLoggingToBufferedEvents(137,3895 + def _bufferLimitTest(157,4422 + def test_defaultBufferLimit(184,5301 + def test_overrideBufferLimit(193,5594 + def test_beginLoggingToTwice(206,6016 + def test_criticalLogging(248,7547 + def test_criticalLoggingStops(258,7901 + def test_beginLoggingToRedirectStandardIO(269,8288 + def test_beginLoggingToDontRedirect(288,8966 + def test_beginLoggingToPreservesEncoding(300,9424 + def test_warningsModule(325,10344 + def test_failuresAppendTracebacks(362,11541 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_util.py,191 +class UtilTests(15,230 + def test_trace(20,302 + def o2(30,518 + def o3(41,815 + def test_formatTrace(58,1223 + def noOp(64,1347 + def testObserver(75,1598 + +venv/lib/python2.7/site-packages/twisted/logger/test/test_json.py,1692 +def savedJSONInvariants(30,702 +class SaveLoadTests(51,1280 + def savedEventJSON(56,1373 + def test_simpleSaveLoad(69,1675 + def test_saveLoad(76,1884 + def test_saveUnPersistable(89,2343 + def test_saveNonASCII(100,2683 + def test_saveBytes(112,3022 + def asbytes(117,3187 + def test_saveUnPersistableThenFormat(135,3816 + class Reprable(142,4145 + def __init__(143,4177 + def __repr__(146,4252 + def test_extractingFieldsPostLoad(157,4576 + class Obj(162,4751 + def __init__(163,4778 + def test_failureStructurePreserved(177,5376 + def test_saveLoadLevel(200,6194 + def test_saveLoadUnknownLevel(210,6539 +class FileLogObserverTests(223,6983 + def test_interface(228,7076 + def assertObserverWritesJSON(241,7472 + def test_observeWritesDefaultRecordSeparator(265,8301 + def test_observeWritesEmptyRecordSeparator(274,8623 + def test_failureFormatting(283,8960 + def checkEvents(300,9587 +class LogFileReaderTests(316,10165 + def setUp(321,10258 + def observer(324,10310 + def tearDown(336,10605 + def _readEvents(340,10691 + def test_readEventsAutoWithRecordSeparator(356,11255 + def test_readEventsAutoEmptyRecordSeparator(369,11675 + def test_readEventsExplicitRecordSeparator(382,12083 + def test_readEventsPartialBuffer(396,12576 + def test_readTruncated(409,12993 + def test_readUnicode(431,13749 + def test_readUTF8Bytes(445,14274 + def test_readTruncatedUTF8Bytes(460,14872 + def test_readInvalidUTF8Bytes(476,15617 + def test_readInvalidJSON(503,16527 + def test_readUnseparated(525,17277 + def test_roundTrip(549,18032 + +venv/lib/python2.7/site-packages/twisted/logger/_util.py,55 +def formatTrace(11,159 + def formatWithName(24,618 + +venv/lib/python2.7/site-packages/twisted/logger/_json.py,389 +def failureAsJSON(27,545 +def asBytes(48,1027 +def failureFromJSON(73,1794 +def objectLoadHook(129,3268 +def objectSaveHook(148,3764 +def eventAsJSON(171,4485 + def default(190,5115 +def eventFromJSON(211,5724 +def jsonFileLogObserver(226,6062 +def eventsFromJSONLogFile(257,7093 + def asBytes(278,7912 + def eventFromBytearray(284,8034 + def eventFromRecord(324,9157 + +venv/lib/python2.7/site-packages/twisted/logger/_logger.py,386 +class Logger(17,322 + def _namespaceFromCallingContext(34,841 + def __init__(47,1210 + def __get__(76,2315 + class Something(81,2441 + def hello(83,2509 + def __repr__(107,3275 + def emit(111,3370 + def failure(147,4615 + def debug(193,6404 + def info(209,7013 + def warn(225,7619 + def error(241,8225 + def critical(257,8834 + +venv/lib/python2.7/site-packages/twisted/logger/_legacy.py,149 +class LegacyLogObserverWrapper(19,420 + def __init__(28,710 + def __repr__(37,991 + def __call__(44,1138 +def publishToNewObserver(97,3146 + +venv/lib/python2.7/site-packages/twisted/logger/_filter.py,417 +class PredicateResult(20,382 +class ILogFilterPredicate(45,1179 + def __call__(50,1301 +def shouldLogEvent(59,1447 +class FilteringLogObserver(97,2616 + def __init__(103,2807 + def __call__(125,3636 +class LogLevelFilterPredicate(139,4017 + def __init__(147,4270 + def logLevelForNamespace(157,4574 + def setLogLevelForNamespace(191,5731 + def clearLogLevels(210,6301 + def __call__(218,6510 + +venv/lib/python2.7/site-packages/twisted/logger/_stdlib.py,275 +def _reverseLogLevelMapping(29,706 +class STDLibLogObserver(46,1219 + def __init__(67,2160 + def _findCaller(81,2606 + def __call__(103,3309 +class StringifiableFromEvent(120,3865 + def __init__(125,4043 + def __unicode__(133,4188 + def __bytes__(137,4256 + +venv/lib/python2.7/site-packages/twisted/logger/_file.py,143 +class FileLogObserver(20,433 + def __init__(24,532 + def __call__(43,1189 +def textFileLogObserver(64,1603 + def formatEvent(81,2287 + +venv/lib/python2.7/site-packages/twisted/logger/_io.py,354 +class LoggingFile(15,209 + def __init__(31,634 + def closed(57,1350 + def encoding(68,1564 + def mode(79,1757 + def newlines(90,1921 + def name(101,2115 + def close(118,2501 + def flush(125,2635 + def fileno(132,2737 + def isatty(142,2929 + def write(152,3088 + def writelines(173,3681 + def _unsupported(185,3994 + +venv/lib/python2.7/site-packages/twisted/logger/_flatten.py,154 +class KeyFlattener(20,438 + def __init__(26,631 + def flatKey(33,762 +def flattenEvent(67,1771 +def extractField(128,3405 +def flatFormat(158,4415 + +venv/lib/python2.7/site-packages/twisted/logger/_buffer.py,117 +class LimitedHistoryLogObserver(21,353 + def __init__(38,855 + def __call__(47,1115 + def replayTo(51,1183 + +venv/lib/python2.7/site-packages/twisted/logger/_levels.py,149 +class InvalidLogLevelError(13,199 + def __init__(17,332 +class LogLevel(27,548 + def levelWithName(70,2521 + def _priorityForLevel(90,3050 + +venv/lib/python2.7/site-packages/twisted/logger/_observer.py,268 +class ILogObserver(22,395 + def __call__(31,711 +class LogPublisher(71,2493 + def __init__(79,2685 + def addObserver(84,2806 + def removeObserver(96,3177 + def __call__(108,3454 + def trace(113,3589 + def _errorLoggerForObserver(144,4497 + +venv/lib/python2.7/site-packages/twisted/logger/__init__.py,74 + def handleData(13,288 + class Foo(20,423 + def oops(23,470 + +venv/lib/python2.7/site-packages/twisted/logger/_format.py,354 +def formatEvent(22,499 +def formatUnformattableEvent(46,1088 +def formatTime(87,2274 +def formatEventAsClassicLogText(124,3231 +class CallMapping(183,5280 + def __init__(190,5502 + def __getitem__(198,5704 +def formatWithCall(212,6071 +def _formatEvent(244,7037 +def _formatTraceback(283,8144 +def _formatSystem(308,8929 +def eventAsText(342,9919 + +venv/lib/python2.7/site-packages/twisted/logger/_global.py,115 +class LogBeginner(35,916 + def __init__(82,2750 + def beginLoggingTo(119,4134 + def showwarning(193,7128 + +venv/lib/python2.7/site-packages/twisted/enterprise/adbapi.py,942 +class ConnectionLost(16,334 +class Connection(24,479 + def __init__(33,786 + def close(39,901 + def rollback(50,1384 + def reconnect(73,1945 + def __getattr__(79,2113 +class Transaction:Transaction84,2196 + def __init__(95,2533 + def close(101,2663 + def reopen(107,2769 + def reconnect(127,3252 + def __getattr__(132,3344 +class ConnectionPool:ConnectionPool137,3423 + def __init__(175,4832 + def _start(248,7602 + def start(253,7682 + def runWithConnection(267,8083 + def _runWithConnection(294,9375 + def runInteraction(309,9830 + def runQuery(342,11333 + def runOperation(363,12308 + def close(385,13277 + def finalClose(398,13661 + def connect(410,13974 + def disconnect(436,14970 + def _close(452,15539 + def _runInteraction(461,15761 + def _runQuery(478,16306 + def _runOperation(483,16420 + def __getstate__(487,16506 + def __setstate__(498,16854 + +venv/lib/python2.7/site-packages/twisted/web/test/test_soap.py,569 + class SOAPPublisher:SOAPPublisher12,164 +class Test(22,392 + def soap_add(24,420 + def soap_kwargs(27,472 + def soap_triple(31,564 + def soap_struct(34,640 + def soap_defer(37,713 + def soap_deferFail(40,775 + def soap_fail(43,846 + def soap_deferFault(46,899 + def soap_complex(49,971 + def soap_dict(52,1053 +class SOAPTests(56,1114 + def setUp(58,1151 + def tearDown(64,1372 + def proxy(67,1435 + def testResults(70,1519 + def testMethodNotFound(92,2297 + def cb(98,2508 + def testLookupFunction(103,2624 + +venv/lib/python2.7/site-packages/twisted/web/test/_util.py,166 +def _render(20,436 +class FlattenTestCase(36,863 + def assertFlattensTo(40,979 + def assertFlattensImmediately(49,1241 + def assertFlatteningRaises(75,2204 + +venv/lib/python2.7/site-packages/twisted/web/test/test_proxy.py,1466 +class ReverseProxyResourceTests(19,562 + def _testRender(24,661 + def test_render(57,2022 + def test_renderWithQuery(65,2271 + def test_getChild(73,2507 + def test_getChildWithSpecial(91,3284 +class DummyChannel(102,3634 + def __init__(111,3891 + def connectionLost(119,4061 + def getPeer(126,4208 + def getHost(133,4346 +class ProxyClientTests(141,4485 + def _parseOutHeaders(146,4566 + def makeRequest(162,5173 + def makeProxyClient(172,5414 + def connectProxy(192,6190 + def assertForwardsHeaders(205,6626 + def makeResponseBytes(224,7381 + def assertForwardsResponse(233,7716 + def _testDataForward(253,8544 + def test_forward(288,9925 + def test_postData(298,10275 + def test_statusWithMessage(307,10575 + def test_contentLength(316,10854 + def test_losesConnection(329,11253 + def test_headersCleanups(343,11690 + def test_keepaliveNotForwarded(355,12160 + def test_defaultHeadersOverridden(374,12857 +class ProxyClientFactoryTests(398,13873 + def test_connectionFailed(403,13968 + def test_buildProtocol(424,14801 +class ProxyRequestTests(442,15557 + def _testProcess(447,15640 + def test_process(475,16840 + def test_processWithoutTrailingSlash(488,17329 + def test_processWithData(497,17601 + def test_processWithPort(506,17860 +class DummyFactory(526,18660 + def __init__(531,18762 +class ReverseProxyRequestTests(537,18851 + def test_process(542,18948 + +venv/lib/python2.7/site-packages/twisted/web/test/test_newclient.py,9612 +class ArbitraryException(54,1796 +class AnotherArbitraryException(61,1947 +def assertWrapperExceptionTypes(72,2230 + def cbFailed(96,3230 +def assertResponseFailed(108,3589 +def assertRequestGenerationFailed(117,3853 +def assertRequestTransmissionFailed(126,4144 +def justTransportResponse(135,4441 +class MakeStatefulDispatcherTests(146,4807 + def test_functionCalledByState(150,4909 + class Foo:Foo155,5105 + def bar(158,5150 + def _quux_A(162,5253 + def _quux_B(165,5312 +class _HTTPParserTests(177,5605 + def test_statusCallback(184,5780 + def _headerTestSetup(199,6303 + def test_headerCallback(208,6586 + def test_continuedHeaderCallback(222,7098 + def test_fieldContentWhitespace(236,7666 + def test_allHeadersCallback(250,8226 + def allHeadersReceived(257,8454 + def test_noHeaderCallback(266,8757 + def test_headersSavedOnResponse(277,9098 + def test_connectionControlHeaders(292,9681 + def test_switchToBodyMode(314,10639 +class HTTPParserRFCComplaintDelimeterTests(326,11003 +class HTTPParserNonRFCComplaintDelimeterTests(334,11167 +class HTTPClientParserTests(342,11325 + def test_parseVersion(347,11475 + def test_parseBadVersion(358,11784 + def checkParsing(367,12063 + def test_responseStatusParsing(381,12380 + def test_responseStatusWithoutPhrase(395,12996 + def test_badResponseStatus(410,13678 + def checkParsing(417,13920 + def _noBodyTest(430,14385 + def test_headResponse(468,16000 + def test_noContentResponse(483,16548 + def test_notModifiedResponse(494,16920 + def test_responseHeaders(505,17298 + def test_connectionHeaders(526,18046 + def test_headResponseContentLengthEntityHeader(549,18908 + def test_contentLength(570,19734 + def test_zeroContentLength(602,21035 + def test_multipleContentLengthHeaders(628,21912 + def test_extraBytesPassedBack(648,22580 + def test_extraBytesPassedBackHEAD(666,23238 + def test_chunkedResponseBody(684,23935 + def test_unknownContentLength(722,25381 + def test_contentLengthAndTransferEncoding(746,26252 + def test_connectionLostBeforeBody(775,27154 + def test_connectionLostWithError(793,27880 + def fakeBodyDataFinished(817,28718 + def test_noResponseAtAll(829,29121 + def test_someResponseButNotAll(844,29637 + def test_1XXResponseIsSwallowed(862,30287 + def test_1XXFollowedByFinalResponseOnlyEmitsFinal(890,31362 + def test_multiple1XXResponsesAreIgnored(925,32578 + def test_ignored1XXResponseCausesLog(965,33849 +class SlowRequest:SlowRequest998,34871 + def writeTo(1013,35353 + def stopWriting(1018,35453 +class SimpleRequest:SimpleRequest1023,35511 + def writeTo(1032,35840 +class HTTP11ClientProtocolTests(1038,35945 + def setUp(1043,36092 + def test_request(1052,36355 + def test_secondRequest(1061,36645 + def cbNotSent(1068,36938 + def test_requestAfterConnectionLost(1076,37180 + def cbNotSent(1084,37545 + def test_failedWriteTo(1092,37787 + class BrokenRequest:BrokenRequest1099,38129 + def writeTo(1101,38189 + def cbFailed(1105,38333 + def test_synchronousWriteToError(1116,38780 + class BrokenRequest:BrokenRequest1122,39054 + def writeTo(1124,39114 + def test_connectionLostDuringRequestGeneration(1131,39329 + def test_connectionLostBeforeGenerationFinished(1164,40650 + def test_connectionLostBeforeGenerationFailed(1173,40995 + def test_errorMessageOnConnectionLostBeforeGenerationFailedDoesNotConfuse(1182,41338 + def check(1194,41825 + def test_receiveSimplestResponse(1207,42350 + def cbRequest(1214,42712 + def test_receiveResponseHeaders(1228,43192 + def cbRequest(1235,43533 + def test_receiveResponseBeforeRequestGenerationDone(1247,43888 + def cbResponse(1269,44734 + def cbAllResponse(1280,45234 + def test_receiveResponseHeadersTooLong(1296,45833 + def test_connectionLostAfterReceivingResponseBeforeRequestGenerationDone(1323,46820 + def cbResponse(1336,47388 + def cbAllResponse(1343,47681 + def test_receiveResponseBody(1352,48026 + def cbAllResponse(1385,49341 + def test_responseBodyFinishedWhenConnectionLostWhenContentLengthIsUnknown(1392,49563 + def test_chunkedResponseBodyUnfinishedWhenConnectionLost(1423,50609 + def test_parserDataReceivedException(1455,51728 + def cbFailed(1466,52328 + def test_proxyStopped(1481,52917 + def test_abortClosesConnection(1497,53584 + def test_abortAfterConnectionLost(1519,54375 + def test_abortBeforeResponseBody(1535,54932 + def test_abortAfterResponseHeaders(1552,55663 + class BodyDestination(1576,56652 + def connectionMade(1581,56820 + def connectionLost(1587,56975 + def deliverBody(1595,57233 + def checkError(1606,57669 + def test_quiescentCallbackCalled(1616,57982 + def callback(1629,58583 + def test_transportProducingWhenQuiescentAfterFullBody(1674,60305 + def callback(1686,60890 + def test_quiescentCallbackCalledEmptyResponse(1719,62169 + def callback(1725,62406 + def test_quiescentCallbackNotCalled(1747,63170 + def test_quiescentCallbackNotCalledNonPersistentQuery(1777,64237 + def test_quiescentCallbackThrows(1805,65236 + def callback(1810,65415 + def test_cancelBeforeResponse(1845,66490 + def test_cancelDuringResponse(1862,67197 + def assertCancelDuringBodyProduction(1879,67908 + def cancel(1892,68473 + def startProducing(1894,68539 + def test_cancelDuringBodyProduction(1909,69123 + def test_cancelDuringChunkedBodyProduction(1919,69540 +class StringProducer:StringProducer1931,70004 + def __init__(1946,70502 + def startProducing(1950,70565 + def stopProducing(1956,70704 +class RequestTests(1961,70764 + def setUp(1965,70836 + def test_sendSimplestRequest(1969,70902 + def test_sendSimplestPersistentRequest(1983,71333 + def test_sendRequestHeaders(1996,71744 + def test_sendChunkedRequestBody(2017,72470 + def test_sendChunkedRequestBodyWithError(2054,73729 + def cbFailed(2068,74469 + def test_sendRequestBodyWithLength(2076,74739 + def _sendRequestEmptyBodyWithLength(2105,75786 + def test_sendPUTRequestEmptyBody(2126,76491 + def test_sendPOSTRequestEmptyBody(2135,76778 + def test_sendRequestBodyWithTooFewBytes(2144,77068 + def _sendRequestBodyWithTooManyBytesTest(2160,77777 + def cbFailed(2192,79093 + def test_sendRequestBodyWithTooManyBytes(2225,80458 + def finisher(2232,80807 + def test_sendRequestBodyErrorWithTooManyBytes(2237,80953 + def finisher(2249,81429 + def test_sendRequestBodyErrorWithConsumerError(2260,81882 + def _sendRequestBodyFinishedEarlyThenTooManyBytes(2291,83067 + def test_sendRequestBodyFinishedEarlyThenTooManyBytes(2311,83917 + def finisher(2318,84298 + def test_sendRequestBodyErroredEarlyThenTooManyBytes(2325,84515 + def finisher(2332,84901 + def test_sendChunkedRequestBodyFinishedThenWriteMore(2339,85136 + def test_sendChunkedRequestBodyFinishedWithErrorThenWriteMore(2357,85908 + def test_sendRequestBodyWithError(2369,86457 + def test_hostHeaderRequired(2408,87941 + def test_stopWriting(2423,88570 + def test_brokenStopProducing(2436,88976 + def brokenStopProducing(2446,89339 +class LengthEnforcingConsumerTests(2463,89936 + def setUp(2467,90040 + def test_write(2475,90287 + def test_finishedEarly(2488,90783 + def test_writeTooMany(2498,91132 + def test_writeAfterNoMoreExpected(2515,91851 + def test_finishedLate(2528,92369 + def test_finished(2537,92668 + def test_stopProducingRaises(2546,92986 + def brokenStopProducing(2554,93353 + def cbFinished(2559,93568 +class RequestBodyConsumerTests(2568,93790 + def test_interface(2574,94007 + def test_write(2582,94218 + def test_producerRegistration(2596,94695 +class TransportProxyProducerTests(2615,95428 + def test_interface(2620,95594 + def test_stopProxyingUnreferencesProducer(2628,95816 + def test_resumeProducing(2640,96238 + def test_pauseProducing(2663,97046 + def test_stopProducing(2685,97820 + def test_loseConnectionWhileProxying(2706,98628 + def test_loseConnectionNotProxying(2728,99427 +class ResponseTests(2747,100038 + def test_verifyInterface(2752,100113 + def test_makeConnection(2760,100346 + class SomeProtocol(2768,100666 + def makeConnection(2769,100704 + def test_dataReceived(2782,101157 + class ListConsumer(2789,101405 + def dataReceived(2790,101443 + def test_connectionLost(2802,101743 + class ListConsumer(2810,102054 + def connectionLost(2811,102092 + def test_bufferEarlyData(2827,102579 + class ListConsumer(2834,102853 + def dataReceived(2835,102891 + def test_multipleStartProducingFails(2850,103466 + def test_startProducingAfterFinishedFails(2860,103804 + def test_bodyDataReceivedAfterFinishedFails(2871,104205 + def test_bodyDataReceivedAfterDeliveryFails(2881,104610 + def test_bodyDataFinishedAfterFinishedFails(2892,105055 + def test_bodyDataFinishedAfterDeliveryFails(2902,105396 + def test_transportResumed(2913,105797 + class ListConsumer(2919,106027 + def makeConnection(2920,106065 + def test_bodyDataFinishedBeforeStartProducing(2933,106557 + def test_finishedWithErrorWhenConnected(2952,107269 + def test_finishedWithErrorWhenInitial(2972,108015 + +venv/lib/python2.7/site-packages/twisted/web/test/test_cgi.py,1422 +class PythonScript(88,1840 +class CGITests(93,1913 + def startServer(102,2136 + def tearDown(111,2418 + def writeCGI(116,2523 + def test_CGI(123,2720 + def _testCGI_1(135,3079 + def test_protectedServerAndDate(139,3186 + def checkResponse(152,3647 + def test_noDuplicateContentTypeHeaders(161,3962 + def checkResponse(174,4513 + def test_noProxyPassthrough(183,4773 + def checkResponse(199,5334 + def test_duplicateHeaderCGI(210,5669 + def checkResponse(223,6136 + def test_malformedHeaderCGI(230,6335 + def addMessage(244,6791 + def checkResponse(250,6988 + def test_ReadEmptyInput(258,7199 + def _test_ReadEmptyInput_1(274,7735 + def test_ReadInput(280,7919 + def _test_ReadInput_1(301,8586 + def test_ReadAllInput(307,8765 + def _test_ReadAllInput_1(327,9422 + def test_useReactorArgument(333,9607 + class FakeReactor:FakeReactor338,9780 + def spawnProcess(343,9935 +class CGIScriptTests(362,10555 + def test_pathInfo(367,10647 + class FakeReactor:FakeReactor372,10807 + def spawnProcess(376,10943 +class CGIDirectoryTests(399,11739 + def test_render(403,11836 + def cbRendered(411,12106 + def test_notFoundChild(417,12254 + def cbRendered(430,12798 +class CGIProcessProtocolTests(437,12947 + def test_prematureEndOfHeaders(441,13056 +def discardBody(454,13544 + +venv/lib/python2.7/site-packages/twisted/web/test/test_http_headers.py,1790 +class BytesHeadersTests(14,309 + def test_initializer(18,424 + def test_setRawHeaders(27,693 + def test_rawHeadersTypeChecking(40,1142 + def test_addRawHeader(48,1382 + def test_getRawHeadersNoDefault(59,1752 + def test_getRawHeadersDefaultValue(67,1994 + def test_getRawHeadersWithDefaultMatchingValue(77,2290 + def test_getRawHeaders(90,2809 + def test_hasHeaderTrue(101,3162 + def test_hasHeaderFalse(112,3477 + def test_removeHeader(120,3683 + def test_removeHeaderDoesntExist(137,4167 + def test_canonicalNameCaps(147,4446 + def test_getAllRawHeaders(166,5340 + def test_headersComparison(183,5977 + def test_otherComparison(199,6516 + def test_repr(210,6808 + def test_reprWithRawBytes(223,7163 + def test_subclassRepr(240,7783 + class FunnyHeaders(248,8040 + def test_copy(255,8235 +class UnicodeHeadersTests(272,8817 + def test_initializer(276,8936 + def test_setRawHeaders(289,9476 + def test_nameNotEncodable(306,10128 + def test_nameEncoding(322,10645 + def test_rawHeadersValueEncoding(340,11231 + def test_rawHeadersTypeChecking(351,11622 + def test_addRawHeader(359,11862 + def test_getRawHeadersNoDefault(371,12305 + def test_getRawHeadersDefaultValue(379,12547 + def test_getRawHeadersWithDefaultMatchingValue(395,13099 + def test_getRawHeaders(408,13620 + def test_hasHeaderTrue(421,14125 + def test_hasHeaderFalse(434,14558 + def test_removeHeader(442,14770 + def test_removeHeaderDoesntExist(461,15346 + def test_getAllRawHeaders(471,15625 + def test_headersComparison(490,16402 + def test_otherComparison(519,17439 + def test_repr(530,17731 + def test_subclassRepr(551,18482 + class FunnyHeaders(564,18930 + def test_copy(573,19246 + +venv/lib/python2.7/site-packages/twisted/web/test/test_http2.py,5691 +class FrameFactory(49,1328 + def __init__(55,1535 + def refreshEncoder(59,1594 + def clientConnectionPreface(63,1659 + def buildHeadersFrame(67,1751 + def buildDataFrame(87,2319 + def buildSettingsFrame(98,2635 + def buildWindowUpdateFrame(110,2897 + def buildGoAwayFrame(119,3139 + def buildRstStreamFrame(130,3459 + def buildPriorityFrame(139,3689 + def buildPushPromiseFrame(154,4113 +class FrameBuffer(171,4619 + def __init__(183,5135 + def receiveData(188,5219 + def __iter__(192,5281 + def next(196,5327 +def buildRequestFrames(219,5874 +def buildRequestBytes(255,7046 +def framesFromBytes(279,7821 +class ChunkedHTTPHandler(300,8420 + def process(309,8658 +class ConsumerDummyHandler(322,8932 + def __init__(329,9243 + def acceptData(338,9478 + def requestReceived(345,9598 + def process(350,9752 +class AbortingConsumerDummyHandler(361,10055 + def acceptData(368,10378 +class DummyProducerHandler(380,10659 + def process(386,10857 +class NotifyingRequestFactory(395,11047 + def __init__(402,11393 + def __call__(413,11793 +class HTTP2TestHelpers(426,12094 + def assertAllStreamsBlocked(435,12269 +class HTTP2ServerTests(444,12564 + def connectAndReceive(493,13741 + def test_basicRequest(523,14806 + def validate(536,15331 + def test_postRequest(558,16176 + def validate(568,16531 + def test_postRequestNoLength(591,17459 + def validate(617,18324 + def test_interleavedRequests(640,19242 + def validate(672,20376 + def test_sendAccordingToPriority(702,21587 + def validate(756,23732 + def test_protocolErrorTerminatesConnection(775,24413 + def test_streamProducingData(817,25871 + def validate(852,27470 + def test_abortStreamProducingData(863,27855 + def validate(900,29385 + def test_terminatedRequest(914,29847 + def validate(956,31625 + def test_terminatedConnection(969,31981 + def validate(1011,33704 + def test_respondWith100Continue(1024,34060 + def validate(1040,34722 + def test_respondWith400(1057,35279 + def validate(1087,36552 + def test_loseH2StreamConnection(1103,37016 + def validate(1130,38028 + def test_cannotRegisterTwoProducers(1154,38800 + def test_handlesPullProducer(1169,39298 + def validate(1188,40072 + def test_isSecureWorksProperly(1210,40761 + def test_lateCompletionWorks(1223,41213 + def validateComplete(1238,41769 + def test_writeSequenceForChannels(1250,42139 + def validate(1269,42763 + def test_delayWrites(1290,43380 + def write_chunks(1323,44570 + def validate(1338,45074 + def test_resetAfterBody(1362,45844 + def test_RequestRequiringFactorySiteInConstructor(1388,46686 + class SuperRequest(1395,46921 + def __init__(1396,46967 + def validateFactoryAndSite(1410,47499 + def test_notifyOnCompleteRequest(1422,47939 + def validate(1436,48453 + def test_notifyOnResetStream(1448,48794 + def callback(1464,49394 + def errback(1467,49483 + def test_failWithProtocolError(1482,49927 + def callback(1508,51048 + def errback(1511,51137 + def test_failOnGoaway(1529,51766 + def callback(1554,52853 + def errback(1557,52942 + def test_failOnStopProducing(1572,53420 + def callback(1597,54522 + def errback(1600,54611 + def test_notifyOnFast400(1614,54996 + def callback(1631,55683 + def errback(1634,55772 +class H2FlowControlTests(1655,56518 + def test_bufferExcessData(1687,57325 + def validate(1720,58685 + def test_producerBlockingUnblocking(1736,59257 + def validate(1816,62394 + def test_flowControlExact(1835,62978 + def window_open(1876,64556 + def validate(1891,65085 + def test_endingBlockedStream(1908,65692 + def validate(1954,67330 + def test_responseWithoutBody(1973,67904 + def validate(2008,69089 + def test_windowUpdateForCompleteStream(2029,69677 + def validate(2073,71274 + def test_producerUnblocked(2094,71862 + def validate(2144,73703 + def test_unnecessaryWindowUpdate(2163,74266 + def validate(2186,75155 + def test_unnecessaryWindowUpdateForStream(2202,75728 + def test_windowUpdateAfterTerminate(2230,76808 + def test_windowUpdateAfterComplete(2267,78021 + def update_window(2288,78749 + def validate(2295,78988 + def test_dataAndRstStream(2306,79345 +class HTTP2TransportChecking(2368,81648 + def test_registerProducerWithTransport(2380,81991 + def test_pausingProducerPreventsDataSend(2392,82327 + def validateNotSent(2428,83766 + def validateComplete(2444,84284 + def test_stopProducing(2457,84659 + def test_passthroughHostAndPeer(2491,85782 + def validate(2522,87013 +class HTTP2SchedulingTests(2530,87219 + def test_initiallySchedulesOneDataCall(2536,87487 +class HTTP2TimeoutTests(2558,88179 + def patch_TimeoutMixin_clock(2576,88671 + def initiateH2Connection(2592,89279 + def assertTimedOut(2621,90263 + def prepareAbortTest(2637,90872 + def test_timeoutAfterInactivity(2675,92123 + def test_timeoutResetByRequestData(2709,93134 + def test_timeoutResetByResponseData(2743,94148 + def saveRequest(2756,94647 + def test_timeoutWithProtocolErrorIfStreamsOpen(2787,95605 + def test_noTimeoutIfConnectionLost(2813,96516 + def test_timeoutEventuallyForcesConnectionClosed(2841,97515 + def test_losingConnectionCancelsTheAbort(2857,98129 + def test_losingConnectionWithNoAbortTimeOut(2874,98735 + def test_connectionLostAfterForceClose(2888,99258 + +venv/lib/python2.7/site-packages/twisted/web/test/test_flatten.py,2108 +class SerializationTests(35,865 + def test_nestedTags(39,984 + def test_serializeString(48,1236 + def test_serializeSelfClosingTags(58,1535 + def test_serializeAttribute(65,1738 + def test_serializedMultipleAttributes(73,2001 + def checkAttributeSanitization(83,2344 + def test_serializedAttributeWithSanitization(103,3195 + def test_serializedDeferredAttributeWithSanitization(112,3531 + def test_serializedAttributeWithSlotWithSanitization(121,3849 + def test_serializedAttributeWithTransparentTag(132,4201 + def test_serializedAttributeWithTransparentTagWithRenderer(141,4523 + class WithRenderer(146,4749 + def __init__(147,4786 + def stuff(151,4949 + def test_serializedAttributeWithRenderable(161,5270 + class Arbitrary(168,5544 + def __init__(169,5577 + def render(171,5651 + def checkTagAttributeSerialization(176,5787 + def test_serializedAttributeWithTag(201,6876 + def test_serializedAttributeWithDeferredTag(210,7192 + def test_serializedAttributeWithTagWithAttribute(218,7458 + def test_serializeComment(235,8200 + def test_commentEscaping(242,8404 + def verifyComment(256,8925 + def test_serializeCDATA(289,9999 + def test_serializeUnicode(301,10369 + def test_serializeCharRef(319,11148 + def test_serializeDeferred(328,11400 + def test_serializeSameDeferredTwice(336,11638 + def test_serializeCoroutine(347,11938 + def test_serializeCoroutineWithAwait(370,12525 + def test_serializeIRenderable(393,13178 + class FakeElement(398,13349 + def render(399,13384 + def lookupRenderMethod(404,13593 + def test_serializeSlots(413,13869 + def test_serializeDeferredSlots(426,14268 + def test_unknownTypeRaises(436,14606 +class FlattenerErrorTests(454,15385 + def test_renderable(459,15472 + class Renderable(466,15740 + def __repr__(467,15774 + def test_tag(478,16090 + def test_tagWithoutLocation(494,16692 + def test_traceback(507,17164 + def f(514,17453 + def g(516,17486 + +venv/lib/python2.7/site-packages/twisted/web/test/test_error.py,1953 +class CodeToMessageTests(21,342 + def test_validCode(25,458 + def test_invalidCode(30,569 + def test_nonintegerCode(35,678 +class ErrorTests(41,799 + def test_noMessageValidStatus(45,907 + def test_noMessageInvalidStatus(55,1266 + def test_messageExists(64,1567 + def test_str(73,1870 +class PageRedirectTests(88,2227 + def test_noMessageValidStatus(92,2349 + def test_noMessageValidStatusNoLocation(102,2748 + def test_noMessageInvalidStatusLocationExists(113,3213 + def test_messageExistsLocationExists(122,3560 + def test_messageExistsNoLocation(131,3917 +class InfiniteRedirectionTests(142,4278 + def test_noMessageValidStatus(146,4414 + def test_noMessageValidStatusNoLocation(157,4835 + def test_noMessageInvalidStatusLocationExists(169,5322 + def test_messageExistsLocationExists(179,5691 + def test_messageExistsNoLocation(189,6100 +class RedirectWithNoLocationTests(200,6475 + def test_validMessage(205,6653 +class MissingRenderMethodTests(218,7146 + def test_constructor(223,7300 + def test_repr(235,7689 +class MissingTemplateLoaderTests(249,8114 + def test_constructor(254,8272 + def test_repr(264,8573 +class FlattenerErrorTests(277,8944 + def makeFlattenerError(281,9039 + def fakeFormatRoot(289,9282 + def test_constructor(293,9348 + def test_str(303,9669 + def test_reprWithRootsAndWithTraceback(312,9890 + def test_reprWithoutRootsAndWithTraceback(331,10661 + def test_reprWithoutRootsAndWithoutTraceback(346,11259 + def test_formatRootShortUnicodeString(359,11751 + def test_formatRootLongUnicodeString(368,12038 + def test_formatRootShortByteString(379,12444 + def test_formatRootLongByteString(388,12713 + def test_formatRootTagNoFilename(399,13101 + def test_formatRootTagWithFilename(408,13386 + def test_string(419,13828 + def test_unicode(440,14630 +class UnsupportedMethodTests(467,15679 + def test_str(471,15791 + +venv/lib/python2.7/site-packages/twisted/web/test/test_script.py,467 +class ResourceScriptDirectoryTests(18,424 + def test_renderNotFound(22,528 + def cbRendered(30,817 + def test_notFoundChild(36,965 + def cbRendered(49,1525 + def test_render(55,1673 +class TestResource(65,2055 + def render_GET(67,2103 + def cbRendered(74,2382 +class PythonScriptTests(81,2532 + def test_notFoundRender(85,2614 + def cbRendered(93,2959 + def test_renderException(99,3107 + def cbRendered(112,3638 + +venv/lib/python2.7/site-packages/twisted/web/test/test_web__responses.py,59 +class ResponseTests(15,340 + def test_constants(17,381 + +venv/lib/python2.7/site-packages/twisted/web/test/test_static.py,5971 +class StaticDataTests(33,820 + def test_headRequest(37,892 + def cbRendered(45,1172 + def test_invalidMethod(51,1319 +class StaticFileTests(63,1670 + def _render(67,1764 + def test_ignoredExtTrue(71,1850 + def test_ignoredExtFalse(84,2305 + def test_allowExt(97,2753 + def test_invalidMethod(110,3200 + def test_notFound(123,3616 + def cbRendered(137,4121 + def test_emptyChild(143,4263 + def test_emptyChildUnicodeParent(158,4749 + def test_securityViolationNotFound(182,5587 + def cbRendered(196,6101 + def test_forbiddenResource(202,6243 + def cbRendered(218,6804 + def test_undecodablePath(226,7056 + def cbRendered(242,7579 + def test_forbiddenResource_default(250,7831 + def test_forbiddenResource_customize(258,8072 + def failingOpenForReading(267,8388 + class CustomForbiddenResource(270,8470 + def render(271,8528 + class CustomStaticFile(274,8606 + def test_indexNames(286,8950 + def cbRendered(303,9591 + def test_staticFile(312,9870 + def cbRendered(327,10430 + def test_staticFileUnicodeFileName(336,10709 + def cbRendered(353,11285 + def test_staticFileDeletedGetChild(366,11836 + def test_staticFileDeletedRender(377,12252 + def cbRendered2(387,12681 + def cbRendered(388,12715 + def test_getChildChildNotFound_customize(397,12988 + class CustomChildNotFoundResource(406,13299 + def render(407,13361 + class CustomStaticFile(410,13439 + def test_headRequest(422,13800 + def cbRendered(433,14162 + def test_processors(439,14309 + def cbRendered(458,15111 + def test_ignoreExt(467,15401 + def test_ignoredExtensionsIgnored(482,15921 + def cbRendered(499,16632 + def test_directoryWithoutTrailingSlashRedirects(505,16782 + def _makeFilePathWithStringIO(525,17581 + def test_HEADClosesFile(541,18056 + def test_cachedRequestClosesFile(554,18496 +class StaticMakeProducerTests(569,19040 + def makeResourceWithContent(575,19135 + def contentHeaders(590,19689 + def test_noRangeHeaderGivesNoRangeStaticProducer(604,20160 + def test_noRangeHeaderSets200OK(616,20619 + def test_noRangeHeaderSetsContentHeaders(628,21036 + def test_singleRangeGivesSingleRangeStaticProducer(647,21803 + def test_singleRangeSets206PartialContent(660,22369 + def test_singleRangeSetsContentHeaders(674,22950 + def test_singleUnsatisfiableRangeReturnsSingleRangeStaticProducer(693,23817 + def test_singleUnsatisfiableRangeSets416ReqestedRangeNotSatisfiable(706,24419 + def test_singleUnsatisfiableRangeSetsContentHeaders(721,25068 + def test_singlePartiallyOverlappingRangeSetsContentHeaders(738,25804 + def test_multipleRangeGivesMultipleRangeStaticProducer(755,26568 + def test_multipleRangeSets206PartialContent(768,27146 + def test_mutipleRangeSetsContentHeaders(784,27744 + def test_multipleUnsatisfiableRangesReturnsMultipleRangeStaticProducer(818,29535 + def test_multipleUnsatisfiableRangesSets416ReqestedRangeNotSatisfiable(832,30172 + def test_multipleUnsatisfiableRangeSetsContentHeaders(847,30844 + def test_oneSatisfiableRangeIsEnough(866,31688 +class StaticProducerTests(882,32274 + def test_stopProducingClosesFile(887,32374 + def test_stopProducingSetsRequestToNone(898,32719 +class NoRangeStaticProducerTests(911,33179 + def test_implementsIPullProducer(916,33280 + def test_resumeProducingProducesContent(925,33526 + def test_resumeProducingBuffersOutput(940,34093 + def test_finishCalledWhenDone(962,34933 +class SingleRangeStaticProducerTests(980,35598 + def test_implementsIPullProducer(985,35707 + def test_resumeProducingProducesContent(994,35973 + def test_resumeProducingBuffersOutput(1010,36589 + def test_finishCalledWhenDone(1031,37390 +class MultipleRangeStaticProducerTests(1049,38069 + def test_implementsIPullProducer(1054,38182 + def test_resumeProducingProducesContent(1063,38446 + def test_resumeProducingBuffersOutput(1079,39112 + def test_finishCalledWhenDone(1109,40420 +class RangeTests(1127,41112 + def setUp(1143,41611 + def tearDown(1170,42929 + def _assertLogged(1178,43110 + def test_invalidRanges(1188,43449 + def test_rangeMissingStop(1217,44304 + def test_rangeMissingStart(1226,44601 + def test_range(1235,44894 + def test_rangeWithSpace(1244,45164 + def test_nullRangeElements(1263,45939 + def test_multipleRanges(1272,46246 + def test_bodyLength(1282,46517 + def test_invalidRangeRequest(1292,46860 + def parseMultipartBody(1311,47743 + def test_multipleRangeRequest(1340,48889 + def test_multipleRangeRequestWithRangeOverlappingEnd(1366,50201 + def test_implicitEnd(1393,51653 + def test_implicitStart(1411,52445 + def test_explicitRange(1430,53305 + def test_explicitRangeOverlappingEnd(1449,54133 + def test_statusCodeRequestedRangeNotSatisfiable(1469,55028 + def test_invalidStartBytePos(1484,55700 +class DirectoryListerTests(1506,56629 + def _request(1510,56724 + def test_renderHeader(1516,56842 + def test_renderUnquoteHeader(1530,57308 + def test_escapeHeader(1543,57773 + def test_renderFiles(1557,58260 + def test_renderDirectories(1584,58979 + def test_renderFiltered(1611,59693 + def test_oddAndEven(1638,60480 + def test_contentType(1656,61251 + def test_mimeTypeAndEncodings(1670,61747 + def test_brokenSymlink(1717,63364 + def test_childrenNotFound(1740,64128 + def cbRendered(1751,64550 + def test_repr(1757,64713 + def test_formatFileSize(1768,65139 +class LoadMimeTypesTests(1782,65676 + def setUp(1791,65897 + def _fakeInit(1795,65952 + def test_defaultArgumentIsNone(1805,66190 + def test_extraLocationsWork(1813,66415 + def test_usesGlobalInitFunction(1822,66681 +class StaticDeprecationTests(1839,67374 + def test_addSlashDeprecated(1841,67415 + +venv/lib/python2.7/site-packages/twisted/web/test/test_webclient.py,5697 +class ExtendedRedirect(43,1205 + def __init__(56,1494 + def render(61,1589 + def getChild(71,1894 + def redirectTo(75,1955 +class ForeverTakingResource(82,2112 + def __init__(87,2268 + def render(91,2375 +class ForeverTakingNoReadingResource(97,2508 + def __init__(102,2712 + def render(105,2778 +class CookieMirrorResource(111,2919 + def render(112,2966 +class RawCookieMirrorResource(119,3192 + def render(120,3242 +class ErrorResource(126,3431 + def render(128,3472 +class NoLengthResource(134,3659 + def render(136,3703 +class HostHeaderResource(141,3764 + def render(146,3923 +class PayloadResource(151,4021 + def render(157,4260 +class DelayResource(165,4520 + def __init__(167,4561 + def render(170,4626 + def response(171,4657 +class BrokenDownloadResource(178,4838 + def render(180,4888 +class CountingRedirect(186,5081 + def __init__(191,5234 + def render(195,5334 +class CountingResource(200,5437 + def __init__(204,5573 + def render(208,5662 +class URLJoinTests(214,5746 + def test_noFragments(218,5835 + def test_preserveFragments(235,6438 +class HTTPPageGetterTests(255,7181 + def test_earlyHeaders(263,7413 +class WebClientTests(301,8939 + def _listen(306,9062 + def setUp(309,9157 + def tearDown(344,10930 + def getURL(366,11877 + def testPayload(370,12022 + def test_getPageBrokenDownload(377,12225 + def test_downloadPageBrokenDownload(389,12702 + def checkResponse(400,13226 + def cbFailed(410,13581 + def test_downloadPageLogsFileCloseError(416,13719 + class BrokenFile:BrokenFile423,13996 + def write(424,14022 + def close(427,14080 + def cbFailed(441,14590 + def testHostHeader(456,15018 + def test_getPage(467,15526 + def test_getPageHEAD(477,15845 + def test_getPageNotQuiteHEAD(488,16202 + def test_timeoutNotTriggering(499,16597 + def test_timeoutTriggering(511,17047 + def testDownloadPage(524,17550 + def _cbDownloadPageTest(535,17986 + def testDownloadPageError1(540,18146 + class errorfile:errorfile541,18184 + def write(542,18209 + def close(544,18307 + def testDownloadPageError2(551,18497 + class errorfile:errorfile552,18535 + def write(553,18560 + def close(555,18616 + def testDownloadPageError3(562,18848 + def _cleanupDownloadPageError3(573,19287 + def _downloadTest(578,19432 + def testServerError(588,19869 + def testDownloadServerError(591,19981 + def testFactoryInfo(594,20125 + def _cbFactoryInfo(601,20423 + def test_followRedirect(608,20719 + def test_noFollowRedirect(618,21016 + def _cbCheckLocation(631,21483 + def test_infiniteRedirection(635,21571 + def checkRedirectCount(640,21767 + def test_isolatedFollowRedirect(653,22208 + def test_afterFoundGet(666,22689 + def gotPage(677,23115 + def test_downloadAfterFoundGet(689,23473 + def gotPage(697,23780 + def test_afterFoundGetMakesOneRequest(709,24158 + def checkRedirectCount(715,24413 + def test_downloadTimeout(725,24729 + def test_downloadTimeoutsWorkWithoutReading(750,25689 + def test_downloadHeaders(769,26466 + def checkHeaders(775,26731 + def test_downloadCookies(787,27262 + def cbFinished(799,27723 + def test_downloadRedirectLimit(807,27953 + def checkRedirectCount(812,28151 + def test_setURL(826,28624 + def test_setURLRemovesFragment(838,28999 + def test_setURLRelativePath(851,29453 +class WebClientSSLTests(864,29843 + def _listen(865,29884 + def getURL(872,30112 + def testFactoryInfo(875,30219 +class WebClientRedirectBetweenSSLandPlainTextTests(886,30641 + def getHTTPS(890,30774 + def getHTTP(893,30886 + def setUp(896,30998 + def tearDown(918,31906 + def testHoppingAround(924,32103 +class CookieTests(930,32259 + def _listen(934,32359 + def setUp(937,32454 + def tearDown(945,32788 + def getHTTP(948,32854 + def testNoCookies(951,32961 + def testSomeCookies(956,33114 + def testRawNoCookies(962,33369 + def testRawSomeCookies(967,33530 + def testCookieHeaderParsing(974,33826 +class HostHeaderTests(1006,35027 + def _getHost(1014,35234 + def test_HTTPDefaultPort(1028,35649 + def test_HTTPPort80(1040,36100 + def test_HTTPNotPort80(1052,36573 + def test_HTTPSDefaultPort(1064,37038 + def test_HTTPSPort443(1076,37491 + def test_HTTPSNotPort443(1088,37969 +class URITests:URITests1110,38813 + def makeURIString(1125,39373 + def assertURIEquals(1145,40103 + def test_parseDefaultPort(1184,41321 + def test_parseCustomDefaultPort(1198,41909 + def test_netlocHostPort(1211,42386 + def test_path(1227,42975 + def test_noPath(1243,43402 + def test_emptyPath(1259,43844 + def test_param(1273,44212 + def test_query(1290,44684 + def test_fragment(1308,45193 + def test_originForm(1327,45747 + def test_originFormComplex(1337,46043 + def test_originFormNoPath(1348,46445 + def test_originFormEmptyPath(1357,46729 + def test_externalUnicodeInterference(1367,47036 +class URITestsForHostname(1383,47634 +class URITestsForIPv4(1392,47803 +class URITestsForIPv6(1401,47978 + def test_hostBracketIPv6AddressLiteral(1413,48308 +class DeprecationTests(1427,48789 + def test_getPageDeprecated(1432,48910 + def test_downloadPageDeprecated(1454,49772 + def _testDeprecatedClass(1478,50710 + def test_httpPageGetterDeprecated(1496,51357 + def test_httpPageDownloaderDeprecated(1503,51528 + def test_httpClientFactoryDeprecated(1510,51711 + def test_httpDownloaderDeprecated(1517,51891 + +venv/lib/python2.7/site-packages/twisted/web/test/test_xmlrpc.py,3639 +class AsyncXMLRPCTests(37,1183 + def setUp(41,1290 + class AsyncResource(48,1548 + def xmlrpc_async(49,1585 + def test_deferredResponse(55,1694 + def test_interruptedDeferredResponse(70,2207 +class TestRuntimeError(86,2810 +class TestValueError(91,2860 +class Test(96,2906 + def xmlrpc_echo(105,3079 + def xmlrpc_add(109,3172 + def xmlrpc_pair(119,3442 + def xmlrpc_defer(128,3693 + def xmlrpc_deferFail(132,3787 + def xmlrpc_fail(136,3916 + def xmlrpc_fault(139,3975 + def xmlrpc_deferFault(142,4045 + def xmlrpc_snowman(145,4129 + def xmlrpc_complex(154,4389 + def xmlrpc_dict(157,4473 + def xmlrpc_withRequest(162,4592 + def lookupProcedure(175,5014 +class TestLookupProcedure(187,5394 + def echo(192,5565 + def lookupProcedure(196,5607 +class TestListProcedures(208,5961 + def listProcedures(213,6136 +class TestAuthHeader(221,6294 + def __init__(226,6418 + def render(230,6499 + def xmlrpc_authinfo(234,6604 +class TestQueryProtocol(239,6704 + def connectionMade(245,6858 + def handleHeader(249,6987 + def sendHeader(252,7074 +class TestQueryFactory(261,7302 + def __init__(267,7462 +class TestQueryFactoryCancel(273,7623 + def startedConnecting(279,7810 +class XMLRPCTests(283,7891 + def setUp(285,7930 + def tearDown(291,8139 + def queryFactory(295,8230 + def proxy(304,8524 + def test_results(317,8984 + def test_headers(334,9558 + def check_server_headers(342,9791 + def check_client_headers(349,10065 + def test_errors(364,10587 + def cb(388,11718 + def test_cancel(407,12427 + def factory(412,12599 + def test_errorGet(423,13011 + def checkResponse(429,13259 + def test_errorXMLContent(434,13413 + def cb(444,13809 + def test_datetimeRoundtrip(450,13947 + def test_doubleEncodingError(463,14352 + def fakeDumps(480,15156 + def cbFailed(489,15571 + def test_closeConnectionAfterRequest(501,15973 + def responseDone(506,16170 + def test_tcpTimeout(513,16407 + def test_sslTimeout(526,16908 +class XMLRPCProxyWithoutSlashTests(541,17447 + def proxy(546,17559 +class XMLRPCPublicLookupProcedureTests(556,17815 + def createServer(562,18000 + def test_lookupProcedure(571,18322 + def test_errors(583,18720 + def test_listMethods(595,19154 + def listed(605,19540 +class SerializationConfigMixin:SerializationConfigMixin615,19857 + def setUp(630,20527 + def test_roundtripValue(643,20985 + def test_roundtripNestedValue(652,21250 +class XMLRPCAllowNoneTests(663,21569 +class XMLRPCUseDateTimeTests(671,21769 +class XMLRPCAuthenticatedTests(680,22041 + def setUp(688,22240 + def test_authInfoInURL(695,22460 + def test_explicitAuthInfo(704,22787 + def test_longPassword(712,23066 + def test_explicitAuthInfoOverride(726,23608 +class XMLRPCIntrospectionTests(734,23906 + def setUp(736,23952 + def test_listMethods(743,24182 + def cbMethods(745,24215 + def test_methodHelp(759,24709 + def test_methodSignature(772,25142 +class XMLRPCClientErrorHandlingTests(787,25656 + def setUp(791,25775 + def tearDown(800,26102 + def test_erroneousResponse(803,26168 +class QueryFactoryParseResponseTests(814,26549 + def setUp(819,26681 + def test_parseResponseCallbackSafety(834,27355 + def test_parseResponseErrbackSafety(848,27933 + def test_badStatusErrbackSafety(862,28508 + def test_parseResponseWithoutData(875,29073 +class XMLRPCWithRequestTests(894,29541 + def setUp(896,29591 + def test_withRequest(900,29645 + def valid(910,30035 + +venv/lib/python2.7/site-packages/twisted/web/test/test_httpauth.py,2565 +def b64encode(40,1228 +class BasicAuthTestsMixin:BasicAuthTestsMixin44,1287 + def setUp(50,1514 + def makeRequest(58,1750 + def test_interface(68,2106 + def test_usernamePassword(76,2325 + def test_incorrectPadding(90,2932 + def test_invalidEncoding(103,3420 + def test_invalidCredentials(114,3803 +class RequestMixin:RequestMixin126,4193 + def makeRequest(127,4213 +class BasicAuthTests(141,4635 +class DigestAuthTests(148,4800 + def setUp(153,4944 + def test_decode(164,5258 + def check(174,5602 + def test_interface(186,6038 + def test_getChallenge(194,6258 + def test_getChallengeWithoutClientIP(212,7068 +class UnauthorizedResourceTests(227,7662 + def test_getChildWithDefault(231,7783 + def _unauthorizedRenderTest(242,8144 + def test_render(257,8765 + def test_renderHEAD(268,9147 + def test_renderQuotesRealm(279,9529 + def test_renderQuotesDigest(294,10092 +class Realm(313,10768 + def __init__(326,11131 + def requestAvatar(332,11268 + def logout(339,11503 +class HTTPAuthHeaderTests(344,11556 + def setUp(350,11691 + def _authorizedBasicLogin(372,12650 + def test_getChildWithDefault(384,13160 + def cbFinished(393,13576 + def _invalidAuthorizationTest(400,13747 + def cbFinished(412,14406 + def test_getChildWithDefaultUnauthorizedUser(419,14577 + def test_getChildWithDefaultUnauthorizedPassword(429,14962 + def test_getChildWithDefaultUnrecognizedScheme(440,15387 + def test_getChildWithDefaultAuthorized(449,15742 + def cbFinished(460,16277 + def test_renderAuthorized(467,16460 + def cbFinished(479,17028 + def test_getChallengeCalledWithRequest(486,17212 + class DumbCredentialFactory(493,17504 + def __init__(496,17579 + def getChallenge(499,17647 + def cbFinished(508,18002 + def _logoutTest(515,18176 + class SlowerResource(526,18560 + def render(527,18600 + def test_logout(538,18949 + def test_logoutOnError(547,19193 + def test_decodeRaises(559,19596 + def test_selectParseResponse(572,20213 + def test_unexpectedDecodeError(589,20910 + class UnexpectedException(599,21268 + class BadFactory(602,21332 + def getChallenge(605,21395 + def decode(608,21466 + def test_unexpectedLoginError(625,22130 + class UnexpectedException(634,22444 + class BrokenChecker(637,22508 + def requestAvatarId(640,22602 + def test_anonymousAccess(657,23267 + def cbFinished(673,23945 + +venv/lib/python2.7/site-packages/twisted/web/test/test_html.py,106 +class WebHtmlTests(9,140 + def test_deprecation(14,236 + def assertDeprecationWarningOf(18,365 + +venv/lib/python2.7/site-packages/twisted/web/test/test_web.py,5622 +class ResourceTests(30,859 + def testListEntities(31,899 +class SimpleResource(36,1012 + def __init__(42,1293 + def render(47,1418 +class ZeroLengthResource(60,1784 + def render(64,1904 +class NoContentResource(69,1957 + def render(74,2114 +class SiteTest(80,2216 + def getAutoExpiringSession(85,2303 + def test_simplestSite(101,2764 + def test_defaultRequestFactory(115,3231 + def test_constructorRequestFactory(124,3471 + def test_buildProtocol(136,3790 + def test_makeSession(149,4173 + def test_sessionUIDGeneration(161,4538 + def predictableEntropy(171,4931 + def test_getSessionExistent(187,5671 + def test_getSessionNonExistent(200,6054 +class SessionTests(209,6317 + def setUp(213,6405 + def test_defaultReactor(225,6788 + def test_startCheckingExpiration(234,7078 + def test_expire(253,7770 + def test_expireWhileChecking(264,8118 + def test_notifyOnExpire(273,8359 + def expired(279,8560 + def test_touch(286,8734 +def httpBody(318,9708 +def httpHeader(321,9772 +def httpCode(329,10021 +class ConditionalTests(333,10109 + def setUp(337,10240 + def tearDown(355,10983 + def _modifiedTest(359,11051 + def test_modified(378,11898 + def test_unmodified(388,12285 + def test_invalidTimestamp(407,13223 + def test_invalidTimestampYear(417,13616 + def test_invalidTimestampTooLongAgo(427,14056 + def test_invalidTimestampMonth(437,14472 + def test_etagMatchedNot(448,14944 + def test_etagMatched(458,15335 + def test_unmodifiedWithContentType(472,15945 +class RequestTests(491,16740 + def test_interface(496,16853 + def test_hashable(504,17075 + def testChildLink(512,17287 + def testPrePathURLSimple(522,17736 + def testPrePathURLNonDefault(529,18042 + def testPrePathURLSSLPort(538,18399 + def testPrePathURLSSLPortAndSSL(547,18756 + def testPrePathURLHTTPPortAndSSL(557,19157 + def testPrePathURLSSLNonDefault(567,19560 + def testPrePathURLSetSSLHost(577,19962 + def test_prePathURLQuoting(587,20316 + def test_processingFailedNoTraceback(600,20785 + def test_processingFailedDisplayTraceback(634,21967 + def test_processingFailedDisplayTracebackHandlesUnicode(662,22947 + def test_sessionDifferentFromSecureSession(696,24261 + def test_sessionAttribute(718,25193 + def test_sessionCaching(741,26116 + def test_retrieveExistingSession(757,26655 + def test_retrieveNonExistentSession(773,27249 + def test_getSessionExpired(792,28010 + def sessionFactoryWithClock(804,28370 + def test_OPTIONSStar(837,29521 + def test_rejectNonOPTIONSStar(853,30048 + def test_noDefaultContentTypeOnZeroLengthResponse(873,30754 + def test_noDefaultContentTypeOn204Response(893,31383 +class GzipEncoderTests(914,32090 + def setUp(915,32133 + def test_interfaces(923,32424 + def test_encoding(941,33166 + def test_whitespaceInAcceptEncoding(959,33971 + def test_nonEncoding(978,34863 + def test_multipleAccept(995,35598 + def test_alreadyEncoded(1014,36414 + def test_multipleEncodingLines(1034,37361 +class RootResource(1056,38323 + def getChildWithDefault(1059,38378 + def render(1064,38538 +class RememberURLTests(1069,38590 + def createServer(1074,38711 + def testSimple(1090,39122 + def testRoot(1112,39980 +class NewRenderResource(1132,40716 + def render_GET(1133,40760 + def render_HEH(1136,40820 +class HeadlessResource(1142,40915 + def render(1149,41044 +class NewRenderTests(1161,41376 + def _getReq(1165,41473 + def testGoodMethods(1181,42010 + def testBadMethods(1194,42445 + def test_notAllowedMethod(1203,42753 + def testImplicitHead(1216,43336 + def test_unsupportedHead(1234,43866 + def test_noBytesResult(1254,44512 + class RiggedRepr(1259,44680 + def __repr__(1260,44714 +class GettableResource(1291,45825 + def render_GET(1295,45947 + def render_fred_render_ethel(1298,45987 +class AllowedMethodsTests(1307,46197 + def _getReq(1312,46384 + def test_computeAllowedMethods(1325,46775 + def test_notAllowed(1339,47354 + def test_notAllowedQuoting(1356,48025 + def test_notImplementedQuoting(1372,48700 +class DummyRequestForLogTest(1388,49347 + def getClientIP(1396,49592 +class AccessLogTestsMixin(1405,49863 + def factory(1410,50021 + def test_combinedLogFormat(1419,50264 + def test_logFormatOverride(1459,51580 + def notVeryGoodFormatter(1464,51780 +class HTTPFactoryAccessLogTests(1486,52377 +class SiteAccessLogTests(1494,52539 + def factory(1499,52656 +class CombinedLogFormatterTests(1504,52764 + def test_interface(1508,52888 + def test_nonASCII(1516,53117 + def test_clientAddrIPv6(1539,54038 + def test_clientAddrUnknown(1557,54644 + class UnknowableAddress(1562,54821 +class ProxiedLogFormatterTests(1580,55357 + def test_interface(1584,55479 + def _xforwardedforTest(1592,55706 + def test_xforwardedfor(1615,56651 + def test_extraForwardedSpaces(1623,56906 +class LogEscapingTests(1632,57180 + def setUp(1633,57223 + def assertLogs(1640,57431 + def test_simple(1659,58004 + def test_methodQuote(1670,58369 + def test_requestQuote(1682,58795 + def test_protoQuote(1694,59240 + def test_refererQuote(1706,59676 + def test_userAgentQuote(1722,60263 +class ServerAttributesTests(1737,60833 + def test_deprecatedAttributeDateTimeString(1743,61012 + def test_deprecatedAttributeStringDateTime(1760,61700 +class ExplicitHTTPFactoryReactor(1778,62389 + def test_explicitReactor(1783,62519 + def test_defaultReactor(1793,62836 + +venv/lib/python2.7/site-packages/twisted/web/test/test_http.py,11995 +class _IDeprecatedHTTPChannelToRequestInterfaceProxy(44,1450 +def _makeRequestProxyFactory(53,1731 + def _makeRequestProxy(67,2230 +class DummyPullProducerHandler(77,2523 + def process(84,2734 +class DateTimeTests(95,3001 + def testRoundtrip(98,3081 + def testStringToDatetime(106,3335 +class DummyHTTPHandler(126,4095 + def process(128,4134 +class DummyNewHTTPHandler(148,4822 + def __init__(154,5079 +class DelayedHTTPHandler(161,5238 + def process(165,5361 + def delayedProcess(169,5399 +class LoopbackHTTPClient(176,5543 + def connectionMade(178,5587 +def parametrizeTimeoutMixin(186,5783 +class ResponseTestMixin(208,6580 + def assertResponseEquals(214,6780 +class HTTP1_0Tests(245,8090 + def test_buffer(261,8492 + def test_requestBodyTimeout(277,9023 + def test_requestBodyDefaultTimeout(298,9766 + def test_transportForciblyClosed(315,10372 + def test_transportNotAbortedAfterConnectionLost(357,11910 + def test_transportNotAbortedWithZeroAbortTimeout(387,13027 + def test_connectionLostAfterForceClose(414,14032 + def test_noPipeliningApi(441,15121 + def test_noPipelining(458,15674 +class HTTP1_1Tests(486,16548 +class HTTP1_1_close_Tests(529,17634 +class HTTP0_9Tests(550,18086 + def assertResponseEquals(558,18223 + def test_noPipelining(562,18342 +class PipeliningBodyTests(567,18436 + def test_noPipelining(596,19206 + def test_pipeliningReadLimit(623,20079 +class ShutdownTests(645,20941 + class ShutdownHTTPHandler(650,21070 + def process(654,21206 + def test_losingConnection(666,21396 +class SecurityTests(686,21966 + def test_isSecure(691,22110 + def test_notSecure(703,22446 + def test_notSecureAfterFinish(715,22789 +class GenericHTTPChannelTests(732,23211 + def _negotiatedProtocolForTransportInstance(746,23584 + def test_protocolUnspecified(761,24122 + def test_protocolNone(771,24482 + def test_http11(782,24875 + def test_http2_present(793,25232 + def test_http2_absent(806,25695 + def test_unknownProtocol(822,26156 + def test_factory(836,26544 + def test_GenericHTTPChannelPropagatesCallLater(845,26801 + def test_genericHTTPChannelCallLaterUpgrade(858,27289 + def test_unregistersProducer(887,28346 +class HTTPLoopbackTests(913,29247 + def _handleStatus(924,29560 + def _handleResponse(929,29731 + def _handleHeader(933,29858 + def _handleEndHeaders(937,30013 + def testLoopback(941,30123 + def _cbTestLoopback(953,30600 +def _prequest(965,30987 +class PersistenceTests(976,31295 + def setUp(980,31397 + def test_http09(985,31497 + def test_http10(996,31855 + def test_http11(1007,32213 + def test_http11Close(1018,32566 +class IdentityTransferEncodingTests(1032,33045 + def setUp(1036,33151 + def test_exactAmountReceived(1048,33516 + def test_shortStrings(1061,34067 + def test_longString(1076,34739 + def test_rejectDataAfterFinished(1088,35273 + def finish(1094,35512 + def test_unknownContentLength(1109,36027 + def _verifyCallbacksUnreferenced(1125,36572 + def test_earlyConnectionLose(1134,36899 + def test_unknownContentLengthConnectionLose(1145,37323 + def test_finishedConnectionLose(1160,37888 +class ChunkedTransferEncodingTests(1172,38291 + def test_decoding(1178,38525 + def test_short(1190,38950 + def test_newlines(1204,39439 + def test_extensions(1215,39764 + def test_finish(1226,40073 + def test_extra(1238,40459 + def test_afterFinished(1249,40838 + def test_earlyConnectionLose(1259,41197 + def test_finishedConnectionLose(1273,41754 + def test_reentrantFinishedNoMoreData(1283,42114 + def finished(1290,42354 +class ChunkingTests(1304,42742 + def testChunks(1309,42904 + def testConcatenatedChunks(1315,43153 + def test_chunkedResponses(1328,43586 +class ParsingTests(1353,44294 + def setUp(1357,44399 + def runRequest(1361,44454 + def test_invalidNonAsciiMethod(1405,45899 + class MyRequest(1411,46122 + def process(1412,46161 + def test_basicAuth(1425,46597 + class Request(1432,46884 + def process(1433,46921 + def test_headers(1445,47393 + class MyRequest(1451,47570 + def process(1452,47609 + def test_tooManyHeaders(1472,48172 + class MyRequest(1478,48378 + def process(1479,48417 + def test_invalidContentLengthHeader(1494,48924 + class MyRequest(1501,49188 + def process(1502,49227 + def test_invalidHeaderNoColon(1515,49690 + class MyRequest(1521,49913 + def process(1522,49952 + def test_headerLimitPerRequest(1535,50409 + class MyRequest(1542,50708 + def process(1543,50747 + def test_headersTooBigInitialCommand(1576,51687 + class MyRequest(1583,51938 + def process(1584,51977 + def test_headersTooBigOtherHeaders(1605,52547 + class MyRequest(1612,52799 + def process(1613,52838 + def test_headersTooBigPerRequest(1636,53460 + class SimpleRequest(1641,53647 + def process(1642,53690 + def testCookies(1674,54574 + class MyRequest(1685,54819 + def process(1686,54858 + def testGET(1701,55302 + class MyRequest(1709,55493 + def process(1710,55532 + def test_extraQuestionMark(1725,56036 + class MyRequest(1737,56453 + def process(1738,56492 + def test_formPOSTRequest(1751,56934 + class MyRequest(1771,57648 + def process(1772,57687 + def test_missingContentDisposition(1790,58371 + def test_multipartProcessingFailure(1817,59078 + def test_multipartFormData(1842,59822 + class MyRequest(1849,60080 + def process(1850,60119 + def test_multipartFileData(1874,60798 + class MyRequest(1881,61074 + def process(1882,61113 + def test_chunkedEncoding(1910,62068 + class MyRequest(1932,62520 + def process(1933,62559 + def test_malformedChunkedEncoding(1956,63573 + class MyRequest(1976,64056 + def process(1978,64096 + def test_basicAuthException(1990,64553 + class Request(2000,64899 + def process(2001,64936 +class QueryArgumentsTests(2021,65635 + def testParseqs(2022,65681 + def test_urlparse(2036,66161 + def urls(2041,66356 + def assertSameParsing(2051,66777 + def test_urlparseRejectsUnicode(2111,69335 +class ClientDriver(2119,69545 + def handleStatus(2120,69582 +class ClientStatusParsingTests(2125,69728 + def testBaseline(2126,69779 + def testNoMessage(2133,70015 + def testNoMessage_trailingSpace(2140,70245 +class RequestTests(2149,70492 + def _compatHeadersTest(2153,70596 + def test_getHeader(2172,71425 + def test_getHeaderReceivedMultiples(2182,71741 + def test_getHeaderNotFound(2192,72121 + def test_getAllHeaders(2201,72415 + def test_getAllHeadersNoHeaders(2211,72782 + def test_getAllHeadersMultipleHeaders(2220,73055 + def test_setResponseCode(2230,73454 + def test_setResponseCodeAndMessage(2244,73906 + def test_setResponseCodeAndMessageNotBytes(2258,74414 + def test_setResponseCodeAcceptsIntegers(2269,74824 + def test_setResponseCodeAcceptsLongIntegers(2279,75180 + def test_setLastModifiedNeverSet(2288,75436 + def test_setLastModifiedUpdate(2301,75864 + def test_setLastModifiedIgnore(2315,76259 + def test_setLastModifiedCached(2328,76629 + def test_setLastModifiedNotCached(2344,77148 + def test_setLastModifiedTwiceNotCached(2360,77657 + def test_setLastModifiedTwiceCached(2378,78291 + def test_setHost(2397,78940 + def test_setHostSSL(2408,79322 + def test_setHostNonDefaultPort(2421,79763 + def test_setHostSSLNonDefaultPort(2432,80162 + def test_setHeader(2445,80619 + def _checkCookie(2454,80926 + def test_addCookieWithMinimumArgumentsUnicode(2476,81809 + def test_addCookieWithAllArgumentsUnicode(2487,82188 + def test_addCookieWithMinimumArgumentsBytes(2503,82852 + def test_addCookieWithAllArgumentsBytes(2514,83219 + def test_addCookieNonStringArgument(2530,83871 + def test_addCookieSameSite(2549,84599 + def test_firstWrite(2566,85169 + def test_nonByteHeaderValue(2589,85821 + def test_firstWriteHTTP11Chunked(2621,86828 + def test_firstWriteLastModified(2647,87645 + def test_lastModifiedAlreadyWritten(2674,88501 + def test_receivedCookiesDefault(2713,89723 + def test_parseCookies(2721,89964 + def test_parseCookiesMultipleHeaders(2734,90427 + def test_parseCookiesNoCookie(2747,90880 + def test_parseCookiesEmptyCookie(2757,91172 + def test_parseCookiesIgnoreValueless(2769,91540 + def test_parseCookiesEmptyValue(2782,91928 + def test_parseCookiesRetainRightSpace(2794,92298 + def test_parseCookiesStripLeftSpace(2807,92702 + def test_parseCookiesContinueAfterMalformedCookie(2820,93100 + def test_connectionLost(2833,93594 + def test_registerProducerTwiceFails(2855,94343 + def test_registerProducerWhenNotQueuedRegistersPushProducer(2866,94723 + def test_registerProducerWhenNotQueuedRegistersPullProducer(2878,95203 + def test_connectionLostNotification(2890,95685 + def test_finishNotification(2903,96172 + def test_writeAfterFinish(2916,96593 + def test_finishAfterConnectionLost(2932,97165 + def test_reprUninitialized(2943,97562 + def test_reprInitialized(2956,98047 + def test_reprSubclass(2974,98711 + class Otherwise(2979,98918 + def test_unregisterNonQueuedNonStreamingProducer(2989,99221 + def test_unregisterNonQueuedStreamingProducer(3001,99704 + def test_finishProducesLog(3013,100179 + def test_requestBodyTimeoutFromFactory(3044,101017 + def test_finishCleansConnection(3067,101890 + def test_provides_IDeprecatedHTTPChannelToRequestInterface(3102,103040 + def test_eq(3112,103417 + def test_ne(3120,103597 + def test_hashable(3128,103824 + def test_eqWithNonRequest(3136,103986 + class _NotARequest(3144,104272 + def __eq__(3146,104309 + def test_neWithNonRequest(3156,104553 + class _NotARequest(3164,104841 + def __ne__(3166,104878 + def test_finishProducerStillRegistered(3176,105125 + def test_getClientIPWithIPv4(3195,105778 + def test_getClientIPWithIPv6(3205,106132 + def test_getClientIPWithNonTCPPeer(3215,106474 + def test_getClientAddress(3225,106832 +class MultilineHeadersTests(3236,107174 + def setUp(3243,107496 + def ourHandleHeader(3257,108003 + def ourHandleEndHeaders(3265,108226 + def test_extractHeader(3272,108394 + def test_noHeaders(3296,109199 + def test_multilineHeaders(3316,109857 +class Expect100ContinueServerTests(3348,111044 + def test_HTTP10(3358,111491 + def test_expect100ContinueHeader(3384,112464 +def sub(3422,114051 +class DeprecatedRequestAttributesTests(3440,114526 + def test_getClientIP(3445,114670 + def test_noLongerQueued(3468,115518 +class ChannelProductionTests(3490,116228 + def buildChannelAndTransport(3501,116450 + def test_HTTPChannelIsAProducer(3517,117033 + def test_HTTPChannelUnregistersSelfWhenCallingLoseConnection(3530,117428 + def test_HTTPChannelRejectsMultipleProducers(3543,117852 + def test_HTTPChannelCanUnregisterWithNoProducer(3558,118355 + def test_HTTPChannelStopWithNoRequestOutstanding(3571,118755 + def test_HTTPChannelStopRequestProducer(3584,119152 + def test_HTTPChannelPropagatesProducingFromTransportToTransport(3609,120042 + def test_HTTPChannelPropagatesPausedProductionToRequest(3631,120927 + def test_HTTPChannelStaysPausedWhenRequestCompletes(3676,122854 + def test_HTTPChannelToleratesDataWhenTransportPaused(3719,124606 + class NoDoublePauseTransport(3724,124844 + def pauseProducing(3729,125042 + def test_HTTPChannelToleratesPullProducers(3763,126384 + def validate(3780,127051 + def test_HTTPChannelUnregistersSelfWhenTimingOut(3799,127621 + +venv/lib/python2.7/site-packages/twisted/web/test/test_resource.py,924 +class ErrorPageTests(18,450 + def test_getChild(27,665 + def _pageRenderingTest(36,935 + def test_errorPageRendering(56,1629 + def test_noResourceRendering(70,2167 + def test_forbiddenResourceRendering(79,2436 +class DynamicChild(89,2731 + def __init__(93,2843 +class DynamicChildren(100,2973 + def getChild(104,3063 +class BytesReturnedRenderable(109,3148 + def __init__(113,3271 + def render_GET(122,3499 +class ImplicitAllowedMethods(131,3707 + def render_GET(136,3868 + def render_PUT(140,3918 +class ResourceTests(145,3969 + def test_staticChildren(149,4043 + def test_dynamicChildren(164,4559 + def test_defaultHEAD(178,5069 + def test_explicitAllowedMethods(190,5475 + def test_implicitAllowedMethods(205,6110 +class GetChildForRequestTests(223,6840 + def test_exhaustedPostPath(227,6934 + def test_leafResource(238,7294 + def test_postPathToPrePath(250,7687 + +venv/lib/python2.7/site-packages/twisted/web/test/test_agent.py,10284 +class StubHTTPProtocol(71,2857 + def __init__(80,3240 + def request(85,3326 +class FileConsumer(97,3604 + def __init__(98,3632 + def write(102,3707 +class FileBodyProducerTests(107,3775 + def _termination(112,3938 + def setUp(123,4375 + def test_interface(133,4680 + def test_unknownLength(141,4902 + class HasSeek(147,5147 + def seek(148,5178 + class HasTell(151,5244 + def tell(152,5275 + def test_knownLength(161,5537 + def test_defaultCooperator(175,6077 + def test_startProducing(184,6363 + def test_inputClosedAtEOF(204,7171 + def test_failedReadWhileProducing(220,7752 + class BrokenFile(227,8040 + def read(228,8074 + def test_stopProducing(236,8385 + def test_pauseProducing(258,9225 + def test_resumeProducing(286,10370 +class FakeReactorAndConnectMixin:FakeReactorAndConnectMixin313,11357 + def createReactor(318,11547 + class StubEndpoint(346,12616 + def __init__(352,12828 + def nothing(355,12950 + def connect(362,13268 + def buildAgentForWrapperTest(368,13454 + def connect(380,13868 +class DummyEndpoint(393,14218 + def connect(398,14308 +class BadEndpoint(405,14474 + def connect(410,14560 +class DummyFactory(414,14665 + def __init__(418,14752 +class HTTPConnectionPoolTests(425,14854 + def setUp(429,14986 + def test_getReturnsNewIfCacheEmpty(437,15274 + def gotConnection(444,15512 + def test_putStartsTimeout(454,15870 + def test_putExceedsMaxPersistent(486,17195 + def test_maxPersistentPerHost(519,18656 + def addProtocol(524,18849 + def test_getCachedConnection(543,19635 + def gotConnection(553,20060 + def test_newConnection(568,20695 + def gotConnection(578,21035 + def test_getSkipsDisconnected(590,21525 + def test_putNotQuiescent(620,22614 + def test_getUsesQuiescentCallback(650,23585 + class StringEndpoint(658,23974 + def connect(659,24012 + def test_closeCachedConnections(689,25052 + def addProtocol(696,25351 + def test_cancelGetConnectionCancelsEndpointConnect(724,26521 + class Endpoint:Endpoint733,26886 + def connect(734,26910 +class AgentTestsMixin(744,27179 + def test_interface(748,27270 +class IntegrationTestingMixin(756,27436 + def test_integrationTestIPv4(761,27558 + def test_integrationTestIPv4Address(768,27732 + def test_integrationTestIPv6(775,27941 + def test_integrationTestIPv6Address(783,28152 + def integrationTest(790,28351 + def accumulator(834,30362 +class StubEndpointFactory(866,31667 + def endpointForURI(870,31774 +class AgentTests(884,32091 + def makeAgent(889,32282 + def setUp(896,32435 + def test_defaultPool(904,32622 + def test_persistent(914,32986 + def test_nonPersistent(927,33489 + def test_connectUsesConnectionPool(945,34255 + class MyAgent(952,34570 + def _getEndpoint(953,34607 + class DummyPool(958,34804 + def getConnection(961,34898 + def test_unsupportedScheme(981,35669 + def test_connectionFailed(992,36027 + def test_connectHTTP(1006,36610 + def test_nonDecodableURI(1020,37140 + def test_hostProvided(1037,37774 + def test_hostIPv6Bracketed(1051,38271 + def test_hostOverride(1063,38699 + def test_headersUnmodified(1078,39296 + def test_hostValueStandardHTTP(1096,39932 + def test_hostValueNonStandardHTTP(1107,40288 + def test_hostValueStandardHTTPS(1118,40701 + def test_hostValueNonStandardHTTPS(1129,41062 + def test_request(1140,41479 + def test_connectTimeout(1172,42735 + def test_connectTimeoutHTTPS(1183,43108 + def test_bindAddress(1196,43537 + def test_bindAddressSSL(1207,43924 + def test_responseIncludesRequest(1220,44361 + def test_requestAbsoluteURI(1250,45315 + def test_requestMissingAbsoluteURI(1265,45833 + def test_endpointFactory(1273,46111 + def test_endpointFactoryDefaultPool(1286,46599 + def test_endpointFactoryPool(1298,47081 +class AgentHTTPSTests(1310,47424 + def makeEndpoint(1317,47633 + def test_endpointType(1335,48246 + def test_hostArgumentIsRespected(1346,48646 + def test_portArgumentIsRespected(1354,48905 + def test_contextFactoryType(1363,49186 + def test_connectHTTPSCustomConnectionCreator(1373,49576 + class JustEnoughConnection(1384,50151 + def do_handshake(1387,50265 + def set_connect_state(1392,50444 + class JustEnoughCreator(1401,50706 + def __init__(1402,50747 + def clientConnectionForTLS(1406,50870 + class StubBrowserLikePolicyForHTTPS(1420,51402 + def creatorForNetloc(1421,51455 + def test_deprecatedDuckPolicy(1452,52745 + def warnMe(1460,53137 + def test_alternateTrustRoot(1476,53802 + class CustomOpenSSLTrustRoot(1483,54085 + def _addCACertsToContext(1486,54185 + def test_integrationTestIPv4Address(1497,54649 + def test_integrationTestIPv6Address(1507,54981 + def integrationTest(1517,55317 + def tlsify(1524,55670 + def tlsagent(1526,55784 + class Policy(1530,55965 + def creatorForNetloc(1531,55999 +class WebClientContextFactoryTests(1543,56513 + def setUp(1549,56685 + def test_deprecated(1558,57013 + def test_missingSSL(1578,57672 + def test_returnsContext(1590,57986 + def test_setsTrustRootOnContextToDefaultTrustRoot(1598,58250 +class HTTPConnectionPoolRetryTests(1615,58813 + def test_onlyRetryIdempotentMethods(1622,59067 + def test_onlyRetryIfNoResponseReceived(1647,60197 + def test_dontRetryIfFailedDueToCancel(1666,61017 + def test_retryIfFailedDueToNonCancelException(1678,61523 + def test_wrappedOnPersistentReturned(1690,62028 + def gotConnection(1707,62652 + def test_notWrappedOnNewReturned(1714,62926 + def gotConnection(1722,63210 + def retryAttempt(1729,63492 + def newProtocol(1734,63651 + def _shouldRetry(1746,64097 + def test_retryIfShouldRetryReturnsTrue(1764,64675 + def test_dontRetryIfShouldRetryReturnsFalse(1777,65147 + def test_onlyRetryWithoutBody(1788,65548 + def test_onlyRetryOnce(1803,66169 + def test_dontRetryIfRetryAutomaticallyFalse(1817,66722 + def gotConnection(1833,67298 + def test_retryWithNewConnection(1838,67438 + def newConnection(1851,67917 + def gotConnection(1864,68355 +class CookieTestsMixin(1879,69016 + def addCookies(1883,69111 +class CookieJarTests(1900,69598 + def makeCookieJar(1906,69829 + def test_extractCookies(1919,70230 + def test_sendCookie(1944,71163 +class CookieAgentTests(1962,71630 + def makeAgent(1967,71815 + def setUp(1976,72050 + def test_emptyCookieJarRequest(1980,72117 + def _checkCookie(1995,72741 + def test_requestWithCookie(2017,73345 + def test_secureCookie(2038,74080 + def test_secureCookieOnInsecureConnection(2060,74811 + def test_portCookie(2080,75499 + def test_portCookieOnWrongPort(2100,76182 +class Decoder1(2114,76621 +class Decoder2(2121,76756 +class ContentDecoderAgentTests(2128,76871 + def makeAgent(2133,77050 + def setUp(2140,77224 + def test_acceptHeaders(2148,77438 + def test_existingHeaders(2166,78055 + def test_plainEncodingResponse(2189,78955 + def test_unsupportedEncoding(2207,79632 + def test_unknownEncoding(2226,80352 + def check(2243,81102 +class SimpleAgentProtocol(2253,81411 + def __init__(2264,81726 + def connectionMade(2270,81845 + def connectionLost(2274,81910 + def dataReceived(2278,81987 +class ContentDecoderAgentWithGzipTests(2283,82059 + def setUp(2286,82177 + def test_gzipEncodingResponse(2296,82487 + def checkResponse(2317,83333 + def test_brokenContent(2342,84284 + def checkResponse(2360,84959 + def checkFailure(2368,85189 + def test_flushData(2375,85381 + class decompressobj(2381,85624 + def __init__(2383,85662 + def decompress(2386,85723 + def flush(2389,85792 + def checkResponse(2406,86358 + def test_flushError(2421,86779 + class decompressobj(2426,86974 + def __init__(2428,87012 + def decompress(2431,87073 + def flush(2434,87142 + def checkResponse(2451,87715 + def checkFailure(2465,88171 +class ProxyAgentTests(2473,88364 + def makeAgent(2477,88494 + def setUp(2486,88726 + def test_proxyRequest(2494,89027 + def test_nonPersistent(2528,90303 + def test_connectUsesConnectionPool(2535,90489 + class DummyPool(2542,90803 + def getConnection(2545,90897 +class _RedirectAgentTestsMixin(2563,91582 + def test_noRedirect(2568,91727 + def _testRedirectDefault(2587,92377 + def test_redirect301(2626,93735 + def test_redirect302(2633,93902 + def test_redirect307(2640,94069 + def _testRedirectToGet(2647,94236 + def test_redirect303(2670,94966 + def test_noLocationField(2678,95189 + def _testPageRedirectFailure(2699,96023 + def test_307OnPost(2724,96940 + def test_redirectLimit(2733,97227 + def _testRedirectURI(2764,98382 + def test_relativeURI(2789,99183 + def test_relativeURIPreserveFragments(2805,99732 + def test_relativeURISchemeRelative(2821,100347 + def test_responseHistory(2834,100825 +class RedirectAgentTests(2862,101860 + def makeAgent(2867,102047 + def setUp(2875,102251 + def test_301OnPost(2880,102356 + def test_302OnPost(2889,102643 +class BrowserLikeRedirectAgentTests(2899,102931 + def makeAgent(2906,103223 + def setUp(2914,103449 + def test_redirectToGet301(2919,103554 + def test_redirectToGet302(2927,103793 +class AbortableStringTransport(2936,104033 + def abortConnection(2944,104251 +class DummyResponse(2956,104550 + def __init__(2971,105018 + def deliverBody(2985,105495 +class AlreadyCompletedDummyResponse(2995,105752 + def deliverBody(2999,105884 +class ReadBodyTests(3009,106129 + def test_success(3013,106209 + def test_cancel(3026,106702 + def test_withPotentialDataLoss(3038,107101 + def test_otherErrors(3063,108058 + def test_deprecatedTransport(3079,108698 + def test_deprecatedTransportNoWarning(3097,109395 + +venv/lib/python2.7/site-packages/twisted/web/test/test_client.py,198 +class DummyEndPoint(15,334 + def __init__(19,418 + def __repr__(22,492 + def connect(25,576 +class HTTPConnectionPoolTests(28,661 + def test_implements(33,781 + def test_repr(38,998 + +venv/lib/python2.7/site-packages/twisted/web/test/test_domhelpers.py,779 +class DOMHelpersTestsMixin:DOMHelpersTestsMixin16,374 + def test_getElementsByTagName(24,594 + def test_gatherTextNodes(81,2838 + def test_clearNode(107,3907 + def test_get(124,4521 + def test_getIfExists(145,5243 + def test_getAndClear(158,5702 + def test_locateNodes(168,6057 + def test_getParents(188,6863 + def test_findElementsWithAttribute(197,7229 + def test_findNodesNamed(208,7711 + def test_escape(215,7950 + def test_unescape(221,8204 + def test_getNodeText(227,8486 +class MicroDOMHelpersTests(237,8806 + def test_gatherTextNodesDropsWhitespace(240,8886 + def test_textEntitiesNotDecoded(261,9491 +class MiniDOMHelpersTests(275,9939 + def test_textEntitiesDecoded(278,10017 + def test_getNodeUnicodeText(291,10452 + +venv/lib/python2.7/site-packages/twisted/web/test/test_xml.py,2985 +class Sux0r(17,358 + def __init__(18,386 + def getTagStarts(22,437 + def gotTagStart(26,538 + def gotText(30,631 +class SUXTests(35,706 + def test_bork(37,733 +class MicroDOMTests(46,922 + def test_leadingTextDropping(48,954 + def test_trailingTextDropping(63,1590 + def test_noTags(78,2178 + def test_surroundingCrap(89,2522 + def test_caseSensitiveSoonCloser(100,2881 + def test_lenientParenting(119,3546 + def test_lenientParentSingle(131,3982 + def test_unEntities(142,4394 + def test_emptyError(153,4718 + def test_tameDocument(157,4819 + def test_awfulTagSoup(174,5158 + def test_scriptLeniency(201,5886 + def test_scriptLeniencyIntelligence(217,6495 + def test_preserveCase(233,7157 + def test_differentQuotes(258,8821 + def test_Linebreaks(266,9064 + def test_mismatchedTags(274,9307 + def test_comment(279,9480 + def test_text(292,9909 + def test_entities(302,10261 + def test_CData(312,10676 + def test_singletons(320,11025 + def test_attributes(332,11513 + def test_children(347,12016 + def test_mutate(357,12453 + def test_replaceNonChild(388,13537 + def test_search(401,13993 + def test_doctype(428,15240 + def test_output(448,16076 + def test_errors(457,16406 + def test_caseInsensitive(462,16568 + def test_eatingWhitespace(485,17701 + def test_lenientAmpersand(494,18022 + def test_insensitiveLenient(509,18727 + def test_laterCloserSimple(517,19018 + def test_laterCloserCaseInsensitive(525,19314 + def test_laterCloserDL(533,19610 + def test_unicodeTolerance(547,20128 + def reverseBytes(559,20943 + def test_namedChildren(585,22027 + def test_cloneNode(599,22578 + def test_cloneDocument(613,23172 + def test_LMX(628,23751 + def test_dict(641,24088 + def test_escaping(649,24237 + def test_namespaces(658,24531 + def test_namespaceDelete(689,25595 + def test_namespaceInheritance(699,25945 + def test_prefixedTags(712,26516 + def test_prefixPropagation(755,28069 +class BrokenHTMLTests(816,30306 + def checkParsed(824,30670 + def test_brokenAttributeName(834,31079 + def test_brokenAttributeValue(845,31510 + def test_brokenOpeningTag(854,31835 + def test_brokenSelfClosingTag(864,32225 + def test_brokenClosingTag(874,32601 +class NodeTests(892,33394 + def test_isNodeEqualTo(896,33460 + def test_validChildInstance(924,34768 +class DocumentTests(947,35799 + def test_isEqualToNode(953,35944 + def test_childRestriction(985,37467 +class EntityReferenceTests(998,37839 + def test_isEqualToNode(1002,37927 +class CharacterDataTests(1016,38392 + def test_isEqualToNode(1020,38476 +class CommentTests(1034,38923 + def test_isEqualToNode(1038,38995 +class TextTests(1052,39406 + def test_isEqualToNode(1056,39472 +class CDATASectionTests(1073,40050 + def test_isEqualToNode(1077,40132 +class ElementTests(1091,40584 + def test_isEqualToNode(1095,40656 + +venv/lib/python2.7/site-packages/twisted/web/test/requesthelper.py,1646 +class NullAddress(33,842 +class DummyChannel:DummyChannel40,930 + class TCP:TCP41,950 + def __init__(45,1013 + def getPeer(52,1245 + def write(55,1303 + def writeSequence(60,1505 + def getHost(64,1610 + def registerProducer(67,1699 + def unregisterProducer(70,1814 + def loseConnection(73,1870 + class SSL(78,1975 + def __init__(83,2038 + def requestDone(87,2115 + def writeHeaders(91,2166 + def getPeer(101,2544 + def getHost(105,2609 + def registerProducer(109,2674 + def unregisterProducer(113,2790 + def write(117,2870 + def writeSequence(121,2934 + def loseConnection(125,3016 + def endRequest(129,3088 + def isSecure(133,3129 +class DummyRequest(138,3208 + def registerProducer(166,4107 + def unregisterProducer(182,4531 + def __init__(186,4587 + def getAllHeaders(203,5121 + def getHeader(220,5670 + def setHeader(234,6120 + def getSession(240,6304 + def render(248,6550 + def write(268,7413 + def notifyFinish(274,7574 + def finish(285,7907 + def processingFailed(298,8321 + def addArg(309,8662 + def setResponseCode(313,8733 + def setLastModified(323,9120 + def setETag(327,9283 + def getClientIP(331,9428 + def getClientAddress(341,9716 + def getRequestHostname(353,10006 + def getHost(363,10220 + def setHost(373,10433 + def redirect(396,11189 +class DummyRequestTests(414,11570 + def test_getClientIPDeprecated(419,11673 + def test_getClientIPSupportsIPv6(442,12406 + def test_getClientAddressWithoutClient(454,12769 + def test_getClientAddress(464,13074 + +venv/lib/python2.7/site-packages/twisted/web/test/test_template.py,3689 +class TagFactoryTests(39,1269 + def test_lookupTag(43,1392 + def test_lookupHTML5Tag(51,1564 + def test_lookupTransparentTag(60,1794 + def test_lookupInvalidTag(70,2132 + def test_lookupXMP(78,2372 +class ElementTests(87,2629 + def test_missingTemplateLoader(91,2723 + def test_missingTemplateLoaderRepr(101,3052 + class PrettyReprElement(105,3197 + def __repr__(106,3239 + def test_missingRendererMethod(112,3435 + def test_missingRenderMethodRepr(124,3880 + class PrettyReprElement(128,4021 + def __repr__(129,4063 + def test_definedRenderer(137,4347 + class ElementWithRenderMethod(142,4535 + def foo(144,4605 + def test_render(150,4792 + class TemplateLoader(155,4939 + def load(156,4977 + class StubElement(159,5038 + def test_misuseRenderer(166,5204 + def test_renderGetDirectlyError(176,5545 +class XMLFileReprTests(186,5856 + def test_filePath(190,5967 + def test_filename(198,6204 + def test_file(207,6479 +class XMLLoaderTestsMixin(217,6751 + def test_load(227,7069 + def test_loadTwice(249,7868 +class XMLStringLoaderTests(262,8202 + def loaderFactory(267,8351 +class XMLFileWithFilePathTests(275,8527 + def loaderFactory(280,8701 +class XMLFileWithFileTests(291,9012 + def loaderFactory(296,9192 +class XMLFileWithFilenameTests(305,9416 + def loaderFactory(310,9597 +class FlattenIntegrationTests(321,9910 + def test_roundTrip(327,10061 + def test_entityConversion(348,10828 + def test_missingTemplateLoader(357,11134 + def test_missingRenderMethod(365,11377 + def test_transparentRendering(378,11890 + def test_attrRendering(392,12353 + def test_errorToplevelAttr(407,12884 + def test_errorUnnamedAttr(422,13312 + def test_lenientPrefixBehavior(435,13728 + def test_deferredRendering(448,14233 + class RenderfulElement(453,14391 + def renderMethod(455,14454 + def test_loaderClassAttribute(466,14838 + class SubElement(471,15057 + def test_directiveRendering(476,15225 + class RenderfulElement(482,15429 + def renderMethod(484,15492 + def test_directiveRenderingOmittingTag(494,15888 + class RenderfulElement(499,16088 + def renderMethod(501,16151 + def test_elementContainingStaticElement(512,16526 + class RenderfulElement(517,16708 + def renderMethod(519,16771 + def test_elementUsingSlots(529,17185 + class RenderfulElement(534,17354 + def renderMethod(536,17417 + def test_elementContainingDynamicElement(548,17890 + class OuterElement(554,18148 + def outerMethod(556,18207 + class InnerElement(562,18492 + def innerMethod(564,18551 + def test_sameLoaderTwice(573,18888 + class DestructiveElement(584,19318 + def classCounter(590,19470 + def instanceCounter(594,19646 +class TagLoaderTests(606,20037 + def setUp(610,20120 + def test_interface(614,20191 + def test_loadsList(621,20380 + def test_flatten(628,20558 +class TestElement(638,20837 +class TestFailureElement(649,21078 + def __init__(659,21398 +class FailingElement(664,21478 + def render(668,21580 +class FakeSite(675,21665 +class RenderElementTests(683,21809 + def setUp(688,21888 + def test_simpleRender(696,22073 + def check(706,22357 + def test_simpleFailure(720,22718 + def check(729,22971 + def test_simpleFailureWithTraceback(748,23599 + def check(763,24063 + def test_nonDefaultDoctype(781,24660 + def check(790,24902 + def test_noneDoctype(809,25492 + def check(818,25728 + +venv/lib/python2.7/site-packages/twisted/web/test/test_util.py,999 +class RedirectToTests(29,925 + def test_headersAndCode(34,1004 + def test_redirectToUnicodeURL(52,1705 +class FailureElementTests(63,2055 + def setUp(68,2213 + def lineNumberProbeAlsoBroken(72,2328 + def test_sourceLineElement(85,2774 + def test_sourceFragmentElement(103,3401 + def test_frameElementFilename(148,5114 + def test_frameElementLineNumber(166,5747 + def test_frameElementFunction(181,6260 + def test_frameElementSource(196,6758 + def test_stackElement(211,7364 + def test_failureElementTraceback(230,8217 + def test_failureElementType(244,8754 + def test_failureElementValue(261,9266 +class FormatFailureTests(275,9673 + def test_flattenerError(280,9857 + def test_returnsBytes(288,10101 +class SDResource(309,10779 + def __init__(310,10816 + def getChildWithDefault(314,10881 +class DeferredResourceTests(321,11077 + def testDeferredResource(326,11179 + def test_render(335,11439 + def test_renderNoFailure(351,11945 + +venv/lib/python2.7/site-packages/twisted/web/test/test_vhost.py,593 +class HostResourceTests(23,655 + def test_getChild(27,738 +class NameVirtualHostTests(59,1829 + def test_renderWithoutHost(63,1917 + def test_renderWithoutHostNoDefault(76,2402 + def cbRendered(85,2794 + def test_renderWithHost(91,2942 + def cbRendered(103,3517 + def cbRendered(111,3936 + def test_renderWithUnknownHost(118,4168 + def cbRendered(129,4710 + def test_renderWithUnknownHostNoDefault(135,4869 + def cbRendered(145,5365 + def test_getChild(151,5513 +class VHostMonsterResourceTests(184,6763 + def test_getChild(188,6861 + +venv/lib/python2.7/site-packages/twisted/web/test/test_stan.py,379 +def proto(15,364 +class TagTests(22,472 + def test_fillSlots(26,536 + def test_cloneShallow(34,715 + def test_cloneDeep(61,1883 + def test_clear(95,3380 + def test_suffix(106,3744 + def test_commentReprPy2(117,4055 + def test_cdataReprPy2(126,4327 + def test_commentReprPy3(135,4587 + def test_cdataReprPy3(144,4858 + def test_charrefRepr(160,5397 + +venv/lib/python2.7/site-packages/twisted/web/test/test_wsgi.py,9594 +class SynchronousThreadPool:SynchronousThreadPool36,1069 + def callInThread(45,1413 +class SynchronousReactorThreads:SynchronousReactorThreads62,1935 + def callFromThread(71,2412 +class WSGIResourceTests(80,2594 + def setUp(81,2629 + def test_interfaces(92,3051 + def test_unsupported(100,3279 + def test_applicationAndRequestThrow(115,3754 + class ArbitraryError(126,4120 + class FinishThrowingRequest(131,4240 + def __init__(135,4381 + def getClientIP(142,4609 + def getHost(151,4809 + def application(160,5023 + class ThrowingReactorThreads:ThrowingReactorThreads171,5279 + def callFromThread(176,5452 +class WSGITestsMixin:WSGITestsMixin202,6153 + def setUp(209,6369 + def lowLevelRender(214,6493 + def _toByteString(245,7902 + def render(282,9350 + def applicationFactory(284,9410 + def application(285,9444 + def requestFactoryFactory(297,9862 + def requestFactory(299,9944 + def getContentFromResponse(310,10391 + def prepareRequest(314,10490 + def outerApplication(333,11456 + class CannedRequest(357,12234 + def requestReceived(362,12428 +class EnvironTests(374,12812 + def environKeyEqual(379,12999 + def assertEnvironKeyEqual(380,13042 + def test_environIsDict(387,13243 + def cbRendered(393,13473 + def test_requestMethod(403,13796 + def test_requestMethodIsNativeString(420,14431 + def test_scriptName(432,14909 + def test_scriptNameIsNativeString(464,16266 + def test_pathInfo(486,17227 + def test_pathInfoIsNativeString(522,18642 + def test_queryString(545,19644 + def test_queryStringIsNativeString(575,20950 + def test_contentType(598,21962 + def test_contentTypeIsNativeString(614,22566 + def test_contentLength(627,23133 + def test_contentLengthIsNativeString(643,23739 + def test_serverName(656,24303 + def test_serverNameIsNativeString(676,25187 + def test_serverPort(692,25980 + def makeChannel(699,26257 + def test_serverPortIsNativeString(711,26633 + def test_serverProtocol(722,27041 + def test_serverProtocolIsNativeString(737,27589 + def test_remoteAddr(753,28342 + def test_remoteAddrIPv6(764,28687 + def channelFactory(770,28928 + def test_headers(778,29193 + def cbRendered(785,29504 + def test_wsgiVersion(806,30361 + def test_wsgiRunOnce(817,30766 + def test_wsgiMultithread(827,31081 + def test_wsgiMultiprocess(837,31410 + def test_wsgiURLScheme(847,31747 + def channelFactory(854,32024 + def test_wsgiErrors(870,32607 + def cbErrors(884,33175 + def test_wsgiErrorsExpectsOnlyNativeStringsInPython2(901,33890 + def test_wsgiErrorsAcceptsOnlyNativeStringsInPython3(925,34846 +class InputStreamTestMixin(946,35570 + def getFileType(952,35837 + def _renderAndReturnReaderResult(957,35976 + class CustomizedRequest(959,36078 + def gotLength(960,36120 + def appFactoryFactory(966,36384 + def applicationFactory(968,36455 + def application(969,36493 + def test_readAll(984,37037 + def test_readSome(995,37371 + def test_readMoreThan(1007,37798 + def test_readTwice(1020,38243 + def read(1026,38485 + def test_readNone(1034,38697 + def test_readNegative(1046,39063 + def test_readline(1058,39441 + def test_readlineSome(1070,39801 + def test_readlineMoreThan(1088,40585 + def test_readlineTwice(1100,41013 + def readline(1106,41252 + def test_readlineNone(1114,41486 + def test_readlineNegative(1126,41902 + def test_readlines(1138,42329 + def test_readlinesSome(1150,42731 + def cbLines(1159,43148 + def test_readlinesMoreThan(1167,43398 + def test_readlinesAfterRead(1182,43941 + def readlines(1189,44221 + def test_readlinesNone(1197,44458 + def test_readlinesNegative(1209,44862 + def test_iterable(1221,45291 + def test_iterableAfterRead(1231,45634 + def iterate(1238,45943 +class InputStreamStringIOTests(1247,46180 + def getFileType(1254,46385 +class InputStreamCStringIOTests(1264,46606 + def getFileType(1271,46813 +class InputStreamBytesIOTests(1281,47036 + def getFileType(1285,47189 +class InputStreamTemporaryFileTests(1291,47273 + def getFileType(1295,47443 +class StartResponseTests(1300,47511 + def test_status(1305,47682 + def applicationFactory(1312,47901 + def application(1313,47935 + def cbRendered(1319,48166 + def test_statusMustBeNativeString(1332,48542 + def application(1339,48789 + def checkMessage(1346,48999 + def _headersTest(1357,49377 + def applicationFactory(1369,49874 + def application(1370,49908 + def cbRendered(1376,50134 + def test_headers(1396,50838 + def test_headersMustBeSequence(1407,51241 + def application(1414,51434 + def checkMessage(1421,51657 + def test_headersShouldBePlainList(1429,51929 + def application(1441,52419 + def test_headersMustEachBeSequence(1457,53000 + def application(1464,53194 + def checkMessage(1471,53418 + def test_headersShouldEachBeTuple(1479,53706 + def application(1491,54190 + def test_headersShouldEachHaveKeyAndValue(1507,54779 + def application(1512,54982 + def checkMessage(1519,55218 + def test_headerKeyMustBeNativeString(1527,55477 + def application(1534,55715 + def checkMessage(1541,55941 + def test_headerValueMustBeNativeString(1549,56193 + def application(1556,56441 + def checkMessage(1563,56667 + def test_applicationProvidedContentType(1571,56919 + def test_applicationProvidedServerAndDate(1582,57301 + def test_delayedUntilReturn(1593,57667 + def record(1603,58061 + def applicationFactory(1606,58160 + def application(1607,58194 + def cbRendered(1614,58462 + def test_delayedUntilContent(1625,58746 + def record(1635,59140 + def applicationFactory(1638,59239 + def application(1639,59273 + def cbRendered(1648,59578 + def test_content(1660,59909 + def record(1668,60156 + def applicationFactory(1671,60255 + def application(1672,60289 + def cbRendered(1681,60606 + def test_multipleStartResponse(1697,61081 + def applicationFactory(1705,61354 + def application(1706,61388 + def cbRendered(1713,61652 + def test_startResponseWithException(1726,62020 + def applicationFactory(1734,62349 + def application(1735,62383 + def cbRendered(1741,62639 + def test_startResponseWithExceptionTooLate(1754,63007 + class SomeException(1763,63359 + def applicationFactory(1773,63537 + def application(1774,63571 + def cbRendered(1784,63937 + def test_write(1810,64873 + def record(1818,65126 + def applicationFactory(1821,65225 + def application(1822,65259 + def cbRendered(1832,65619 + def test_writeAcceptsOnlyByteStrings(1848,66094 + def application(1853,66263 + def checkMessage(1861,66511 +class ApplicationTests(1875,66943 + def enableThreads(1880,67104 + def test_close(1887,67283 + class Result:Result1894,67514 + def __init__(1895,67536 + def __iter__(1898,67602 + def close(1903,67748 + def applicationFactory(1907,67838 + def application(1908,67872 + def cbRendered(1914,68111 + def test_applicationCalledInThread(1929,68529 + def applicationFactory(1937,68758 + def application(1938,68792 + def result(1939,68845 + def cbRendered(1949,69246 + def test_writeCalledFromThread(1961,69565 + class ThreadVerifier(1969,69809 + def write(1970,69848 + def applicationFactory(1974,69981 + def application(1975,70015 + def cbRendered(1982,70285 + def test_iteratedValuesWrittenFromThread(1993,70565 + class ThreadVerifier(2001,70826 + def write(2002,70865 + def applicationFactory(2006,70998 + def application(2007,71032 + def cbRendered(2013,71261 + def test_statusWrittenFromThread(2024,71541 + class ThreadVerifier(2031,71740 + def setResponseCode(2032,71779 + def applicationFactory(2036,71948 + def application(2037,71982 + def cbRendered(2043,72214 + def test_connectionClosedDuringIteration(2054,72494 + class UnreliableConnection(2059,72690 + def write(2064,72896 + def appIter(2068,73045 + def applicationFactory(2073,73185 + def application(2074,73219 + def cbRendered(2080,73458 + def _internalServerErrorTest(2091,73789 + def applicationFactory(2094,73876 + def cbRendered(2098,73999 + def test_applicationExceptionBeforeStartResponse(2114,74485 + def application(2119,74721 + def test_applicationExceptionAfterStartResponse(2124,74897 + def application(2130,75183 + def _connectionClosedTest(2136,75399 + def applicationFactory(2144,75622 + def requestFactoryWrapper(2151,75832 + def ebRendered(2155,75964 + def test_applicationExceptionAfterWrite(2180,76915 + def application(2189,77269 + def test_applicationCloseException(2196,77533 + class Application(2204,77830 + def __init__(2205,77865 + def __iter__(2208,77966 + def close(2211,78037 + +venv/lib/python2.7/site-packages/twisted/web/test/test_distrib.py,1782 +class MySite(30,793 +class PBServerFactory(34,831 + def buildProtocol(44,1100 +class ArbitraryError(50,1230 +class DistribTests(57,1314 + def tearDown(63,1417 + def testDistrib(86,2324 + def _setupDistribServer(109,3224 + def _requestTest(138,4286 + def _requestAgentTest(158,5071 + def cbCollectBody(177,5941 + def test_requestHeaders(187,6275 + class ReportRequestHeaders(198,6621 + def render(199,6676 + def check_logs(205,6884 + def cbRequested(217,7367 + def test_requestResponseCode(225,7587 + class SetResponseCode(230,7771 + def render(231,7821 + def cbRequested(236,7992 + def test_requestResponseCodeMessage(244,8245 + class SetResponseCode(249,8448 + def render(250,8498 + def cbRequested(255,8686 + def test_largeWrite(263,8949 + class LargeWrite(269,9217 + def render(270,9262 + def test_largeReturn(280,9581 + class LargeReturn(285,9788 + def render(286,9834 + def test_connectionLost(294,10070 + def cbRendered(308,10707 + def test_logFailed(337,11831 + def test_requestFail(357,12395 +class _PasswordDatabase:_PasswordDatabase376,12962 + def __init__(377,12987 + def getpwall(381,13048 + def getpwnam(385,13107 +class UserDirectoryTests(393,13266 + def setUp(398,13428 + def test_interface(405,13741 + def _404Test(412,13937 + def cbRendered(420,14228 + def test_getInvalidUser(426,14370 + def test_getUserWithoutResource(435,14633 + def test_getPublicHTMLChild(444,14953 + def test_getDistribChild(459,15524 + def test_invalidMethod(475,16190 + def test_render(486,16521 + def cbRendered(502,17205 + def test_passwordDatabase(518,17930 + +venv/lib/python2.7/site-packages/twisted/web/test/test_tap.py,760 +class ServiceTests(35,1067 + def _pathOption(39,1176 + def test_path(57,1807 + def test_pathServer(67,2116 + def test_cgiProcessor(90,3046 + def test_epyProcessor(100,3406 + def test_rpyProcessor(110,3772 + def test_makePersonalServerFactory(126,4393 + def test_personalServer(140,5020 + def test_defaultPersonalPath(160,5747 + def test_defaultPort(178,6418 + def test_twoPorts(190,6764 + def test_wsgi(200,7100 + def test_invalidApplication(223,8039 + def test_HTTPSFailureOnMissingSSL(236,8505 + def test_HTTPSAcceptedOnAvailableSSL(252,9006 + def test_add_header_parsing(267,9449 + def test_add_header_resource(278,9787 +class AddHeadersResourceTests(295,10383 + def test_getChildWithDefault(296,10424 + +venv/lib/python2.7/site-packages/twisted/web/util.py,1172 +def _PRE(24,567 +def redirectTo(40,973 + def render_GET(57,1619 +class Redirect(79,2254 + def __init__(82,2308 + def render(86,2402 + def getChild(89,2479 +class ChildRedirector(93,2540 + def __init__(95,2588 + def getChild(103,2965 +class ParentRedirect(111,3157 + def render(116,3263 + def getChild(119,3375 +class DeferredResource(123,3430 + def __init__(130,3584 + def getChild(134,3672 + def render(137,3732 + def _cbChild(143,3942 + def _ebChild(146,4051 +class _SourceLineElement(151,4136 + def __init__(160,4445 + def sourceLine(167,4606 + def lineNumber(175,4812 +class _SourceFragmentElement(183,4969 + def __init__(193,5465 + def _getSourceLines(198,5572 + def sourceLines(214,6171 +class _FrameElement(232,6864 + def __init__(242,7337 + def filename(248,7458 + def lineNumber(256,7650 + def function(265,7859 + def source(273,8048 +class _StackElement(282,8278 + def __init__(286,8406 + def frames(292,8545 +class FailureElement(303,8815 + def __init__(388,10804 + def type(394,10936 + def value(402,11124 + def traceback(410,11319 +def formatFailure(420,11592 + +venv/lib/python2.7/site-packages/twisted/web/vhost.py,574 +class VirtualHostCollection(16,290 + def __init__(23,471 + def listStaticEntities(26,524 + def getStaticEntity(29,597 + def reallyPutEntity(32,675 + def delEntity(35,760 +class NameVirtualHost(39,827 + def __init__(45,959 + def listStaticEntities(51,1084 + def getStaticEntity(54,1228 + def addHost(60,1428 + def removeHost(73,1957 + def _getResourceForRequest(77,2048 + def render(88,2517 + def getChild(94,2715 +class _HostResource(104,3073 + def getChild(106,3114 +class VHostMonsterResource(121,3635 + def getChild(133,4252 + +venv/lib/python2.7/site-packages/twisted/web/proxy.py,688 +class ProxyClient(32,1095 + def __init__(41,1341 + def connectionMade(53,1726 + def handleStatus(61,1968 + def handleHeader(65,2078 + def handleResponsePart(76,2577 + def handleResponseEnd(80,2655 +class ProxyClientFactory(92,3005 + def __init__(100,3150 + def buildProtocol(109,3395 + def clientConnectionFailed(114,3567 +class ProxyRequest(126,3971 + def __init__(137,4280 + def process(142,4436 +class Proxy(165,5242 +class ReverseProxyRequest(184,5684 + def __init__(198,6146 + def process(203,6302 +class ReverseProxy(219,6939 +class ReverseProxyResource(230,7139 + def __init__(248,7712 + def getChild(271,8521 + def render(282,8926 + +venv/lib/python2.7/site-packages/twisted/web/html.py,72 +def PRE(17,428 +def UL(24,624 +def linkList(35,867 +def output(46,1143 + +venv/lib/python2.7/site-packages/twisted/web/http.py,5206 + def _parseHeader(78,2913 +def urlparse(164,5880 +def parse_qs(193,6807 +def datetimeToString(219,7483 +def datetimeToLogString(236,7929 +def timegm(252,8323 +def stringToDatetime(273,8926 +def toChunk(329,10719 +def fromChunk(341,10963 +def parseContentRange(362,11522 +class _IDeprecatedHTTPChannelToRequestInterface(381,12064 + def connectionLost(395,12467 + def gotLength(405,12736 + def handleContentChunk(416,13068 + def parseCookies(426,13322 + def requestReceived(432,13433 + def __eq__(449,13900 + def __ne__(462,14225 + def __hash__(475,14563 +class StringTransport:StringTransport485,14724 + def __init__(490,14870 + def writeSequence(492,14922 + def __getattr__(494,14992 +class HTTPClient(499,15077 + def sendCommand(524,15781 + def sendHeader(527,15902 + def endHeaders(533,16135 + def extractHeader(537,16201 + def lineReceived(553,16682 + def connectionLost(595,18178 + def handleResponseEnd(598,18250 + def handleResponsePart(609,18572 + def connectionMade(612,18647 + def handleStatus(615,18691 + def handleHeader(625,18959 + def handleEndHeaders(630,19070 + def rawDataReceived(636,19180 +class Request:Request659,19806 + def __init__(715,21787 + def _cleanup(742,22668 + def noLongerQueued(771,23544 + def gotLength(785,23899 + def parseCookies(801,24408 + def handleContentChunk(823,25019 + def requestReceived(832,25197 + def __repr__(920,28612 + def process(936,29124 + def registerProducer(947,29292 + def unregisterProducer(960,29723 + def getHeader(970,29971 + def getCookie(986,30429 + def notifyFinish(993,30584 + def finish(1037,32968 + def write(1067,33895 + def addCookie(1141,36995 + def _ensureBytes(1191,38860 + def setResponseCode(1236,40632 + def setHeader(1254,41214 + def redirect(1268,41629 + def setLastModified(1278,41869 + def setETag(1315,43394 + def getAllHeaders(1348,44612 + def getRequestHostname(1362,45058 + def getHost(1380,45640 + def setHost(1390,45962 + def getClientIP(1425,47355 + def getClientAddress(1440,47771 + def isSecure(1457,48229 + def _authorize(1479,48884 + def getUser(1498,49514 + def getPassword(1515,49875 + def connectionLost(1532,50260 + def loseConnection(1546,50686 + def __eq__(1553,50847 + def __ne__(1574,51615 + def __hash__(1595,52404 +class _DataLoss(1614,52839 +class PotentialDataLoss(1625,53196 +class _MalformedChunkedDataError(1638,53757 +class _IdentityTransferDecoder(1648,54093 + def __init__(1664,54746 + def dataReceived(1670,54946 + def noMoreData(1702,56192 +class _ChunkedTransferDecoder(1723,56881 + def __init__(1763,58952 + def _dataReceived_CHUNK_LENGTH(1769,59121 + def _dataReceived_CRLF(1788,59703 + def _dataReceived_TRAILER(1797,59919 + def _dataReceived_BODY(1807,60168 + def _dataReceived_FINISHED(1819,60539 + def dataReceived(1825,60718 + def noMoreData(1836,61043 +class _NoPushProducer(1849,61435 + def pauseProducing(1855,61647 + def resumeProducing(1865,61893 + def registerProducer(1875,62107 + def unregisterProducer(1885,62372 +class HTTPChannel(1896,62624 + def __init__(2024,68321 + def connectionMade(2032,68507 + def lineReceived(2040,68750 + def _finishRequestBody(2114,71418 + def headerReceived(2119,71532 + def allContentReceived(2169,73363 + def dataReceived(2193,74104 + def rawDataReceived(2214,75000 + def allHeadersReceived(2223,75230 + def checkPersistence(2236,75787 + def requestDone(2280,77676 + def timeoutConnection(2306,78443 + def forceAbortClient(2319,78867 + def connectionLost(2336,79501 + def isSecure(2347,79853 + def writeHeaders(2362,80301 + def write(2388,81177 + def writeSequence(2400,81442 + def getPeer(2412,81738 + def getHost(2421,81921 + def loseConnection(2430,82103 + def registerProducer(2442,82479 + def unregisterProducer(2484,84034 + def stopProducing(2500,84431 + def pauseProducing(2513,84867 + def resumeProducing(2549,86473 + def _send100Continue(2569,87164 + def _respondToBadRequestAndDisconnect(2577,87401 +def _escape(2593,87980 +def combinedLogFormatter(2619,88584 +class _XForwardedForAddress(2651,89652 + def __init__(2661,89923 +class _XForwardedForRequest(2666,89981 + def getClientAddress(2671,90205 + def clientproto(2686,90815 + def code(2694,91001 + def sentLength(2702,91169 +def proxiedLogFormatter(2712,91380 +class _GenericHTTPChannelProtocol(2724,91729 + def factory(2765,93234 + def factory(2773,93392 + def requestFactory(2779,93506 + def requestFactory(2789,93751 + def site(2804,94189 + def site(2814,94416 + def timeOut(2829,94851 + def timeOut(2837,95007 + def callLater(2852,95403 + def callLater(2861,95662 + def dataReceived(2873,96027 +def _genericHTTPChannelProtocolFactory(2916,97715 +class HTTPFactory(2924,97904 + def __init__(2953,98829 + def _updateLogDateTime(2989,100204 + def buildProtocol(2997,100501 + def startFactory(3013,101153 + def stopFactory(3026,101470 + def _openLogFile(3037,101812 + def log(3045,101992 + +venv/lib/python2.7/site-packages/twisted/web/soap.py,318 +class SOAPPublisher(26,447 + def lookupFunction(39,783 + def render(49,1091 + def _methodNotFound(81,2129 + def _gotResult(87,2409 + def _gotError(94,2737 + def _sendResponse(104,3142 +class Proxy:Proxy117,3568 + def __init__(128,3931 + def _cbGotResult(133,4077 + def callRemote(147,4699 + +venv/lib/python2.7/site-packages/twisted/web/static.py,1881 +def isDangerous(44,1122 +class Data(48,1221 + def __init__(53,1311 + def render_GET(67,1683 +def addSlash(78,2020 +def _addSlash(86,2162 +class Redirect(103,2712 + def __init__(104,2747 + def render(108,2860 +class Registry(112,2938 + def __init__(118,3143 + def cachePath(122,3245 + def getCachedPath(125,3320 +def loadMimeTypes(129,3398 +def getTypeAndEncoding(166,4815 +class File(179,5187 + def __init__(222,6819 + def ignoreExt(264,8621 + def directoryListing(275,8891 + def getChild(304,10099 + def openForReading(366,12327 + def getFileSize(371,12427 + def _parseRangeHeader(376,12518 + def _rangeToOffsetAndSize(428,14585 + def _contentRange(472,16167 + def _doSingleRangeRequest(488,16743 + def _doMultipleRangeRequest(518,18165 + def _setContentHeaders(585,21419 + def makeProducer(605,22229 + def render_GET(641,23761 + def redirect(693,25685 + def listNames(697,25775 + def listEntities(704,25937 + def createSimilarFile(708,26097 +class StaticProducer(719,26491 + def __init__(730,26813 + def start(738,26985 + def resumeProducing(742,27054 + def stopProducing(746,27143 +class NoRangeStaticProducer(759,27478 + def start(764,27608 + def resumeProducing(768,27682 +class SingleRangeStaticProducer(783,28148 + def __init__(788,28291 + def start(802,28749 + def resumeProducing(808,28891 +class MultipleRangeStaticProducer(825,29495 + def __init__(830,29640 + def start(846,30228 + def _nextRange(852,30370 + def resumeProducing(858,30551 +class ASISProcessor(889,31571 + def __init__(895,31750 + def render(901,31910 +def formatFileSize(908,32068 +class DirectoryLister(923,32420 + def __init__(1008,34705 + def _getFilesAndDirectories(1021,35192 + def _buildTableContent(1062,36725 + def render(1075,37169 + def __repr__(1100,37906 + +venv/lib/python2.7/site-packages/twisted/web/microdom.py,3123 +def getElementsByTagName(32,1055 +def getElementsByTagNameNoCase(60,1947 +def _streamWriteWrapper(74,2264 + def w(76,2329 + def w(81,2462 +def unescape(99,3020 +def escape(109,3205 +class MismatchedTags(119,3394 + def __init__(121,3428 + def __str__(126,3679 +class Node(133,3906 + def __init__(136,3949 + def isEqualToNode(141,4058 + def writexml(158,4602 + def toxml(163,4761 + def writeprettyxml(171,5017 + def toprettyxml(175,5172 + def cloneNode(179,5305 + def hasChildNodes(183,5389 + def appendChild(190,5504 + def insertBefore(204,5929 + def removeChild(226,6636 + def replaceChild(245,7228 + def lastChild(269,8153 + def firstChild(273,8215 +class Document(292,8809 + def __init__(294,8832 + def cloneNode(300,8982 + def isEqualToDocument(312,9283 + def get_documentElement(317,9434 + def appendChild(322,9557 + def writexml(336,9996 + def createElement(348,10456 + def createTextNode(352,10534 + def createComment(356,10598 + def getElementsByTagName(360,10664 + def getElementById(366,10863 +class EntityReference(377,11194 + def __init__(379,11224 + def isEqualToEntityReference(385,11392 + def writexml(392,11623 + def cloneNode(398,11817 +class CharacterData(403,11916 + def __init__(405,11944 + def isEqualToCharacterData(410,12088 +class Comment(416,12212 + def writexml(421,12279 + def cloneNode(428,12502 +class Text(433,12598 + def __init__(435,12626 + def isEqualToNode(440,12760 + def cloneNode(450,13080 + def writexml(454,13182 + def __repr__(471,13720 +class CDATASection(476,13801 + def cloneNode(477,13836 + def writexml(481,13936 +def _genprefix(490,14171 +class _Attr(499,14289 +class Element(504,14362 + def __init__(510,14452 + def addPrefixes(536,15415 + def endTag(543,15576 + def isEqualToElement(549,15727 + def isEqualToNode(556,16005 + def cloneNode(569,16482 + def getElementsByTagName(581,16931 + def hasAttributes(587,17114 + def getAttribute(591,17162 + def getAttributeNS(595,17262 + def getAttributeNode(604,17528 + def setAttribute(608,17620 + def removeAttribute(612,17699 + def hasAttribute(617,17812 + def writexml(621,17887 + def __repr__(744,23305 + def __str__(755,23652 +def _unescapeDict(775,24215 +def _reverseDict(783,24321 +class MicroDOMParser(791,24416 + def __init__(816,25420 + def shouldPreserveSpace(832,26046 + def _getparent(840,26302 + def _fixScriptElement(848,26480 + def gotDoctype(882,27745 + def gotTagStart(886,27816 + def _gotStandalone(945,30104 + def gotText(954,30351 + def gotComment(959,30481 + def gotEntityReference(963,30558 + def gotCData(967,30661 + def gotTagEnd(971,30743 + def connectionLost(1029,33109 +def parse(1042,33639 +def parseString(1082,34753 +def parseXML(1090,34988 +def parseXMLString(1098,35127 +class lmx:lmx1106,35266 + def __init__(1111,35320 + def __getattr__(1117,35461 + def __setitem__(1123,35625 + def __getitem__(1127,35705 + def text(1131,35782 + def add(1137,35902 + +venv/lib/python2.7/site-packages/twisted/web/resource.py,1150 +class IResource(29,736 + def getChildWithDefault(41,996 + def putChild(61,1849 + def render(74,2366 +def getChildForRequest(91,3033 +class Resource:Resource104,3415 + def __init__(116,3744 + def listStaticNames(126,3895 + def listStaticEntities(129,3969 + def listNames(132,4047 + def listEntities(135,4143 + def listDynamicNames(138,4248 + def listDynamicEntities(141,4299 + def getStaticEntity(144,4367 + def getDynamicEntity(147,4444 + def delEntity(153,4616 + def reallyPutEntity(156,4680 + def getChild(161,4794 + def getChildWithDefault(185,5731 + def getChildForRequest(204,6425 + def putChild(209,6611 + def render(223,6972 + def render_HEAD(253,8195 +def _computeAllowedMethods(264,8459 +class ErrorPage(280,9111 + def __init__(316,10272 + def render(323,10436 + def getChild(333,10817 +class NoResource(338,10880 + def __init__(343,11034 +class ForbiddenResource(348,11183 + def __init__(353,11351 +class _IEncodingResource(358,11494 + def getEncoder(365,11627 +class EncodingResourceWrapper(376,11892 + def __init__(395,12655 + def getEncoder(400,12799 + +venv/lib/python2.7/site-packages/twisted/web/sux.py,2033 +def nop(39,952 +def unionlist(43,994 +def zipfndict(51,1122 +def prefixedMethodClassDict(59,1336 +def prefixedMethodObjDict(63,1486 +class ParseError(67,1638 + def __init__(69,1668 + def __str__(75,1835 +class XMLParser(79,1973 + def connectionMade(92,2309 + def saveMark(97,2415 + def _parseError(102,2625 + def _buildStateTable(105,2735 + def _decode(117,3350 + def maybeBodyData(126,3691 + def dataReceived(148,4514 + def saveMark(166,5225 + def connectionLost(193,6176 + def do_begin(203,6391 + def begin_comment(213,6716 + def do_comment(216,6781 + def begin_tagstart(222,6970 + def do_tagstart(228,7223 + def begin_unentity(272,8828 + def do_unentity(275,8895 + def end_unentity(279,8985 + def begin_expectcdata(282,9050 + def do_expectcdata(285,9119 + def do_cdata(305,9924 + def end_cdata(311,10104 + def do_attrs(315,10194 + def begin_doctype(336,11023 + def do_doctype(339,11087 + def end_doctype(344,11203 + def do_waitforgt(348,11297 + def begin_attrname(354,11489 + def do_attrname(358,11590 + def do_beforeattrval(388,12760 + def begin_beforeeq(410,13576 + def do_beforeeq(413,13647 + def begin_attrval(436,14532 + def do_attrval(440,14624 + def end_attrval(445,14748 + def begin_messyattr(449,14875 + def do_messyattr(452,14941 + def end_messyattr(469,15511 + def begin_afterslash(473,15627 + def do_afterslash(476,15703 + def begin_bodydata(492,16378 + def do_bodydata(499,16582 + def end_bodydata(506,16755 + def do_waitforendscript(510,16847 + def begin_waitscriptendtag(515,16981 + def do_waitscriptendtag(520,17106 + def begin_entityref(560,18583 + def do_entityref(564,18704 + def end_entityref(582,19350 + def begin_spacebodydata(587,19543 + def gotTagStart(595,19751 + def gotText(601,19920 + def gotEntityReference(607,20056 + def gotComment(613,20239 + def gotCData(619,20364 + def gotDoctype(625,20513 + def gotTagEnd(633,20756 + +venv/lib/python2.7/site-packages/twisted/web/domhelpers.py,712 +class NodeLookupError(19,412 +def substitute(23,457 +def _get(33,849 +def get(52,1552 +def getIfExists(62,1847 +def getAndClear(70,2076 +def clearNode(80,2410 +def locateNodes(86,2521 +def superSetAttribute(104,3155 +def superPrependAttribute(111,3396 +def superAppendAttribute(122,3750 +def gatherTextNodes(133,4106 +class RawText(157,4905 + def writexml(169,5514 +def findNodes(172,5682 +def findNodesShallowOnMatch(185,6032 +def findNodesShallow(198,6479 +def findElementsWithAttributeShallow(211,6800 +def findElements(221,7137 +def findElementsWithAttribute(231,7477 +def findNodesNamed(243,7869 +def writeNodeData(247,7975 +def getNodeText(255,8182 +def getParents(261,8289 +def namedChildren(268,8406 + +venv/lib/python2.7/site-packages/twisted/web/wsgi.py,941 + def _wsgiString(45,1540 + def _wsgiStringToBytes(59,1973 + def _wsgiString(69,2222 + def _wsgiStringToBytes(86,2816 +class _ErrorStream:_ErrorStream100,3172 + def write(113,3663 + def writelines(144,4691 + def flush(160,5186 +class _InputStream:_InputStream170,5425 + def __init__(180,5848 + def read(189,6042 + def readline(201,6397 + def readlines(215,6915 + def __iter__(227,7290 +class _WSGIResponse:_WSGIResponse237,7502 + def __init__(274,8901 + def _finished(350,12491 + def startResponse(358,12678 + def write(423,15424 + def wsgiWrite(456,16974 + def _sendResponseHeaders(468,17278 + def start(488,18085 + def run(497,18281 + def wsgiError(515,18878 + def wsgiFinish(527,19403 +class WSGIResource:WSGIResource538,19737 + def __init__(556,20349 + def render(562,20519 + def getChildWithDefault(578,21173 + def putChild(587,21505 + +venv/lib/python2.7/site-packages/twisted/web/_auth/digest.py,116 +class DigestCredentialFactory(18,449 + def __init__(26,636 + def getChallenge(34,935 + def decode(47,1383 + +venv/lib/python2.7/site-packages/twisted/web/_auth/basic.py,115 +class BasicCredentialFactory(24,533 + def __init__(35,810 + def getChallenge(39,912 + def decode(47,1138 + +venv/lib/python2.7/site-packages/twisted/web/_auth/wrapper.py,644 +class UnauthorizedResource(30,980 + def __init__(37,1101 + def render(41,1184 + def ensureBytes(45,1291 + def generateWWWAuthenticate(48,1390 + def quoteString(56,1685 + def getChildWithDefault(70,2176 +class HTTPAuthSessionWrapper(79,2331 + def __init__(93,2773 + def _authorizedResource(108,3276 + def render(133,4305 + def getChildWithDefault(142,4647 + def _login(156,5267 + def _loginSucceeded(168,5678 + class ResourceWrapper(175,5946 + def getChildWithDefault(185,6468 + def render(193,6866 + def _loginFailed(205,7295 + def _selectParseHeader(222,7924 + +venv/lib/python2.7/site-packages/twisted/web/_flatten.py,487 + def iscoroutine(21,480 +def escapeForContent(32,866 +def attributeEscapingDoneOutside(56,1570 +def writeWithAttributeEscaping(78,2353 + def _write(116,4536 +def escapedCDATA(122,4642 +def escapedComment(139,5053 +def _getSlotValue(159,5553 +def _flattenElement(173,5921 + def keepGoing(213,7885 +def _flattenTree(296,11169 + def cbx(333,12680 +def _writeFlattenedData(342,12975 + def cby(368,13896 +def flatten(376,14088 +def flattenString(406,15292 + +venv/lib/python2.7/site-packages/twisted/web/server.py,1720 + def quote(26,750 +def _addressToTuple(82,2357 +class Request(93,2627 + def __init__(117,3337 + def getStateToCopyFor(122,3473 + def sibLink(146,4177 + def childLink(156,4425 + def process(172,4879 + def write(204,5793 + def finish(241,7465 + def render(252,7753 + def processingFailed(343,11583 + def view_write(375,12821 + def view_finish(381,12952 + def view_addCookie(387,13076 + def view_setHeader(393,13239 + def view_setLastModified(399,13382 + def view_setETag(405,13543 + def view_setResponseCode(411,13678 + def view_registerProducer(418,13871 + def view_unregisterProducer(425,14127 + def session(434,14312 + def getSession(451,14875 + def _prePathURL(508,17017 + def prePathURL(526,17563 + def URLPath(530,17637 + def rememberRootURL(535,17754 + def getRootURL(544,17977 + def _handleStar(551,18101 +class GzipEncoderFactory(574,18985 + def encoderForRequest(584,19244 +class _GzipEncoder(606,20046 + def __init__(620,20328 + def encode(626,20522 + def finish(637,20931 +class _RemoteProducerWrapper:_RemoteProducerWrapper648,21177 + def __init__(649,21207 +class Session(656,21446 + def __init__(674,21916 + def startCheckingExpiration(691,22353 + def notifyOnExpire(701,22577 + def expire(708,22754 + def touch(722,23140 +class Site(736,23493 + def __init__(755,24239 + def _openLogFile(773,24943 + def __getstate__(778,25100 + def _mkuid(784,25207 + def makeSession(792,25408 + def getSession(802,25700 + def buildProtocol(814,25969 + def render(825,26260 + def getChildWithDefault(833,26451 + def getResourceFor(841,26669 + def acceptableProtocols(856,27269 + +venv/lib/python2.7/site-packages/twisted/web/tap.py,670 +class Options(24,613 + def __init__(63,2138 + def opt_port(72,2363 + def opt_https(84,2755 + def opt_listen(95,3112 + def opt_index(103,3301 + def opt_user(113,3533 + def opt_path(123,3742 + def opt_processor(137,4281 + def opt_class(149,4694 + def opt_resource_script(157,4908 + def opt_wsgi(164,5104 + def opt_mime_type(179,5668 + def opt_allow_ignore_ext(190,6017 + def opt_ignore_ext(200,6370 + def opt_add_header(210,6716 + def postOptions(219,7008 +def makePersonalServerFactory(252,8256 +class _AddHeadersResource(264,8570 + def __init__(265,8616 + def getChildWithDefault(270,8751 +def makeService(277,8967 + +venv/lib/python2.7/site-packages/twisted/web/client.py,4982 + def urlunparse(20,443 +class PartialDownloadError(50,1663 +class HTTPPageGetter(58,1861 + def connectionMade(82,2806 + def handleHeader(114,4216 + def handleStatus(129,4663 + def handleEndHeaders(144,5195 + def handleStatus_200(150,5403 + def handleStatusDefault(156,5570 + def handleStatus_301(159,5630 + def handleStatus_302(199,7183 + def handleStatus_303(206,7334 + def connectionLost(211,7437 + def handleResponse(226,8111 + def timeout(248,8987 +class HTTPPageDownloader(254,9217 + def handleStatus_200(258,9286 + def handleStatus_206(263,9464 + def handleResponsePart(266,9545 + def handleResponseEnd(270,9660 +class HTTPClientFactory(287,10196 + def __init__(341,12187 + def _waitForDisconnect(377,13604 + def __repr__(387,13970 + def setURL(390,14059 + def buildProtocol(399,14317 + def _cancelTimeout(408,14685 + def gotHeaders(413,14825 + def gotStatus(430,15401 + def page(444,15881 + def noPage(449,16003 + def clientConnectionFailed(454,16130 +class HTTPDownloader(469,16692 + def __init__(477,16845 + def gotHeaders(502,17986 + def openFile(516,18546 + def pageStart(524,18767 + def pagePart(539,19345 + def noPage(550,19586 + def pageEnd(565,20020 +class URI(578,20290 + def __init__(584,20420 + def fromBytes(623,21452 + def toBytes(657,22447 + def originForm(670,22787 +def _urljoin(690,23373 +def _makeGetterFactory(719,24268 +def _deprecateGetPageClasses(750,25368 +def getPage(775,26072 +def downloadPage(794,26617 +def _requireSSL(841,27846 + def raiseNotImplemented(855,28312 +class WebClientContextFactory(871,28730 + def _getCertificateOptions(882,29245 + def getContext(900,29658 +class BrowserLikePolicyForHTTPS(915,30010 + def __init__(919,30111 + def creatorForNetloc(924,30206 +class _ContextFactoryWithContext(961,31570 + def __init__(970,31821 + def getContext(980,32066 +class _DeprecatedToCurrentPolicyForHTTPS(993,32358 + def __init__(1002,32718 + def creatorForNetloc(1014,33148 +class FileBodyProducer(1034,33765 + def __init__(1056,34593 + def _determineLength(1063,34837 + def stopProducing(1081,35393 + def startProducing(1090,35630 + def maybeStopped(1100,36035 + def _writeloop(1109,36343 + def pauseProducing(1123,36775 + def resumeProducing(1131,37006 +class _HTTP11ClientFactory(1141,37274 + def __init__(1153,37684 + def __repr__(1158,37825 + def buildProtocol(1163,37969 +class _RetryingHTTP11ClientProtocol(1168,38068 + def __init__(1178,38366 + def _shouldRetry(1183,38513 + def request(1211,39620 + def failed(1221,39941 +class HTTPConnectionPool(1233,40311 + def __init__(1278,41872 + def getConnection(1285,42052 + def _newConnection(1323,43573 + def quiescentCallback(1329,43751 + def _removeConnection(1335,43949 + def _putConnection(1344,44222 + def closeCachedConnections(1371,45379 +class _AgentBase(1390,45968 + def __init__(1400,46288 + def _computeHostValue(1407,46466 + def _requestWithEndpoint(1419,46898 + def cbConnected(1436,47625 +class _StandardEndpointFactory(1447,47987 + def __init__(1460,48543 + def endpointForURI(1483,49449 +class Agent(1518,50716 + def __init__(1531,51052 + def usingEndpointFactory(1576,52965 + def _init(1602,53911 + def _getEndpoint(1626,54747 + def request(1638,55086 +class ProxyAgent(1662,55938 + def __init__(1671,56119 + def request(1678,56345 +class _FakeUrllib2Request(1695,57098 + def __init__(1715,57604 + def has_header(1738,58274 + def add_unredirected_header(1742,58371 + def get_full_url(1746,58502 + def get_header(1750,58556 + def get_host(1758,58818 + def get_type(1762,58869 + def is_unverifiable(1766,58920 +class _FakeUrllib2Response(1772,59024 + def __init__(1781,59267 + def info(1785,59336 + class _Meta(1786,59356 + def getheaders(1787,59385 + def get_all(1791,59550 +class CookieAgent(1802,59858 + def __init__(1820,60514 + def request(1825,60621 + def _extractCookies(1855,61785 +class GzipDecoder(1870,62217 + def __init__(1879,62424 + def deliverBody(1884,62530 +class _GzipProtocol(1893,62761 + def __init__(1906,63128 + def dataReceived(1912,63312 + def connectionLost(1925,63715 +class ContentDecoderAgent(1941,64180 + def __init__(1958,64833 + def request(1964,65018 + def _handleResponse(1979,65532 +class RedirectAgent(2005,66479 + def __init__(2032,67420 + def request(2037,67543 + def _resolveLocation(2048,67898 + def _handleRedirect(2064,68321 + def _chainResponse(2082,69235 + def _handleResponse(2090,69520 +class BrowserLikeRedirectAgent(2107,70272 +class _ReadBodyProtocol(2125,70797 + def __init__(2140,71216 + def dataReceived(2157,71697 + def connectionLost(2164,71848 +def readBody(2180,72428 + def cancel(2193,72919 + def getAbort(2206,73322 + +venv/lib/python2.7/site-packages/twisted/web/error.py,898 +def _codeToMessage(28,676 +class Error(45,1111 + def __init__(58,1474 + def __str__(89,2583 +class PageRedirect(94,2672 + def __init__(101,2862 +class InfiniteRedirection(128,3883 + def __init__(136,4104 +class RedirectWithNoLocation(163,5133 + def __init__(175,5417 +class UnsupportedMethod(197,6110 + def __init__(215,6789 + def __str__(225,7157 +class SchemeNotSupported(230,7244 +class RenderError(237,7361 +class MissingRenderMethod(245,7497 + def __init__(252,7751 + def __repr__(258,7922 +class MissingTemplateLoader(264,8075 + def __init__(271,8335 + def __repr__(276,8445 +class UnexposedMethodError(282,8593 +class UnfilledSlot(289,8721 +class UnsupportedType(296,8842 +class FlattenerError(304,8985 + def __init__(312,9317 + def _formatRoot(319,9534 + def __repr__(361,11260 + def __str__(390,12309 +class UnsupportedSpecialHeader(395,12361 + +venv/lib/python2.7/site-packages/twisted/web/_http2.py,1894 +class H2Connection(68,1871 + def __init__(127,4595 + def connectionMade(150,5320 + def dataReceived(161,5686 + def timeoutConnection(202,7290 + def forceAbortClient(245,9057 + def connectionLost(262,9690 + def stopProducing(328,12579 + def pauseProducing(338,12845 + def resumeProducing(348,13130 + def _sendPrioritisedData(361,13494 + def _requestReceived(441,16872 + def _requestDataReceived(472,17994 + def _requestEnded(485,18426 + def _requestAborted(498,18834 + def _handlePriorityUpdate(513,19326 + def writeHeaders(541,20408 + def writeDataToStream(574,21604 + def endRequest(601,22629 + def abortRequest(616,23137 + def _requestDone(629,23585 + def remainingOutboundWindow(644,24141 + def _handleWindowUpdate(669,25112 + def getPeer(706,26647 + def getHost(720,27087 + def openStreamWindow(730,27318 + def _isSecure(747,27848 + def _send100Continue(758,28174 + def _respondToBadRequestAndDisconnect(772,28645 + def _streamIsActive(801,29704 +class H2Stream(817,30173 + def __init__(876,32435 + def _convertHeaders(923,34037 + def receiveDataChunk(961,35471 + def requestComplete(984,36451 + def connectionLost(997,36945 + def windowUpdated(1008,37237 + def flowControlBlocked(1034,38138 + def writeHeaders(1048,38536 + def requestDone(1068,39162 + def _send100Continue(1078,39455 + def _respondToBadRequestAndDisconnect(1086,39680 + def write(1102,40338 + def writeSequence(1113,40595 + def loseConnection(1124,40882 + def abortConnection(1131,41044 + def getPeer(1138,41218 + def getHost(1145,41343 + def isSecure(1152,41493 + def registerProducer(1163,41760 + def unregisterProducer(1206,43316 + def stopProducing(1220,43740 + def pauseProducing(1228,43898 + def resumeProducing(1235,44031 +def _addHeaderToRequest(1257,44719 + +venv/lib/python2.7/site-packages/twisted/web/script.py,523 +class AlreadyCached(29,727 +class CacheScanner:CacheScanner34,842 + def __init__(35,862 + def cache(40,986 + def recache(46,1143 +def ResourceScript(51,1267 +def ResourceTemplate(74,1947 +class ResourceScriptWrapper(90,2466 + def __init__(92,2515 + def render(97,2681 + def getChildWithDefault(101,2803 +class ResourceScriptDirectory(107,2965 + def __init__(120,3549 + def getChild(125,3723 + def render(134,4020 +class PythonScript(139,4107 + def __init__(148,4366 + def render(155,4543 + +venv/lib/python2.7/site-packages/twisted/web/_stan.py,510 +class slot(30,1066 + def __init__(61,2247 + def __repr__(71,2555 +class Tag(76,2623 + def __init__(127,4722 + def fillSlots(147,5388 + def __call__(163,5880 + def _clone(201,7169 + def clone(221,7781 + def clear(254,8852 + def __repr__(262,8997 +class CDATA(277,9468 + def __init__(286,9772 + def __repr__(290,9829 +class Comment(295,9898 + def __init__(305,10198 + def __repr__(309,10255 +class CharRef(314,10326 + def __init__(325,10653 + def __repr__(329,10719 + +venv/lib/python2.7/site-packages/twisted/web/demo.py,44 +class Test(13,194 + def __init__(15,237 + +venv/lib/python2.7/site-packages/twisted/web/xmlrpc.py,1155 +def withRequest(44,1031 + def xmlrpc_echo(54,1320 +class NoSuchFunction(64,1451 +class Handler:Handler70,1542 + def __init__(87,2161 + def run(92,2342 +class XMLRPC(98,2529 + def __init__(131,3509 + def __setattr__(138,3716 + def putSubHandler(142,3794 + def getSubHandler(145,3884 + def getSubHandlerPrefixes(148,3972 + def render_POST(151,4055 + def _cbRender(180,5367 + def _ebRender(208,6340 + def lookupProcedure(215,6537 + def listProcedures(253,8181 +class XMLRPCIntrospection(262,8390 + def __init__(275,8898 + def xmlrpc_listMethods(285,9191 + def xmlrpc_methodHelp(301,9775 + def xmlrpc_methodSignature(311,10143 +def addIntrospection(327,10746 +class QueryProtocol(337,11008 + def connectionMade(338,11046 + def handleStatus(354,11747 + def handleResponse(358,11883 + def connectionLost(369,12249 +class _QueryFactory(390,12828 + def __init__(417,13636 + def parseResponse(444,14743 + def clientConnectionLost(457,15181 + def badStatus(464,15413 +class Proxy:Proxy470,15566 + def __init__(513,17209 + def callRemote(555,18760 + def cancel(568,19346 + +venv/lib/python2.7/site-packages/twisted/web/distrib.py,977 +class _ReferenceableProducerWrapper(32,789 + def __init__(33,844 + def remote_resumeProducing(36,912 + def remote_pauseProducing(39,991 + def remote_stopProducing(42,1068 +class Request(46,1144 + def setCopyableState(51,1311 + def write(79,2747 + def registerProducer(96,3204 + def unregisterProducer(101,3445 + def fail(104,3555 +class Issue:Issue110,3685 + def __init__(113,3719 + def finished(116,3784 + def failed(122,4004 +class ResourceSubscription(135,4461 + def __init__(140,4560 + def __getstate__(147,4744 + def connected(160,5161 + def notConnected(171,5545 + def booted(186,6020 + def render(189,6091 +class ResourcePublisher(217,7142 + def __init__(227,7431 + def upgradeToVersion2(232,7515 + def getPerspectiveNamed(239,7754 + def remote_request(243,7817 +class UserDirectory(257,8210 + def __init__(311,9296 + def _users(318,9479 + def render_GET(338,10232 + def getChild(360,11010 + +venv/lib/python2.7/site-packages/twisted/web/twcgi.py,664 +class CGIDirectory(22,461 + def __init__(23,519 + def getChild(28,647 + def render(39,951 +class CGIScript(46,1130 + def __init__(55,1438 + def render(68,1946 + def runProcess(132,4328 +class FilteredScript(155,5171 + def runProcess(174,5774 +class CGIProcessProtocol(198,6690 + def view_resumeProducing(207,6908 + def view_pauseProducing(211,6985 + def view_stopProducing(215,7060 + def resumeProducing(219,7133 + def pauseProducing(223,7207 + def stopProducing(227,7279 + def __init__(231,7350 + def connectionMade(235,7416 + def errReceived(244,7679 + def outReceived(248,7763 + def processEnded(306,10499 + +venv/lib/python2.7/site-packages/twisted/web/rewrite.py,197 +class RewriterResource(7,109 + def __init__(9,153 + def _rewrite(14,316 + def getChild(18,429 + def render(26,711 +def tildeToUsers(31,820 +def alias(36,1042 + def rewriter(47,1568 + +venv/lib/python2.7/site-packages/twisted/web/iweb.py,1675 +class IRequest(19,506 + def getHeader(52,1714 + def getCookie(65,2048 + def getAllHeaders(71,2151 + def getRequestHostname(81,2445 + def getHost(93,2769 + def getClientAddress(101,2941 + def getClientIP(115,3272 + def getUser(127,3648 + def getPassword(138,3877 + def isSecure(149,4122 + def getSession(164,4537 + def URLPath(175,4917 + def prePathURL(182,5065 + def rememberRootURL(190,5281 + def getRootURL(197,5420 + def finish(204,5545 + def write(210,5653 + def addCookie(218,5904 + def setResponseCode(228,6265 + def setHeader(234,6372 + def redirect(247,6712 + def setLastModified(255,6869 + def setETag(277,7751 + def setHost(299,8572 +class INonQueuedRequestFactory(317,9268 + def __call__(321,9407 +class IAccessLogFormatter(336,9818 + def __call__(341,9981 +class ICredentialFactory(358,10471 + def getChallenge(372,11062 + def decode(386,11447 +class IBodyProducer(405,12023 + def startProducing(441,13666 + def stopProducing(453,14107 +class IRenderable(464,14447 + def lookupRenderMethod(470,14604 + def render(484,15097 +class ITemplateLoader(497,15406 + def load(503,15576 +class IResponse(513,15788 + def deliverBody(554,17102 + def setPreviousResponse(577,18084 +class _IRequestEncoder(587,18305 + def encode(595,18473 + def finish(607,18705 +class _IRequestEncoderFactory(618,18930 + def encoderForRequest(625,19065 +class IClientRequest(633,19229 +class IAgent(655,19812 + def request(694,21812 +class IPolicyForHTTPS(729,23446 + def creatorForNetloc(739,23754 +class IAgentEndpointFactory(760,24460 + def endpointForURI(769,24762 + +venv/lib/python2.7/site-packages/twisted/web/template.py,1051 +class _NSContext(57,1967 + def __init__(62,2081 + def get(74,2427 + def __setitem__(83,2600 + def __getitem__(90,2757 +class _ToStan(98,2916 + def __init__(104,3091 + def setDocumentLocator(113,3337 + def startDocument(120,3517 + def endDocument(130,3722 + def processingInstruction(136,3799 + def startPrefixMapping(142,3921 + def endPrefixMapping(165,4648 + def startElementNS(174,4850 + def characters(273,8864 + def endElementNS(286,9163 + def startDTD(298,9521 + def endDTD(304,9623 + def startCDATA(310,9704 + def endCDATA(318,9884 + def comment(328,10179 +def _flatsaxParse(336,10336 +class TagLoader(362,11059 + def __init__(370,11265 + def load(378,11443 +class XMLString(384,11522 + def __init__(392,11734 + def load(405,12098 +class XMLFile(417,12322 + def __init__(428,12664 + def _loadDoc(444,13179 + def __repr__(458,13535 + def load(462,13610 +class _TagFactory(499,15274 + def __getattr__(512,15698 +def renderElement(527,16039 + def eb(552,16859 + +venv/lib/python2.7/site-packages/twisted/web/_newclient.py,4145 +class BadHeaders(59,2236 +class ExcessWrite(66,2343 +class ParseError(73,2506 + def __init__(79,2650 +class BadResponseVersion(85,2763 +class _WrapperException(92,2876 + def __init__(100,3223 +class RequestGenerationFailed(106,3332 +class RequestTransmissionFailed(116,3621 +class ConnectionAborted(126,3913 +class WrongBodyLength(133,4031 +class ResponseDone(142,4246 +class ResponseFailed(151,4478 + def __init__(163,4918 +class ResponseNeverReceived(169,5052 +class RequestNotSent(176,5196 +def _callAppFunction(187,5569 +class HTTPParser(204,5918 + def connectionMade(248,7817 + def switchToBodyMode(255,7982 + def lineReceived(268,8372 + def rawDataReceived(298,9491 + def isConnectionControlHeader(305,9666 + def statusReceived(318,10214 + def headerReceived(329,10528 + def allHeadersReceived(341,10855 +class HTTPClientParser(350,11096 + def __init__(377,11910 + def dataReceived(384,12102 + def parseVersion(392,12312 + def statusReceived(410,12981 + def _finished(443,14089 + def isConnectionControlHeader(457,14605 + def allHeadersReceived(467,14959 + def connectionLost(553,19061 +class Request:Request583,20299 + def __init__(599,20746 + def _construct(630,21934 + def absoluteURI(650,22550 + def _writeHeaders(658,22784 + def _writeToBodyProducerChunked(679,23693 + def cbProduced(692,24186 + def ebProduced(694,24260 + def _writeToBodyProducerContentLength(706,24733 + def combine(734,25788 + def cancelConsuming(738,26027 + def ebConsuming(748,26461 + def cbProducing(771,27655 + def ebProducing(792,28751 + def f(815,29852 + def _writeToEmptyBodyContentLength(825,30192 + def writeTo(837,30550 + def stopWriting(864,31745 +class LengthEnforcingConsumer:LengthEnforcingConsumer878,32321 + def __init__(894,32851 + def _allowNoMoreWrites(901,33048 + def write(909,33278 + def _noMoreWritesExpected(938,34573 +def makeStatefulDispatcher(952,35018 + def dispatcher(968,35710 +class Response:Response988,36374 + def __init__(1038,38536 + def _construct(1066,39428 + def setPreviousResponse(1084,40008 + def deliverBody(1088,40112 + def _deliverBody_INITIAL(1096,40340 + def _deliverBody_CONNECTED(1117,41196 + def _deliverBody_DEFERRED_CLOSE(1127,41540 + def _deliverBody_FINISHED(1146,42274 + def _bodyDataReceived(1155,42577 + def _bodyDataReceived_INITIAL(1165,42944 + def _bodyDataReceived_CONNECTED(1177,43323 + def _bodyDataReceived_DEFERRED_CLOSE(1185,43542 + def _bodyDataReceived_FINISHED(1193,43839 + def _bodyDataFinished(1202,44141 + def _bodyDataFinished_INITIAL(1212,44553 + def _bodyDataFinished_CONNECTED(1223,44921 + def _bodyDataFinished_DEFERRED_CLOSE(1234,45292 + def _bodyDataFinished_FINISHED(1242,45556 +class ChunkedEncoder:ChunkedEncoder1253,45883 + def __init__(1259,46049 + def _allowNoMoreWrites(1263,46121 + def registerProducer(1271,46351 + def write(1278,46551 + def unregisterProducer(1291,46896 +class TransportProxyProducer:TransportProxyProducer1302,47162 + def __init__(1319,47924 + def stopProxying(1323,47994 + def stopProducing(1332,48253 + def resumeProducing(1341,48489 + def pauseProducing(1350,48731 + def loseConnection(1359,48966 +class HTTP11ClientProtocol(1369,49227 + def __init__(1439,52309 + def state(1445,52469 + def request(1449,52519 + def cancelRequest(1474,53674 + def cbRequestWritten(1494,54579 + def ebRequestWriting(1499,54781 + def _finishResponse(1518,55449 + def _finishResponse_WAITING(1530,55872 + def _disconnectParser(1576,57919 + def _giveUp(1599,58765 + def dataReceived(1611,59136 + def connectionLost(1621,59350 + def _connectionLost_QUIESCENT(1629,59587 + def _connectionLost_GENERATION_FAILED(1637,59816 + def _connectionLost_TRANSMITTING(1645,60066 + def _connectionLost_TRANSMITTING_AFTER_RECEIVING_RESPONSE(1660,60616 + def _connectionLost_WAITING(1667,60807 + def _connectionLost_ABORTING(1678,61222 + def abort(1690,61627 + +venv/lib/python2.7/site-packages/twisted/web/http_headers.py,500 +def _dashCapitalize(14,303 +class Headers(29,685 + def __init__(59,1905 + def __repr__(66,2114 + def __cmp__(73,2308 + def _encodeName(85,2666 + def _encodeValue(101,3125 + def _encodeValues(116,3534 + def _decodeValues(134,4067 + def copy(151,4536 + def hasHeader(160,4724 + def removeHeader(173,5089 + def setRawHeaders(185,5395 + def addRawHeader(206,6119 + def getRawHeaders(226,6650 + def getAllRawHeaders(250,7488 + def _canonicalNameCaps(260,7812 + +venv/lib/python2.7/site-packages/twisted/web/_element.py,489 +class Expose(14,387 + def __init__(26,811 + def __call__(30,870 + class Foo(38,1188 + def twiddle(39,1216 + def frob(41,1281 + def get(67,2061 + def _withDocumentation(87,2786 +def renderer(102,3337 + class Foo(108,3457 + def twiddle(110,3507 +class Element(127,3875 + class Menu(141,4448 + def items(143,4499 + def __init__(156,4912 + def lookupRenderMethod(161,5015 + def render(171,5280 + +venv/lib/python2.7/site-packages/twisted/plugin.py,384 +def _determinePickleModule(20,364 +class IPlugin(41,840 +class CachedPlugin(52,1133 + def __init__(53,1161 + def __repr__(60,1390 + def load(65,1578 + def __conform__(68,1665 +class CachedDropin(81,2096 + def __init__(98,2645 +def _generateCacheEntry(105,2799 + def fromkeys(118,3232 +def getCache(126,3351 +def getPlugins(199,6277 +def pluginPackagePaths(229,7153 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_tests.py,5475 +class ResultsTestMixin(44,1556 + def loadSuite(48,1670 + def test_setUp(57,1984 + def assertCount(66,2267 +class SuccessMixin(75,2536 + def setUp(79,2667 + def test_successful(85,2785 + def assertSuccessful(90,2889 + def test_successfulIsReported(102,3341 + def test_defaultIsSuccessful(111,3658 + def test_noReference(120,3947 +class SynchronousSuccessTests(133,4306 +class AsynchronousSuccessTests(139,4472 +class SkipMethodsMixin(145,4628 + def setUp(149,4771 + def test_counting(155,4883 + def test_results(161,5008 + def test_setUp(175,5606 + def test_reasons(190,6256 + def test_deprecatedSkipWithoutReason(201,6593 +class SynchronousSkipMethodTests(218,7241 +class AsynchronousSkipMethodTests(231,7757 +class SkipClassesMixin(244,8267 + def setUp(248,8401 + def test_counting(255,8561 + def test_setUpRan(261,8714 + def test_results(268,8927 + def test_reasons(282,9549 +class SynchronousSkipClassTests(295,9981 +class AsynchronousSkipClassTests(306,10295 +class TodoMixin(317,10601 + def setUp(322,10765 + def test_counting(328,10873 + def test_results(334,11003 + def test_expectedFailures(352,11916 + def test_unexpectedSuccesses(362,12280 + def test_expectedSetUpFailure(372,12631 + def test_expectedTearDownFailure(387,13285 +class SynchronousTodoTests(407,14158 +class AsynchronousTodoTests(420,14597 +class ClassTodoMixin(433,15030 + def setUp(438,15187 + def test_counting(444,15300 + def test_results(450,15429 + def test_expectedFailures(468,16332 + def test_unexpectedSuccesses(478,16697 +class SynchronousClassTodoTests(490,17060 +class AsynchronousClassTodoTests(500,17376 +class StrictTodoMixin(510,17684 + def setUp(516,17893 + def test_counting(522,18007 + def test_results(528,18131 + def test_expectedFailures(543,18843 + def test_unexpectedSuccesses(553,19219 +class SynchronousStrictTodoTests(565,19605 +class AsynchronousStrictTodoTests(576,19964 +class ReactorCleanupTests(587,20315 + def setUp(593,20483 + def test_leftoverSockets(601,20658 + def test_leftoverPendingCalls(618,21336 +class FixtureMixin(632,21859 + def setUp(636,21964 + def test_brokenSetUp(643,22124 + def test_brokenTearDown(654,22568 + def test_tearDownRunsOnTestFailure(666,23019 +class SynchronousFixtureTests(686,23610 +class AsynchronousFixtureTests(701,24165 +class AsynchronousSuppressionTests(716,24714 +class GCMixin(734,25396 + class BasicTest(740,25585 + def setUp(744,25686 + def test_foo(749,25797 + def tearDown(754,25914 + def _log(761,26041 + def collect(767,26152 + def setUp(771,26235 + def tearDown(780,26454 +class GarbageCollectionDefaultTests(787,26569 + def test_collectNotDefault(792,26721 +class GarbageCollectionTests(803,27032 + def test_collectCalled(807,27157 +class UnhandledDeferredTests(820,27581 + def setUp(826,27745 + def test_isReported(836,28079 + def test_doesntBleed(846,28420 + def tearDown(865,29190 +class AddCleanupMixin(874,29341 + def setUp(878,29432 + def test_addCleanupCalledIfSetUpFails(886,29633 + def test_addCleanupCalledIfSetUpSkips(895,29974 + def test_addCleanupCalledInReverseOrder(906,30426 + def test_errorInCleanupIsCaptured(917,30875 + def test_cleanupsContinueRunningAfterError(931,31491 + def test_multipleErrorsReported(946,32118 +class SynchronousAddCleanupTests(965,32845 +class AsynchronousAddCleanupTests(975,33150 + def test_addCleanupWaitsForDeferreds(983,33445 + def cleanup(989,33684 +class SuiteClearingMixin(1000,34101 + def test_clearSuite(1005,34224 + def test_clearPyunitSuite(1018,34647 +class SynchronousSuiteClearingTests(1035,35233 +class AsynchronousSuiteClearingTests(1045,35543 +class TestDecoratorMixin(1055,35833 + def assertTestsEqual(1059,35927 + def assertSuitesEqual(1071,36481 + def test_usesAdaptedReporterWithRun(1086,37210 + def test_usesAdaptedReporterWithCall(1101,37798 + def test_decorateSingleTest(1117,38396 + def test_decorateTestSuite(1126,38757 + def test_decorateInPlaceMutatesOriginal(1137,39209 + def test_decorateTestSuiteReferences(1150,39735 + def test_decorateNestedTestSuite(1170,40583 + def test_decorateDecoratedSuite(1183,41151 + def test_decoratePreservesSuite(1195,41693 +class SynchronousTestDecoratorTests(1208,42170 +class AsynchronousTestDecoratorTests(1217,42448 +class MonkeyPatchMixin(1226,42706 + def setUp(1230,42819 + def test_patch(1239,43055 + def test_patchRestoredAfterRun(1247,43332 + def test_revertDuringTest(1256,43683 + def test_revertAndRepatch(1265,44051 + def test_successivePatches(1275,44401 +class SynchronousMonkeyPatchTests(1287,44905 +class AsynchronousMonkeyPatchTests(1296,45174 +class IterateTestsMixin(1305,45423 + def test_iterateTestCase(1310,45560 + def test_iterateSingletonTestSuite(1319,45810 + def test_iterateNestedTestSuite(1329,46139 + def test_iterateIsLeftToRightDepthFirst(1338,46432 +class SynchronousIterateTestsTests(1347,46750 +class AsynchronousIterateTestsTests(1357,47078 +class TrialGeneratorFunctionTests(1368,47387 + def test_errorOnGeneratorFunction(1373,47525 + class GeneratorTestCase(1379,47739 + def test_generator(1384,47874 + def test_synchronousTestCaseErrorOnGeneratorFunction(1404,48730 + class GeneratorSynchronousTestCase(1410,48974 + def test_generator(1415,49142 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_doctest.py,191 +class RunnersTests(14,270 + def test_id(19,378 + def test_basicTrialIntegration(31,776 + def _testRun(40,1053 + def test_expectedResults(50,1314 + def test_repeatable(58,1543 + +venv/lib/python2.7/site-packages/twisted/trial/test/novars.py,17 +class Bar(5,161 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_reporter.py,7272 +class BrokenStream(40,1004 + def __init__(48,1236 + def write(51,1292 + def flush(57,1464 +class StringTest(64,1633 + def stringComparison(65,1681 +class TestResultTests(86,2679 + def setUp(87,2732 + def test_pyunitAddError(90,2798 + def test_pyunitAddFailure(101,3208 +class ReporterRealtimeTests(113,3654 + def setUp(114,3700 +class ErrorReportingTests(119,3820 + def setUp(122,3902 + def getOutput(127,4058 + def getResult(132,4190 + def test_formatErroredMethod(136,4281 + def test_formatFailedMethod(158,5230 + def test_doctestError(179,6115 + def test_hiddenException(201,7136 +class UncleanWarningWrapperErrorReportingTests(243,9011 + def setUp(248,9249 +class TracebackHandlingTests(256,9452 + def getErrorFrames(258,9513 + def checkFrames(275,10040 + def test_basic(284,10524 + def test_subroutine(290,10755 + def test_deferred(297,11071 + def test_noFrames(307,11471 + def test_oneFrame(311,11595 + def test_exception(315,11743 +class FormatFailuresTests(327,12184 + def setUp(328,12223 + def test_formatDefault(340,12631 + def test_formatString(350,13027 + def test_mutation(365,13560 +class PyunitNamesTests(372,13773 + def setUp(373,13827 + def test_verboseReporter(377,13938 + def test_treeReporter(384,14210 + def test_getDescription(391,14497 + def test_minimalReporter(397,14681 + def test_minimalReporterTime(416,15360 + def test_emptyMinimalReporter(431,15857 +class DirtyReactorTests(443,16244 + def setUp(451,16563 + def test_errorByDefault(458,16784 + def test_warningsEnabled(469,17160 + def test_warningsMaskErrors(481,17631 + def test_dealsWithThreeTuples(494,18172 +class TrialNamesTests(514,19131 + def setUp(516,19185 + def test_verboseReporter(520,19293 + def test_treeReporter(526,19524 + def test_treeReporterWithDocstrings(533,19811 + def test_getDescription(539,20051 +class SkipTests(545,20235 + def setUp(549,20354 + def _getSkips(554,20515 + def test_accumulation(560,20667 + def test_success(564,20812 + def test_summary(569,20956 + def test_basicErrors(582,21424 + def test_booleanSkip(593,21785 + def test_exceptionSkip(605,22192 +class UncleanWarningSkipTests(620,22662 + def setUp(625,22819 + def _getSkips(629,22937 +class TodoTests(638,23164 + def setUp(643,23284 + def _getTodos(649,23446 + def _getUnexpectedSuccesses(656,23607 + def test_accumulation(663,23788 + def test_noTodoProvided(673,24134 + def test_success(688,24710 + def test_unexpectedSuccess(697,25030 + def test_unexpectedSuccessNoTodo(708,25480 + def test_summary(723,26112 + def test_basicErrors(738,26682 + def test_booleanTodo(750,27116 + def test_exceptionTodo(759,27444 + def test_standardLibraryCompatibilityFailure(775,27957 + class Test(780,28144 + def test_fail(782,28209 + def test_standardLibraryCompatibilitySuccess(790,28407 + class Test(795,28594 + def test_success(797,28659 +class UncleanWarningTodoTests(806,28862 + def setUp(811,28990 + def _getTodos(816,29109 + def _getUnexpectedSuccesses(824,29332 +class MockColorizer(833,29597 + def __init__(838,29720 + def write(842,29776 +class TreeReporterTests(847,29852 + def setUp(848,29907 + def makeError(855,30178 + def test_summaryColoredSuccess(863,30311 + def test_summaryColoredFailure(875,30733 + def test_getPrelude(890,31242 + def test_groupResults(907,31833 + def test_printResults(929,32673 + def formatter(935,32898 +class ReporterInterfaceTests(963,33724 + def setUp(977,34206 + def test_shouldStopInitiallyFalse(984,34439 + def test_shouldStopTrueAfterStop(991,34609 + def test_wasSuccessfulInitiallyTrue(999,34823 + def test_wasSuccessfulTrueAfterSuccesses(1006,35030 + def test_wasSuccessfulFalseAfterErrors(1015,35304 + def test_wasSuccessfulFalseAfterFailures(1026,35637 +class ReporterTests(1038,35992 + def setUp(1043,36105 + def _getTime(1049,36240 + def test_startStop(1054,36318 + def test_brokenStream(1062,36592 + def test_warning(1075,37047 + def test_duplicateWarningSuppressed(1093,37678 + def test_warningEmittedForNewTest(1105,38063 + def test_stopObserving(1138,39095 +class SafeStreamTests(1154,39572 + def test_safe(1155,39625 +class SubunitReporterTests(1168,40011 + def setUp(1178,40242 + def assertForwardsToSubunit(1189,40615 + def removeMethod(1211,41518 + def test_subunitWithoutAddExpectedFailureInstalled(1237,42430 + def test_subunitWithoutAddSkipInstalled(1255,43141 + def test_addExpectedFailurePassedThrough(1270,43691 + def addExpectedFailure(1277,44012 + def test_addSkipSendsSubunitAddSkip(1291,44562 + def addSkip(1298,44846 + def test_doneDoesNothing(1308,45195 + def test_startTestSendsSubunitStartTest(1317,45478 + def test_stopTestSendsSubunitStopTest(1324,45691 + def test_addSuccessSendsSubunitAddSuccess(1331,45899 + def test_addErrorSendsSubunitAddError(1338,46117 + def test_addFailureSendsSubunitAddFailure(1349,46432 + def test_addUnexpectedSuccessSendsSubunitAddSuccess(1360,46778 + def test_loadTimeErrors(1373,47289 +class SubunitReporterNotInstalledTests(1386,47703 + def test_subunitNotInstalled(1391,47853 +class TimingReporterTests(1403,48292 +class LoggingReporter(1408,48385 + def __init__(1413,48513 + def addError(1417,48638 + def addExpectedFailure(1420,48701 + def addFailure(1423,48787 + def addSkip(1426,48854 + def addUnexpectedSuccess(1429,48915 + def startTest(1432,48994 + def stopTest(1435,49051 +class AdaptedReporterTests(1440,49109 + def setUp(1446,49332 + def _testAdapter(1450,49408 + def assertWrapped(1454,49469 + def getFailure(1459,49634 + def getWrappedResult(1472,49948 + def test_addError(1477,50085 + def test_addFailure(1485,50330 + def test_addSkip(1493,50583 + def test_startTest(1502,50845 + def test_stopTest(1510,51060 + def test_addExpectedFailure(1518,51272 + def test_expectedFailureWithoutTodo(1527,51579 + def test_addUnexpectedSuccess(1536,51858 + def test_unexpectedSuccessWithoutTodo(1544,52125 +class FakeStream(1553,52365 + def __init__(1561,52543 + def isatty(1565,52602 +class AnsiColorizerTests(1570,52651 + def setUp(1575,52766 + def tearDown(1579,52836 + def test_supportedStdOutTTY(1584,52936 + def test_supportedNoCurses(1592,53184 + def test_supportedSetupTerm(1601,53469 + class fakecurses(1608,53783 + def setupterm(1612,53873 + def tigetnum(1615,53939 + def test_supportedTigetNumWrongError(1628,54351 + class fakecurses(1634,54617 + def tigetnum(1637,54685 + def test_supportedTigetNumNotEnoughColor(1644,54881 + class fakecurses(1649,55087 + def tigetnum(1652,55155 + def test_supportedTigetNumErrors(1659,55341 + class fakecurses(1664,55554 + def setupterm(1668,55644 + def tigetnum(1671,55710 +class ExitWrapperTests(1680,55964 + def setUp(1685,56075 + def test_stopOnFailure(1693,56348 + def test_stopOnError(1703,56690 + def test_doesNotStopOnUnexpectedSuccess(1713,57024 + +venv/lib/python2.7/site-packages/twisted/trial/test/moduleself.py,39 +class Foo(4,92 + def testFoo(6,134 + +venv/lib/python2.7/site-packages/twisted/trial/test/skipping.py,2099 +class SkippingMixin(20,573 + def test_skip1(21,602 + def test_skip2(24,661 + def test_skip3(28,772 +class SynchronousSkipping(34,870 +class AsynchronousSkipping(39,945 +class SkippingSetUpMixin(44,1010 + def setUp(45,1044 + def test_1(48,1102 + def test_2(51,1138 +class SynchronousSkippingSetUp(55,1175 +class AsynchronousSkippingSetUp(60,1260 +class DeprecatedReasonlessSkipMixin(65,1335 + def test_1(66,1380 +class SynchronousDeprecatedReasonlessSkip(71,1430 +class AsynchronousDeprecatedReasonlessSkip(77,1542 +class SkippedClassMixin(83,1644 + def setUp(85,1696 + def test_skip1(87,1757 + def test_skip2(89,1815 + def test_skip3(92,1918 + def test_skip4(94,1957 +class SynchronousSkippedClass(99,2028 +class AsynchronousSkippedClass(104,2111 +class TodoMixin(109,2184 + def test_todo1(110,2209 + def test_todo2(114,2306 + def test_todo3(118,2410 +class SynchronousTodo(125,2503 +class AsynchronousTodo(130,2570 +class SetUpTodoMixin(135,2627 + def setUp(136,2657 + def test_todo1(139,2726 +class SynchronousSetUpTodo(145,2804 +class AsynchronousSetUpTodo(150,2881 +class TearDownTodoMixin(155,2948 + def tearDown(156,2981 + def test_todo1(159,3053 +class SynchronousTearDownTodo(165,3134 +class AsynchronousTearDownTodo(170,3217 +class TodoClassMixin(175,3290 + def test_todo1(177,3339 + def test_todo2(180,3409 + def test_todo3(182,3448 + def test_todo4(185,3545 +class SynchronousTodoClass(190,3614 +class AsynchronousTodoClass(195,3691 +class StrictTodoMixin(200,3758 + def test_todo1(201,3789 + def test_todo2(205,3909 + def test_todo3(209,4040 + def test_todo4(213,4154 + def test_todo5(217,4283 + def test_todo6(221,4392 + def test_todo7(225,4505 +class SynchronousStrictTodo(231,4593 +class AsynchronousStrictTodo(236,4672 +class AddCleanupMixin(241,4741 + def setUp(242,4772 + def brokenSetUp(245,4823 + def skippingSetUp(249,4929 + def append(253,5028 + def tearDown(256,5089 + def runTest(259,5150 +class SynchronousAddCleanup(264,5211 +class AsynchronousAddCleanup(269,5290 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_pyunitcompat.py,1239 +class PyUnitTestTests(18,394 + class PyUnitTest(20,439 + def test_pass(22,479 + def setUp(26,527 + def test_callable(31,648 +class PyUnitResultTests(40,889 + class ErrorTest(49,1228 + def test_foo(57,1459 + def test_dontUseAdapterWhenReporterProvidesIReporter(65,1634 + class StubReporter(71,1876 + def __init__(79,2130 + def startTest(83,2231 + def stopTest(88,2339 + def addError(93,2446 + def test_success(105,2766 + class SuccessTest(106,2794 + def test_foo(108,2866 + def test_failure(118,3154 + class FailureTest(119,3182 + def test_foo(121,3254 + def test_error(133,3625 + def test_setUpError(143,3933 + class ErrorTest(144,3964 + def setUp(146,4034 + def test_foo(148,4083 + def test_tracebackFromFailure(159,4419 + def test_traceback(176,4989 + class ErrorTest(180,5105 + def test_foo(182,5179 + def test_tracebackFromCleanFailure(206,6065 + def test_trialSkip(225,6737 + class SkipTest(230,6901 + def test_skip(231,6946 + def test_pyunitSkip(241,7210 + class SkipTest(246,7376 + def test_skip(248,7456 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_testcase.py,311 +class TestCaseMixin(14,307 + def setUp(18,375 + def test_equality(27,654 + def test_hashability(37,1010 +class SynchronousTestCaseTests(50,1377 + class MyTestCase(51,1445 + def test_1(56,1609 +class AsynchronousTestCaseTests(63,1789 + class MyTestCase(64,1858 + def test_1(69,2000 + +venv/lib/python2.7/site-packages/twisted/trial/test/mockcustomsuite2.py,65 +class Foo(13,363 + def test_foo(14,404 +def testSuite(18,443 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_assertions.py,5695 +class MockEquality(29,1050 + def __init__(32,1127 + def __repr__(36,1184 +class ComparisonError(40,1259 + def _error(44,1373 +class TestFailureTests(51,1484 + class FailingTest(62,2001 + def test_fails(63,2054 + def setUp(67,2128 + def test_fail(79,2529 + def test_failingExceptionFails(94,3009 +class AssertFalseTests(108,3489 + def _assertFalseFalse(118,3835 + def _assertFalseTrue(130,4246 + def test_failIfFalse(150,4917 + def test_assertFalseFalse(158,5126 + def test_failIfTrue(166,5350 + def test_assertFalseTrue(175,5587 +class AssertTrueTests(185,5840 + def _assertTrueFalse(195,6191 + def _assertTrueTrue(215,6883 + def test_assertTrueFalse(227,7282 + def test_failUnlessFalse(236,7536 + def test_assertTrueTrue(245,7790 + def test_failUnlessTrue(253,8004 +class SynchronousAssertionsTests(262,8219 + def _testEqualPair(273,8713 + def _testUnequalPair(279,8894 + def test_assertEqual_basic(305,9819 + def test_assertEqual_custom(312,10028 + def test_assertEqualMessage(322,10312 + def test_assertEqualNoneMessage(335,10684 + def test_assertEqual_incomparable(349,11187 + def _raiseError(364,11686 + def test_failUnlessRaises_expected(368,11742 + def test_failUnlessRaises_unexpected(374,12034 + def test_failUnlessRaises_noException(387,12482 + def test_failUnlessRaises_failureException(398,12869 + def test_assertRaisesContextExpected(414,13527 + def test_assertRaisesContextUnexpected(429,14023 + def test_assertRaisesContextNoException(453,14996 + def test_brokenName(472,15828 + def test_failIfEqual_basic(498,16863 + def test_failIfEqual_customEq(509,17293 + def test_failIfIdenticalPositive(521,17760 + def test_failIfIdenticalNegative(532,18073 + def test_failUnlessIdentical(542,18392 + def test_failUnlessApproximates(553,18887 + def test_failUnlessAlmostEqual(565,19431 + def test_failIfAlmostEqual(578,19937 + def test_failUnlessSubstring(592,20499 + def test_failIfSubstring(605,20991 + def test_assertIs(618,21463 + def test_assertIsError(626,21637 + def test_assertIsNot(635,21918 + def test_assertIsNotError(644,22162 + def test_assertIsInstance(652,22391 + def test_assertIsInstanceMultipleClasses(661,22594 + def test_assertIsInstanceError(671,22876 + def test_assertIsInstanceErrorMultipleClasses(681,23157 + def test_assertIsInstanceCustomMessage(692,23516 + def test_assertNotIsInstance(704,23959 + def test_assertNotIsInstanceMultipleClasses(714,24208 + def test_assertNotIsInstanceError(725,24535 + def test_assertNotIsInstanceErrorMultipleClasses(736,24903 + def test_assertDictEqual(746,25234 +class WarningAssertionTests(758,25678 + def test_assertWarns(759,25737 + def deprecated(763,25832 + def test_assertWarnsRegistryClean(771,26094 + def deprecated(776,26279 + def test_assertWarnsError(788,26729 + def normal(792,26853 + def test_assertWarnsWrongCategory(799,27051 + def deprecated(803,27181 + def test_assertWarnsWrongMessage(811,27453 + def deprecated(815,27581 + def test_assertWarnsWrongFile(823,27860 + def deprecated(828,28070 + def test_assertWarnsOnClass(848,29187 + class Warn:Warn852,29313 + def __init__(853,29333 + def test_assertWarnsOnMethod(863,29712 + class Warn:Warn867,29840 + def deprecated(868,29860 + def test_assertWarnsOnCall(880,30302 + class Warn:Warn884,30432 + def __call__(885,30452 + def test_assertWarnsFilter(897,30870 + def deprecated(901,30991 + def test_assertWarnsMultipleWarnings(909,31267 + def deprecated(914,31469 + def f(916,31575 + def test_assertWarnsDifferentWarnings(923,31740 + def deprecated(928,31949 + def test_assertWarnsAfterUnassertedWarning(937,32364 + class TheWarning(942,32593 + def f(945,32646 +class ResultOfAssertionsTests(954,32906 + def test_withoutSuccessResult(963,33197 + def test_successResultOfWithFailure(973,33525 + def test_successResultOfWithFailureHasTraceback(983,33866 + def test_withoutFailureResult(995,34329 + def test_failureResultOfWithSuccess(1005,34657 + def test_failureResultOfWithWrongFailure(1014,34999 + def test_failureResultOfWithWrongFailureOneExpectedFailure(1025,35387 + def test_failureResultOfWithWrongFailureMultiExpectedFailure(1043,36174 + def test_withSuccessResult(1063,37071 + def test_withExpectedFailureResult(1074,37486 + def test_withFailureResult(1087,38032 + def test_assertNoResultSuccess(1098,38458 + def test_assertNoResultFailure(1108,38837 + def test_assertNoResult(1118,39214 + def test_assertNoResultPropagatesSuccess(1125,39373 + def test_assertNoResultPropagatesLaterFailure(1137,39801 + def test_assertNoResultSwallowsImmediateFailure(1149,40238 +class AssertionNamesTests(1164,40695 + def _getAsserts(1168,40838 + def _name(1173,41009 + def test_failUnlessMatchesAssert(1177,41061 + def test_failIf_matches_assertNot(1192,41753 + def test_equalSpelling(1198,42070 +class CallDeprecatedTests(1212,42671 + def test_callDeprecatedSuppressesWarning(1219,42875 + def test_callDeprecatedCallsFunction(1229,43205 + def test_failsWithoutDeprecation(1238,43489 + def notDeprecated(1243,43648 + def test_failsWithIncorrectDeprecation(1252,43927 + def test_nestedDeprecation(1266,44481 + def nestedDeprecation(1276,44900 + def test_callDeprecationWithMessage(1290,45481 + def test_callDeprecationWithWrongMessage(1299,45758 +def oldMethod(1316,46322 +def oldMethodReplaced(1324,46472 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_keyboard.py,834 +class TrialTest(16,307 + def setUp(17,354 +class InterruptInTestTests(23,504 + class InterruptedTest(24,543 + def test_02_raiseInterrupt(25,589 + def test_01_doNothing(28,668 + def test_03_doNothing(31,723 + def setUp(34,823 + def test_setUpOK(39,1034 + def test_interruptInTest(44,1223 +class InterruptInSetUpTests(52,1537 + class InterruptedTest(55,1595 + def setUp(56,1641 + def test_01(60,1758 + def test_02(63,1834 + def setUp(67,1963 + def test_setUpOK(74,2224 + def test_interruptInSetUp(80,2473 +class InterruptInTearDownTests(88,2768 + class InterruptedTest(91,2829 + def tearDown(92,2875 + def test_01(96,2998 + def test_02(99,3077 + def setUp(103,3212 + def test_setUpOK(110,3485 + def test_interruptInTearDown(116,3737 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_plugins.py,101 +class PluginsTests(15,275 + def getPluginsByLongOption(20,382 + def test_subunitPlugin(37,941 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_script.py,3415 +def sibpath(26,691 +class ForceGarbageCollectionTests(34,821 + def setUp(39,940 + def simpleTest(47,1171 + def collect(54,1314 + def makeRunner(61,1462 + def test_forceGc(70,1694 + def test_unforceGc(83,2149 +class SuiteUsedTests(94,2411 + def setUp(99,2538 + def test_defaultSuite(106,2668 + def test_untilFailureSuite(114,2908 +class TestModuleTests(125,3231 + def setUp(126,3284 + def tearDown(129,3344 + def test_testNames(132,3396 + def assertSuitesEqual(139,3610 + def test_baseState(147,3876 + def test_testmoduleOnModule(150,3962 + def test_testmoduleTwice(159,4343 + def test_testmoduleOnSourceAndTarget(169,4771 + def test_testmoduleOnSelfModule(180,5259 + def test_testmoduleOnScript(189,5657 + def test_testmoduleOnNonexistentFile(199,6073 + def test_testmoduleOnEmptyVars(215,6682 + def test_testmoduleOnModuleName(223,6984 + def test_parseLocalVariable(239,7615 + def test_trailingSemicolon(246,7941 + def test_parseLocalVariables(253,8267 + def test_surroundingGuff(262,8676 + def test_invalidLine(270,9032 + def test_invalidDeclaration(274,9168 + def test_variablesFromFile(282,9571 + def test_noVariablesInFile(288,9827 + def test_variablesFromScript(292,9973 + def test_getTestModules(299,10265 + def test_getTestModules_noVars(303,10433 + def test_getTestModules_multiple(307,10579 + def test_looksLikeTestModule(313,10863 +class WithoutModuleTests(323,11379 + def setUp(328,11489 + def tearDown(337,11719 + def _checkSMTP(348,12019 + def _checkIMAP(356,12177 + def test_disableOneModule(364,12335 + def test_disableMultipleModules(376,12770 + def test_disableAlreadyImportedModule(391,13363 +class CoverageTests(404,13853 + def setUp(412,14098 + def test_tracerInstalled(420,14292 + def test_coverdirDefault(430,14618 + def test_coverdirOverridden(441,15002 +class OptionsTests(454,15410 + def setUp(459,15498 + def test_getWorkerArguments(466,15644 + def test_jobsConflictWithDebug(484,16344 + def test_jobsConflictWithProfile(497,16819 + def test_jobsConflictWithDebugStackTraces(511,17314 + def test_jobsConflictWithExitFirst(526,17848 + def test_orderConflictWithRandom(541,18351 +class MakeRunnerTests(555,18797 + def setUp(560,18897 + def test_jobs(563,18958 + def test_dryRunWithJobs(576,19480 + def test_DebuggerNotFound(587,19914 + def namedAnyExceptdoNotFind(590,19994 + def test_exitfirst(603,20418 +class RunTests(613,20738 + def setUp(618,20825 + def test_debuggerNotFound(624,21073 + def _makeRunner(630,21215 +class TestArgumentOrderTests(643,21562 + def setUp(648,21704 + def test_preserveArgumentOrder(653,21800 +class OrderTests(674,22400 + def setUp(678,22487 + def test_alphabetical(682,22548 + def test_alphabeticalModule(702,23259 + def test_alphabeticalPackage(722,24086 + def test_toptobottom(737,24651 + def test_toptobottomModule(758,25426 + def test_toptobottomPackage(778,26297 + def test_toptobottomMissingSource(797,26995 + class TestMissing(808,27484 + def test_second(809,27521 + def test_third(810,27561 + def test_fourth(811,27600 + def test_first(812,27640 + def test_unknownOrder(835,28652 +class HelpOrderTests(845,28887 + def test_help_ordersPrintsSynopsisAndQuits(849,28982 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_log.py,1024 +def makeFailure(16,355 +class Mask(28,524 + class FailureLoggingMixin(32,618 + def test_silent(33,657 + def test_single(38,755 + def test_double(44,886 + def test_singleThenFail(52,1049 + class SynchronousFailureLogging(60,1221 + class AsynchronousFailureLogging(64,1324 + def test_inCallback(65,1402 +class ObserverTests(73,1605 + def setUp(78,1794 + def test_msg(83,1910 + def test_error(93,2271 + def test_flush(105,2688 + def _makeRuntimeFailure(116,3045 + def test_flushByType(120,3141 + def test_ignoreErrors(134,3756 + def test_clearIgnores(147,4247 +class LogErrorsMixin(163,4801 + def setUp(169,4941 + def tearDown(172,5007 + def test_singleError(176,5083 + def test_twoErrors(188,5504 + def test_errorsIsolated(199,5827 + def test_errorsIsolatedWhenTestFails(212,6254 + def test_boundedObservers(231,6860 +class SynchronousLogErrorsTests(245,7342 +class AsynchronousLogErrorsTests(250,7470 + def test_inCallback(253,7587 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_deferred.py,1171 +class SetUpTests(18,358 + def _loadSuite(19,395 + def test_success(25,568 + def test_fail(31,777 + def test_callbackFail(41,1210 + def test_error(51,1675 + def test_skip(61,2112 +class NeverFireTests(73,2592 + def setUp(74,2633 + def tearDown(78,2756 + def _loadSuite(81,2838 + def test_setUp(87,3011 +class TestTester(99,3532 + def getTest(100,3569 + def runTest(103,3653 +class DeferredTests(109,3784 + def getTest(110,3817 + def test_pass(113,3890 + def test_passGenerated(118,4052 + def test_passInlineCallbacks(127,4412 + def test_fail(136,4755 + def test_failureInCallback(142,4968 + def test_errorInCallback(148,5207 + def test_skip(154,5440 + def test_todo(161,5705 + def test_thread(169,6034 +class TimeoutTests(176,6217 + def getTest(177,6249 + def _wasTimeout(180,6321 + def test_pass(184,6463 + def test_passDefault(189,6625 + def test_timeout(194,6801 + def test_timeoutZero(201,7064 + def test_skip(208,7335 + def test_todo(214,7544 + def test_errorPropagation(221,7831 + def test_classTimeout(227,8074 + def test_callbackReturnsNonCallingDeferred(235,8384 + +venv/lib/python2.7/site-packages/twisted/trial/test/sample.py,579 +class FooTest(14,358 + def test_foo(17,405 + def test_bar(21,444 +def badDecorator(26,484 + def nameCollision(31,649 +def goodDecorator(37,752 + def nameCollision(41,847 +class DecorationTest(47,977 + def test_badDecorator(48,1029 + def test_goodDecorator(56,1265 + def renamedDecorator(63,1456 + def nameCollision(71,1691 +class PyunitTest(78,1812 + def test_foo(81,1849 + def test_bar(85,1888 +class NotATest(90,1928 + def test_foo(93,1954 +class AlphabetTest(98,1994 + def test_a(101,2046 + def test_b(105,2083 + def test_c(109,2120 + +venv/lib/python2.7/site-packages/twisted/trial/test/ordertests.py,226 +class FooTest(12,222 + def test_first(17,343 + def test_second(21,384 + def test_third(25,426 + def test_fourth(29,467 +class BazTest(34,510 + def test_baz(39,650 +class BarTest(44,690 + def test_bar(49,830 + +venv/lib/python2.7/site-packages/twisted/trial/test/mockcustomsuite.py,66 +class Foo(13,365 + def test_foo(14,406 +def test_suite(18,445 + +venv/lib/python2.7/site-packages/twisted/trial/test/packages.py,822 + def invalidateImportCaches(23,530 +class FooTest(31,707 + def testFoo(32,752 +class FooTest(48,1108 + def test_foo(49,1153 + def test_bar(52,1191 +class PyunitTest(56,1230 + def test_foo(57,1265 + def test_bar(60,1303 +class NotATest(64,1342 + def test_foo(65,1366 +class AlphabetTest(69,1405 + def test_a(70,1455 + def test_b(73,1491 + def test_c(76,1527 +class X(88,1820 + def test_foo(90,1838 +class A(93,1876 +class B(96,1928 +class PackageTest(101,1985 + def _toModuleName(123,2876 + def getModules(131,3087 + def cleanUpModules(138,3292 + def createFiles(149,3547 + def _createDirectory(157,3824 + def setUp(163,3991 + def tearDown(171,4211 +class SysPathManglingTest(176,4268 + def setUp(177,4308 + def tearDown(188,4631 + def mangleSysPath(193,4733 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_asyncassertions.py,398 +class AsynchronousAssertionsTests(17,341 + def test_assertFailure(22,518 + def test_assertFailure_wrongException(27,655 + def test_assertFailure_noException(35,943 + def test_assertFailure_moreInfo(43,1219 + def _checkInfo(58,1650 + def test_assertFailure_masked(65,1916 + class ExampleFailure(69,2046 + class TC(72,2105 + def test_assertFailure(74,2188 + +venv/lib/python2.7/site-packages/twisted/trial/test/erroneous.py,1348 +class FoolishError(19,547 +class FailureInSetUpMixin(24,590 + def setUp(25,625 + def test_noop(28,704 +class SynchronousTestFailureInSetUp(33,745 +class AsynchronousTestFailureInSetUp(39,850 +class FailureInTearDownMixin(45,945 + def tearDown(46,983 + def test_noop(49,1068 +class SynchronousTestFailureInTearDown(54,1109 +class AsynchronousTestFailureInTearDown(60,1220 +class FailureButTearDownRunsMixin(66,1321 + def tearDown(72,1452 + def test_fails(76,1507 +class SynchronousTestFailureButTearDownRuns(84,1636 +class AsynchronousTestFailureButTearDownRuns(90,1761 +class TestRegularFail(96,1876 + def test_fail(98,1930 + def test_subfail(102,1985 + def subroutine(106,2041 +class TestAsynchronousFail(111,2105 + def test_fail(116,2227 + def _later(126,2484 + def test_exception(130,2547 +class ErrorTest(138,2694 + def test_foo(146,2910 +class TestSkipTestCase(155,3062 +class DelayedCall(161,3173 + def go(164,3257 + def testHiddenException(167,3328 +class ReactorCleanupTests(187,4090 + def test_leftoverPendingCalls(188,4136 + def _(189,4177 +class SocketOpenTest(193,4259 + def test_socketsLeftOpen(194,4300 +class TimingOutDeferred(199,4439 + def test_alpha(200,4483 + def test_deferredThatNeverFires(203,4523 + def test_omega(208,4646 +def unexpectedException(212,4687 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_loader.py,2669 +def testNames(27,557 +class FinderTests(38,768 + def setUp(42,872 + def tearDown(46,977 + def test_findPackage(49,1046 + def test_findModule(54,1208 + def test_findFile(59,1410 + def test_findObject(65,1638 + def test_findNonModule(81,2376 + def test_findNonPackage(86,2571 + def test_findNonFile(91,2742 +class FileTests(97,2901 + def test_notFile(101,3006 + def test_moduleInPath(110,3294 + def test_moduleNotInPath(120,3659 + def test_packageInPath(143,4765 + def test_packageNotInPath(154,5170 + def test_directoryNotPackage(177,6174 + def test_filenameNotPython(192,6761 + def test_filenameMatchesPackage(203,7137 + def test_directory(217,7605 +class LoaderTests(236,8305 + def setUp(240,8405 + def test_sortCases(245,8519 + def test_loadMethod(258,9141 + def test_loadFailingMethod(265,9396 + def test_loadFailure(275,9756 + def test_loadNonMethod(288,10198 + def test_loadBadDecorator(298,10634 + def test_loadGoodDecorator(313,11249 + def test_loadRenamedDecorator(327,11850 + def test_loadClass(342,12479 + def test_loadNonClass(350,12792 + def test_loadNonTestCase(360,13232 + def test_loadModule(366,13424 + def test_loadNonModule(372,13603 + def test_loadPackage(383,14086 + def test_loadNonPackage(389,14252 + def test_loadModuleAsPackage(400,14740 + def test_loadPackageRecursive(406,14963 + def test_loadAnythingOnModule(412,15153 + def test_loadAnythingOnClass(419,15410 + def test_loadAnythingOnMethod(425,15607 + def test_loadAnythingOnPackage(431,15814 + def test_loadAnythingOnPackageRecursive(438,16060 + def test_loadAnythingOnString(445,16330 + def test_importErrors(452,16586 + def test_differentInstances(465,17084 + class DistinctInstances(471,17310 + def test_1(472,17360 + def test_2(475,17431 + def test_loadModuleWith_test_suite(484,17689 + def test_loadModuleWith_testSuite(495,18099 + def test_loadModuleWithBothCustom(506,18509 + def test_customLoadRaisesAttributeError(516,18884 + def testSuite(521,19072 + def assertSuitesEqual(534,19596 + def test_loadByNamesDuplicate(542,19798 + def test_loadByNamesPreservesOrder(552,20133 + def test_loadDifferentNames(568,20736 + def test_loadInheritedMethods(577,21094 +class ZipLoadingTests(603,21929 + def setUp(604,21965 +class PackageOrderingTests(613,22212 + def setUp(615,22271 + def _trialSortAlgorithm(624,22635 + def loadSortedPackages(669,24552 + def test_sortPackagesDefaultOrder(690,25419 + def test_sortPackagesSillyOrder(694,25500 + def sillySorter(695,25543 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_suppression.py,392 +class SuppressionMixin(17,332 + def runTests(22,481 + def _load(26,553 + def _assertWarnings(37,881 + def test_setUpSuppression(57,1599 + def test_tearDownSuppression(72,2201 + def test_suppressMethod(87,2815 + def test_suppressClass(101,3338 + def test_suppressModule(118,4019 + def test_overrideSuppressClass(135,4679 +class SynchronousSuppressionTests(155,5515 + +venv/lib/python2.7/site-packages/twisted/trial/test/scripttest.py,18 +class Foo(13,438 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_warning.py,1454 +class Mask(20,492 + class MockTests(24,604 + def test_unflushed(32,888 + def test_flushed(39,1062 +class FlushWarningsTests(48,1288 + def assertDictSubset(54,1448 + def assertDictSubsets(63,1729 + def test_none(74,2105 + def test_several(82,2301 + def test_repeated(101,2985 + def test_cleared(116,3453 + def test_unflushed(130,3934 + def test_flushed(154,4850 + def test_warningsConfiguredAsErrors(168,5268 + class CustomWarning(174,5520 + def test_flushedWarningsConfiguredAsErrors(196,6303 + class CustomWarning(202,6574 + def test_multipleFlushes(218,6995 + def test_filterOnOffendingFunction(229,7368 + def one(237,7738 + def two(242,7903 + def test_functionBoundaries(256,8343 + def warner(261,8538 + def test_invalidFilter(271,8821 + def test_missingSource(282,9231 +def foo(292,9651 + def test_renamedSource(307,10208 +def foo(323,11019 +class FakeWarning(364,12329 +class CollectWarningsTests(369,12369 + def test_callsObserver(373,12469 + def f(381,12758 + def test_suppresses(398,13330 + def test_callsFunction(409,13708 + def f(417,13934 + def test_duplicateWarningCollected(426,14226 + def f(440,14973 + def test_immutableObject(451,15288 + def test_setWarningRegistryChangeWhileIterating(463,15664 + class A(476,16227 + def __init__(477,16252 + def __setattr__(480,16334 + +venv/lib/python2.7/site-packages/twisted/trial/test/suppression.py,845 +class MethodWarning(25,591 +class ClassWarning(28,631 +class ModuleWarning(31,670 +class EmitMixin(36,712 + def _emit(41,799 +class SuppressionMixin(47,991 + def testSuppressMethod(50,1085 + def testSuppressClass(54,1219 + def testOverrideSuppressClass(57,1274 +class SetUpSuppressionMixin(63,1383 + def setUp(64,1420 +class TearDownSuppressionMixin(69,1465 + def tearDown(70,1505 +class TestSuppression2Mixin(75,1553 + def testSuppressModule(76,1593 +class SynchronousTestSuppression(84,1708 +class SynchronousTestSetUpSuppression(89,1802 +class SynchronousTestTearDownSuppression(94,1904 +class SynchronousTestSuppression2(99,2012 +class AsynchronousTestSuppression(104,2112 +class AsynchronousTestSetUpSuppression(109,2196 +class AsynchronousTestTearDownSuppression(114,2300 +class AsynchronousTestSuppression2(119,2410 + +venv/lib/python2.7/site-packages/twisted/trial/test/mockcustomsuite3.py,88 +class Foo(14,421 + def test_foo(15,462 +def test_suite(19,501 +def testSuite(25,590 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_output.py,685 +def runTrial(25,474 +class ImportErrorsTests(39,861 + def runTrial(46,1077 + def _print(50,1176 + def assertIn(55,1249 + def assertNotIn(62,1485 + def test_trialRun(69,1727 + def test_nonexistentModule(73,1782 + def test_nonexistentPackage(80,1972 + def test_nonexistentPackageWithModule(88,2190 + def test_badpackage(96,2432 + def test_moduleInBadpackage(104,2636 + def test_badmodule(112,2872 + def test_badimport(121,3141 + def test_recurseImport(130,3416 + def test_recurseImportErrors(140,3712 + def test_nonRecurseImportErrors(151,4042 + def test_regularRun(159,4265 + def test_filename(168,4522 + def test_dosFile(179,4864 + +venv/lib/python2.7/site-packages/twisted/trial/test/detests.py,1522 +class DeferredSetUpOK(16,399 + def setUp(17,441 + def _cb_setUpCalled(22,559 + def test_ok(25,633 +class DeferredSetUpFail(29,701 + def setUp(32,769 + def test_ok(35,846 +class DeferredSetUpCallbackFail(40,960 + def setUp(43,1036 + def _cb_setUpCalled(48,1154 + def test_ok(51,1235 +class DeferredSetUpError(55,1312 + def setUp(58,1381 + def test_ok(61,1463 +class DeferredSetUpNeverFire(65,1533 + def setUp(68,1606 + def test_ok(71,1660 +class DeferredSetUpSkip(75,1734 + def setUp(78,1802 + def _cb1(83,1909 + def test_ok(86,1982 +class DeferredTests(90,2051 + def _cb_fail(93,2112 + def _cb_error(96,2171 + def _cb_skip(99,2240 + def _touchClass(102,2313 + def setUp(105,2388 + def test_pass(108,2449 + def test_passGenerated(111,2515 + def test_passInlineCallbacks(121,2851 + def test_fail(128,3033 + def test_failureInCallback(131,3118 + def test_errorInCallback(136,3245 + def test_skip(141,3372 + def test_thread(147,3526 + def test_expectedFailure(150,3606 +class TimeoutTests(157,3784 + def test_pass(160,3844 + def test_passDefault(166,3993 + def test_timeout(172,4154 + def test_timeoutZero(176,4246 + def test_expectedFailure(180,4344 + def test_skip(185,4518 + def test_errorPropagation(190,4659 + def timedOut(191,4696 + def test_calledButNeverCallback(199,4906 + def neverFire(201,4978 +class TestClassTimeoutAttribute(209,5160 + def setUp(212,5231 + def testMethod(215,5287 + +venv/lib/python2.7/site-packages/twisted/trial/test/mockdoctest.py,201 +class Counter(8,205 + def __init__(28,568 + def __iadd__(32,686 + def __eq__(46,1088 + def __ne__(60,1409 + def incr(69,1595 + def value(88,2291 + def unexpectedException(97,2478 + +venv/lib/python2.7/site-packages/twisted/trial/test/moduletest.py,17 +class Foo(9,281 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_runner.py,5055 +class CapturingDebugger(32,845 + def __init__(34,879 + def runcall(37,929 +class CapturingReporter(44,1071 + def __init__(55,1279 + def startTest(68,1633 + def stopTest(76,1860 + def cleanupErrors(84,2073 + def addSuccess(91,2299 + def done(95,2374 +class TrialRunnerTestsMixin(102,2476 + def tearDown(106,2581 + def test_empty(110,2646 + def _getObservers(116,2750 + def test_addObservers(120,2826 + def test_logFileAlwaysActive(131,3166 + def setUpLogFile(137,3349 + def test_logFileGetsClosed(147,3697 + def setUpLogFile(153,3883 +class TrialRunnerTests(163,4150 + def setUp(168,4347 + def test_publisher(174,4540 +class TrialRunnerWithUncleanWarningsReporterTests(184,4836 + def setUp(191,5099 +class DryRunMixin(199,5356 + def setUp(205,5496 + def makeTestFixtures(214,5802 + def test_empty(221,5955 + def test_singleCaseReporting(230,6197 + def test_testsNotRun(239,6513 +class SynchronousDryRunTests(248,6721 + def makeTestFixtures(252,6888 + class PyunitCase(253,6920 + def test_foo(254,6976 +class DryRunTests(261,7115 + def makeTestFixtures(265,7252 + class MockTest(266,7284 + def test_foo(267,7327 +class PyUnitDryRunTests(274,7487 + def makeTestFixtures(278,7640 + class PyunitCase(279,7672 + def test_foo(280,7715 +class RunnerTests(287,7854 + def setUp(288,7903 + def getPlugins(307,8550 + def tearDown(326,9489 + def parseOptions(330,9557 + def getRunner(334,9632 + def test_runner_can_get_reporter(351,10452 + def test_runner_get_result(358,10668 + def test_uncleanWarningsOffByDefault(365,10878 + def test_getsUncleanWarnings(377,11349 + def test_runner_working_directory(389,11852 + def test_concurrentImplicitWorkingDirectory(395,12057 + class ConcurrentCase(419,12919 + def test_first(420,12979 + def test_second(434,13615 + def test_concurrentExplicitWorkingDirectory(450,14148 + class ConcurrentCase(463,14620 + def test_concurrent(464,14680 + def test_failure(473,15055 + def test_runner_normal(485,15415 + def runSampleSuite(496,15866 + def test_runnerDebug(502,16051 + def test_runnerDebuggerDefaultsToPdb(515,16559 + def runcall(524,16867 + def test_runnerDebuggerWithExplicitlyPassedPdb(533,17090 + def runcall(544,17448 + def test_runnerDebugger(556,17709 + def test_exitfirst(573,18285 +class TrialSuiteTests(585,18658 + def test_imports(587,18712 +class UntilFailureTests(593,18863 + class FailAfter(594,18918 + def test_foo(599,19057 + def setUp(605,19205 + def test_runUntilFailure(612,19454 + def _getFailures(623,19820 + def test_runUntilFailureDecorate(630,19985 + def decorate(636,20208 + def test_runUntilFailureForceGCDecorate(647,20580 + def decorate(653,20808 +class UncleanUntilFailureTests(668,21304 + def setUp(674,21471 + def _getFailures(679,21674 +class BreakingSuite(688,21910 + def run(693,22020 +class LoggedErrorsTests(701,22201 + def tearDown(709,22537 + def test_construct(713,22608 + def test_capturesError(722,22847 +class TestHolderTests(735,23287 + def setUp(737,23341 + def test_holder(742,23463 + def test_holderImplementsITestCase(752,23827 + def test_runsWithStandardResult(763,24202 +class ErrorHolderTestsMixin(775,24524 + class TestResultStub(787,25006 + def __init__(791,25096 + def startTest(794,25154 + def stopTest(797,25207 + def addError(800,25259 + def test_runsWithStandardResult(804,25348 + def test_run(815,25671 + def test_call(825,25965 + def test_countTestCases(835,26259 + def test_repr(842,26441 +class FailureHoldingErrorHolderTests(856,26787 + def setUp(861,27023 +class ExcInfoHoldingErrorHolderTests(873,27398 + def setUp(878,27647 +class MalformedMethodTests(891,28068 + class ContainMalformed(895,28219 + def test_foo(899,28365 + def test_bar(901,28416 + def _test(905,28510 + def test_extraArg(917,28982 + def test_noArg(923,29127 + def test_decorated(929,29274 +class DestructiveTestSuiteTests(937,29407 + def test_basic(942,29532 + class MockTest(947,29669 + def test_foo(948,29710 + def test_shouldStop(959,30063 + class MockTest(965,30246 + def test_foo1(966,30289 + def test_foo2(968,30355 + def test_foo3(970,30430 + def test_cleanup(983,30876 + class MockTest(988,31029 + def test_foo(989,31070 +class RunnerDeprecationTests(1000,31383 + class FakeReporter(1002,31444 + def printErrors(1013,31758 + def printSummary(1016,31814 + def write(1019,31871 + def writeln(1022,31921 + def test_reporterDeprecations(1026,31974 + def f(1034,32270 +class QualifiedNameWalkerTests(1051,32937 + def test_walksDownPath(1056,33071 +class TrialMainDoesNothingTests(1071,33643 + def test_importDoesNothing(1076,33825 + +venv/lib/python2.7/site-packages/twisted/trial/test/test_util.py,2974 +class MktempTests(30,703 + def test_name(35,863 + def test_unique(46,1246 + def test_created(54,1438 + def test_location(64,1731 +class RunSequentiallyTests(73,1968 + def assertDeferredResult(81,2215 + def test_emptyList(90,2526 + def test_singleSynchronousSuccess(99,2813 + def test_singleSynchronousFailure(109,3178 + def check(115,3459 + def test_singleAsynchronousSuccess(123,3725 + def test_singleAsynchronousFailure(132,4100 + def check(138,4382 + def test_callablesCalledInOrder(146,4637 + def append(154,4838 + def test_continuesAfterError(170,5329 + def check(176,5590 + def test_stopOnFirstError(186,5970 + def check(193,6322 +class DirtyReactorAggregateErrorTests(202,6591 + def test_formatDelayedCall(207,6717 + def test_formatSelectables(220,7061 + def test_formatDelayedCallsAndSelectables(233,7380 +class StubReactor(251,7861 + def __init__(262,8282 + def iterate(275,8685 + def getDelayedCalls(282,8826 + def removeAll(289,8953 +class StubErrorReporter(298,9145 + def __init__(307,9379 + def addError(311,9430 +class JanitorTests(319,9581 + def test_cleanPendingSpinsReactor(324,9666 + def test_cleanPendingCancelsCalls(337,10155 + def func(341,10302 + def test_cleanPendingReturnsDelayedCallStrings(352,10670 + def test_cleanReactorRemovesSelectables(370,11491 + def test_cleanReactorKillsProcesses(380,11803 + class StubProcessTransport(385,11978 + def __init__(391,12194 + def signalProcess(394,12261 + def test_cleanReactorReturnsSelectableStrings(407,12649 + class Selectable(412,12860 + def __repr__(417,13021 + def test_postCaseCleanupNoErrors(425,13262 + def test_postCaseCleanupWithErrors(438,13710 + def test_postClassCleanupNoErrors(458,14566 + def test_postClassCleanupWithPendingCallErrors(471,14999 + def test_postClassCleanupWithSelectableErrors(490,15821 +class RemoveSafelyTests(507,16452 + def test_removeSafelyNoTrialMarker(511,16551 + def test_removeSafelyRemoveFailsMoveSucceeds(523,17015 + def dummyRemove(529,17245 + def test_removeSafelyRemoveFailsMoveFails(552,18027 + def dummyRemove(558,18306 + def dummyMoveTo(565,18535 +class ExcInfoTests(592,19500 + def test_excInfo(596,19601 + def test_failure(605,19919 +class AcquireAttributeTests(619,20354 + def test_foundOnEarlierObject(623,20455 + def test_foundOnLaterObject(633,20812 + def test_notFoundException(642,21151 + def test_notFoundDefault(650,21434 +class ListToPhraseTests(661,21784 + def test_empty(668,22040 + def test_oneWord(678,22285 + def test_twoWords(688,22533 + def test_threeWords(698,22803 + def test_fourWords(708,23116 + def test_notString(718,23454 + def test_stringTypeError(728,23748 + def test_iteratorTypeError(737,24052 + def test_generatorTypeError(746,24359 + def sample(750,24479 + +venv/lib/python2.7/site-packages/twisted/trial/test/weird.py,65 +class TestBleeding(9,148 + def test_unhandledDeferred(16,493 + +venv/lib/python2.7/site-packages/twisted/trial/util.py,668 +class DirtyReactorAggregateError(40,1145 + def __init__(50,1513 + def __str__(55,1651 +class _Janitor(72,2191 + def __init__(81,2471 + def postCaseCleanup(92,2773 + def postClassCleanup(105,3202 + def _getReactor(120,3796 + def _cleanPending(131,4071 + def _cleanThreads(155,4909 + def _cleanReactor(166,5412 +def acquireAttribute(182,5915 +def excInfoOrFailureToExcInfo(197,6427 +def suppress(213,6935 +def profiled(242,7930 + def _(243,7959 +def _runSequentially(258,8282 +class _NoTrialMarker(286,9236 +def _removeSafely(296,9448 +class _WorkingDirectoryBusy(323,10346 +def _unusedTestDirectory(331,10518 +def _listToPhrase(378,12209 + +venv/lib/python2.7/site-packages/twisted/trial/itrial.py,702 +class ITestCase(16,249 + def __call__(25,483 + def countTestCases(31,607 + def id(37,724 + def run(44,862 + def shortDescription(52,1006 +class IReporter(59,1109 + def startTest(84,1915 + def stopTest(92,2098 + def startSuite(100,2267 + def endSuite(109,2463 + def cleanupErrors(118,2647 + def upDownError(128,2870 + def addSuccess(144,3457 + def addError(150,3542 + def addFailure(161,3919 + def addExpectedFailure(172,4299 + def addUnexpectedSuccess(188,4861 + def addSkip(202,5315 + def printSummary(212,5607 + def printErrors(220,5761 + def write(229,6000 + def writeln(237,6174 + def wasSuccessful(244,6341 + def done(251,6521 + +venv/lib/python2.7/site-packages/twisted/trial/reporter.py,3677 +class BrokenTestCaseWarning(38,842 +class SafeStream(45,978 + def __init__(51,1148 + def __getattr__(55,1217 + def write(59,1296 +class TestResult(65,1422 + def __init__(76,1791 + def __repr__(85,2011 + def _getTime(93,2352 + def _getFailure(97,2405 + def startTest(106,2659 + def stopTest(116,2912 + def addFailure(126,3179 + def addError(136,3441 + def addSkip(146,3716 + def addUnexpectedSuccess(160,4121 + def addExpectedFailure(177,4762 + def addSuccess(194,5322 + def wasSuccessful(203,5494 + def done(218,6055 +class TestResultDecorator(226,6178 +class UncleanWarningsReporterWrapper(238,6526 + def addError(244,6698 +class _ExitWrapper(259,7148 + def addError(265,7298 + def addFailure(270,7436 +class _AdaptedReporter(276,7579 + def __init__(282,7771 + def addError(293,8103 + def addExpectedFailure(301,8297 + def addFailure(318,8866 + def addSkip(326,9068 + def addUnexpectedSuccess(334,9258 + def startTest(350,9744 + def stopTest(357,9906 +class Reporter(366,10098 + def __init__(388,10925 + def _observeWarnings(403,11456 + def startTest(423,12223 + def addFailure(436,12600 + def addError(450,13085 + def _write(465,13629 + def _writeln(481,14060 + def upDownError(493,14399 + def cleanupErrors(503,14819 + def _trimFrames(510,15098 + def _formatFailureTraceback(596,18368 + def _groupResults(606,18730 + def _printResults(633,19822 + def _printExpectedFailure(651,20496 + def _printUnexpectedSuccess(656,20668 + def _printErrors(663,20875 + def _getSummary(679,21555 + def _printSummary(695,22114 + def done(707,22425 +class MinimalReporter(731,23288 + def _printErrors(737,23487 + def _printSummary(744,23630 +class TextReporter(761,24165 + def addSuccess(767,24337 + def addError(772,24447 + def addFailure(777,24555 + def addSkip(782,24667 + def addExpectedFailure(787,24773 + def addUnexpectedSuccess(792,24901 +class VerboseTextReporter(798,25034 + def startTest(808,25302 + def addSuccess(813,25428 + def addError(818,25548 + def addFailure(823,25669 + def addSkip(828,25796 + def addExpectedFailure(833,25917 + def addUnexpectedSuccess(838,26057 + def stopTest(843,26207 +class TimingTextReporter(849,26322 + def stopTest(855,26482 +class _AnsiColorizer(865,26753 + def __init__(875,27134 + def supported(879,27197 + def write(903,27969 +class _Win32Colorizer(916,28322 + def __init__(920,28403 + def supported(940,29187 + def write(960,29796 +class _NullColorizer(968,30032 + def __init__(972,30112 + def supported(976,30175 + def write(981,30279 +class SubunitReporter(987,30379 + def __init__(999,30671 + def done(1019,31560 + def shouldStop(1029,31772 + def stop(1037,31968 + def wasSuccessful(1044,32113 + def startTest(1057,32540 + def stopTest(1064,32683 + def addSuccess(1071,32826 + def addSkip(1078,32974 + def addError(1096,33599 + def addFailure(1108,33975 + def addExpectedFailure(1120,34358 + def addUnexpectedSuccess(1135,34864 +class TreeReporter(1147,35170 + def __init__(1166,35546 + def getDescription(1175,35898 + def addSuccess(1185,36191 + def addError(1190,36319 + def addFailure(1195,36446 + def addSkip(1200,36578 + def addExpectedFailure(1205,36704 + def addUnexpectedSuccess(1210,36849 + def _write(1215,37006 + def _getPreludeSegments(1222,37190 + def _testPrelude(1237,37625 + def cleanupErrors(1256,38330 + def upDownError(1262,38529 + def startTest(1269,38803 + def endLine(1280,39183 + def _printSummary(1293,39658 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/test/test_workerreporter.py,538 +class FakeAMProtocol(15,375 + def callRemote(22,517 +class WorkerReporterTests(28,628 + def setUp(33,715 + def test_addSuccess(39,882 + def test_addError(49,1189 + def test_addErrorTuple(58,1510 + def test_addFailure(70,1934 + def test_addFailureTuple(81,2311 + def test_addFailureNonASCII(93,2745 + def test_addSkip(117,3524 + def test_addExpectedFailure(126,3818 + def test_addExpectedFailureNoTodo(138,4242 + def test_addUnexpectedSuccess(150,4658 + def test_addUnexpectedSuccessNoTodo(160,5029 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/test/test_disttrial.py,1754 +class FakeTransport(36,1189 + def writeToChild(41,1272 +class CountingReactor(49,1406 + def __init__(58,1648 + def spawnProcess(63,1757 + def stop(76,2173 + def run(84,2319 +class CountingReactorTests(99,2623 + def setUp(104,2723 + def test_providesIReactorProcess(109,2825 + def test_spawnProcess(116,3030 + def test_stop(133,3669 + def test_run(143,3947 +class EternalTerminationPredicateFactory(161,4517 + def __call__(166,4652 +class DistTrialRunnerTests(174,4752 + def setUp(179,4841 + def reap(188,5095 + def getFakeSchedulerAndEternalCooperator(202,5512 + def test_writeResults(219,6070 + def test_createLocalWorkers(230,6387 + def test_launchWorkerProcesses(242,6796 + def fakeSpawnProcess(251,7107 + def test_run(267,7768 + def test_runUsedDirectory(284,8296 + class CountingReactorWithLock(290,8484 + def spawnProcess(292,8541 + def test_minimalWorker(324,9783 + def test_runUncleanWarnings(338,10202 + def test_runWithoutTest(354,10772 + def test_runWithoutTestButWithAnError(368,11279 + def test_runUnexpectedError(386,12002 + class CountingReactorWithFail(392,12176 + def spawnProcess(394,12233 + def failingRun(400,12490 + def test_runStopAfterTests(417,13088 + class CountingReactorWithSuccess(422,13263 + def spawnProcess(424,13323 + def succeedingRun(430,13583 + def check(440,13860 + def test_runWaitForProcessesDeferreds(452,14274 + def check(464,14710 + def realCheck(468,14829 + def test_runUntilFailure(484,15446 + class CountingReactorWithSuccess(491,15645 + def spawnProcess(493,15705 + def succeedingRun(499,15965 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/test/test_options.py,122 +class WorkerOptionsTests(15,253 + def setUp(20,338 + def test_standardOptions(27,490 + def test_coverage(41,977 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/test/test_workertrial.py,666 +class FakeAMP(24,534 +class WorkerLogObserverTests(31,598 + def test_emit(36,691 + class FakeClient(42,836 + def callRemote(44,871 +class MainTests(54,1171 + def setUp(59,1238 + def fdopen(68,1529 + def startLoggingWithObserver(83,2041 + def test_empty(90,2231 + def test_forwardCommand(98,2444 + def test_readInterrupted(114,3029 + class FakeStream(121,3243 + def read(124,3300 + def test_otherReadError(138,3737 + class FakeStream(144,3897 + def read(147,3954 +class SetupPathTests(158,4234 + def setUp(163,4337 + def test_overridePath(167,4419 + def test_noVariable(177,4737 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/test/test_distreporter.py,168 +class DistReporterTests(15,343 + def setUp(20,426 + def test_startSuccessStop(26,581 + def test_startErrorStop(38,1027 + def test_forwardedMethods(50,1476 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/test/test_worker.py,1385 +class FakeAMP(32,957 +class WorkerProtocolTests(39,1021 + def setUp(44,1108 + def test_run(56,1507 + def check(63,1759 + def test_start(74,2082 +class LocalWorkerAMPTests(85,2384 + def setUp(90,2515 + def pumpTransports(108,3143 + def test_runSuccess(118,3514 + def test_runExpectedFailure(132,3884 + def test_runError(148,4423 + def test_runErrorWithFrames(165,5036 + def test_runFailure(186,5901 + def test_runSkip(203,6503 + def test_runUnexpectedSuccesses(218,6949 + def test_testWrite(234,7481 + def test_stopAfterRun(253,8067 + def fakeCallRemote(261,8287 + class StopTestResult(266,8423 + def stopTest(268,8466 +class FakeAMProtocol(278,8721 + def dataReceived(285,8846 + def setTestStream(289,8914 +class FakeTransport(294,8987 + def writeToChild(301,9125 + def loseConnection(305,9197 +class LocalWorkerTests(310,9254 + def tidyLocalWorker(315,9363 + def test_childDataReceived(334,9924 + def test_outReceived(348,10539 + def test_errReceived(360,10967 + def test_write(372,11395 + def test_writeSequence(384,11786 + def test_loseConnection(396,12223 + def test_connectionLost(408,12560 + def test_processEnded(420,12960 + def test_addresses(438,13651 + def test_transport(448,14019 + def test_startError(457,14291 + def failCallRemote(463,14484 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/distreporter.py,284 +class DistReporter(21,488 + def __init__(26,581 + def startTest(31,696 + def addFailure(39,891 + def addError(47,1106 + def addSkip(55,1315 + def addUnexpectedSuccess(63,1525 + def addExpectedFailure(71,1777 + def addSuccess(79,2039 + def stopTest(86,2202 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/worker.py,943 +class WorkerProtocol(30,837 + def __init__(35,929 + def run(41,1127 + def start(53,1433 +class LocalWorkerAMP(65,1685 + def addSuccess(70,1779 + def _buildFailure(80,2015 + def addError(102,2760 + def addFailure(113,3087 + def addSkip(124,3419 + def addExpectedFailure(134,3656 + def addUnexpectedSuccess(145,3988 + def testWrite(155,4288 + def _stopTest(166,4548 + def run(174,4742 + def setTestStream(186,5079 +class LocalWorkerAddress(195,5254 +class LocalWorkerTransport(204,5454 + def __init__(210,5607 + def write(214,5680 + def writeSequence(221,5830 + def loseConnection(229,6062 + def getHost(236,6189 + def getPeer(243,6323 +class LocalWorker(251,6458 + def __init__(264,6850 + def connectionMade(271,7064 + def connectionLost(291,7993 + def processEnded(301,8243 + def outReceived(311,8569 + def errReceived(319,8709 + def childDataReceived(326,8834 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/workercommands.py,38 +class Run(17,308 +class Start(26,452 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/workertrial.py,120 +def _setupPath(19,294 +class WorkerLogObserver(39,876 + def __init__(44,991 + def emit(52,1178 +def main(64,1480 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/managercommands.py,191 +class AddSuccess(17,321 +class AddError(26,475 +class AddFailure(38,775 +class AddSkip(50,1076 +class AddExpectedFailure(60,1270 +class AddUnexpectedSuccess(71,1531 +class TestWrite(81,1751 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/disttrial.py,505 +class DistTrialRunner(29,887 + def _makeResult(43,1315 + def __init__(54,1721 + def writeResults(78,2606 + def createLocalWorkers(87,2819 + def launchWorkerProcesses(105,3450 + def _driveWorker(131,4545 + def resultErrback(149,5137 + def task(153,5255 + def run(161,5460 + def runTests(204,7081 + def nextRun(217,7547 + def stop(226,7803 + def beforeShutDown(232,7958 + def continueShutdown(238,8185 + def runUntilFailure(252,8484 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/workerreporter.py,359 +class WorkerReporter(19,424 + def __init__(30,800 + def _getFailure(40,1117 + def _getFrames(49,1371 + def addSuccess(59,1625 + def addError(69,1913 + def addFailure(86,2554 + def addSkip(103,3193 + def _getTodoReason(115,3565 + def addExpectedFailure(127,3832 + def addUnexpectedSuccess(140,4356 + def printSummary(151,4771 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/options.py,53 +class WorkerOptions(19,403 + def coverdir(25,544 + +venv/lib/python2.7/site-packages/twisted/trial/_asynctest.py,1021 +class TestCase(31,782 + def __init__(46,1404 + def assertFailure(59,1933 + def _cb(65,2220 + def _eb(69,2357 + def _run(80,2741 + def onTimeout(83,2862 + def __call__(118,4426 + def deferSetUp(122,4510 + def _ebDeferSetUp(130,4769 + def deferTestMethod(140,5121 + def _cbDeferTestMethod(150,5501 + def _ebDeferTestMethod(158,5724 + def deferTearDown(175,6318 + def _ebDeferTearDown(181,6477 + def deferRunCleanups(188,6667 + def _cbDeferRunCleanups(198,6938 + def _cleanUp(207,7265 + def _classCleanUp(224,7791 + def _makeReactorMethod(231,7971 + def _(236,8175 + def _deprecateReactor(246,8596 + def _undeprecateReactor(260,9112 + def _runCleanups(272,9457 + def _makeFunction(278,9639 + def _runFixturesAndTest(287,9953 + def addCleanup(308,10619 + def getSuppress(319,11015 + def getTimeout(323,11079 + def _wait(345,12133 + def append(353,12416 + def crash(356,12513 + def stop(362,12785 + +venv/lib/python2.7/site-packages/twisted/trial/_asyncrunner.py,366 +class TestSuite(25,454 + def run(31,605 +class TestDecorator(44,876 + def __call__(53,1174 + def run(62,1336 +def _clearSuite(73,1564 +def decorate(85,1837 +class _PyUnitTestCaseAdapter(117,2703 +class _BrokenIDTestCaseAdapter(124,2812 + def id(130,3043 +class _ForceGarbageCollectionDecorator(141,3302 + def run(148,3539 +def _iterateTests(174,4199 + +venv/lib/python2.7/site-packages/twisted/trial/runner.py,1942 +def isPackage(50,1279 +def isPackageDirectory(58,1551 + def _getSuffixes(64,1806 +def samefile(80,2196 +def filenameToModule(88,2473 +def _importFromFile(123,3754 +def _resolveDirectory(146,4433 +def _getMethodNameInClass(156,4693 +class DestructiveTestSuite(171,5203 + def run(176,5335 +class LoggedSuite(196,5794 + def run(202,5927 +class TrialSuite(220,6461 + def __init__(227,6698 + def _bail(239,7110 + def run(251,7647 +def name(258,7771 +def isTestCase(277,8338 +class TestHolder(290,8638 + def __init__(298,8844 + def __call__(305,9014 + def id(309,9080 + def countTestCases(313,9132 + def run(317,9181 + def shortDescription(329,9519 +class ErrorHolder(334,9586 + def __init__(342,9891 + def __repr__(354,10365 + def run(359,10495 +class TestLoader(372,10819 + def __init__(396,11731 + def sort(401,11853 + def findTestClasses(409,12052 + def findByName(417,12328 + def loadModule(431,12811 + def loadClass(463,14191 + def getTestCaseNames(478,14834 + def loadMethod(485,15088 + def _makeCase(494,15454 + def loadPackage(497,15532 + def loadDoctests(539,17130 + def saveGlobals(556,17777 + def loadAnything(567,18260 + def loadByName(595,19396 + def loadByNames(614,20023 + def _uniqueTests(634,20762 +class Py3TestLoader(654,21384 + def loadFile(662,21619 + def findByName(681,22343 + def loadAnything(749,25250 + def loadByName(794,27395 + def loadByNames(809,27942 + def loadClass(829,28639 + def loadMethod(845,29234 + def _uniqueTests(849,29327 +def _qualNameWalker(866,29934 +class TrialRunner(894,30761 + def _setUpTestdir(902,30906 + def _tearDownTestdir(911,31184 + def _makeResult(917,31301 + def __init__(926,31658 + def _tearDownLogFile(955,32747 + def _setUpLogFile(963,33049 + def run(974,33404 + def _runWithoutDecoration(982,33641 + def runUntilFailure(1029,35381 + +venv/lib/python2.7/site-packages/twisted/trial/_synctest.py,2638 +class FailTest(32,763 +class Todo(39,874 + def __init__(48,1237 + def __repr__(61,1727 + def expected(65,1826 +def makeTodo(80,2196 +class _Warning(105,2973 + def __init__(129,4125 +def _setWarningRegistryToNone(137,4315 +def _collectWarnings(156,4907 + def showWarning(166,5317 +class UnsupportedTrialFeature(189,6106 +class PyUnitResultAdapter(194,6225 + def __init__(202,6512 + def _exc_info(209,6673 + def startTest(213,6756 + def stopTest(217,6831 + def addFailure(221,6904 + def addError(225,7005 + def _unsupported(229,7104 + def addSkip(237,7318 + def addUnexpectedSuccess(244,7463 + def addExpectedFailure(251,7654 + def addSuccess(258,7848 + def upDownError(262,7921 +class _AssertRaisesContext(267,7998 + def __init__(287,8708 + def _handle(303,9235 + def __enter__(319,9681 + def __exit__(323,9728 +class _Assertions(361,11190 + def fail(368,11409 + def assertFalse(378,11672 + def assertTrue(389,12007 + def assertRaises(400,12341 + def assertEqual(425,13334 + def assertIs(437,13728 + def assertIsNot(452,14257 + def assertNotEqual(467,14775 + def assertIn(480,15207 + def assertNotIn(497,15919 + def assertNotAlmostEqual(514,16621 + def assertAlmostEqual(534,17443 + def assertApproximates(554,18263 + def assertSubstring(567,18722 + def assertNotSubstring(575,18972 + def assertWarns(583,19207 + def assertIsInstance(628,21098 + def assertNotIsInstance(653,22043 + def successResultOf(670,22709 + def failureResultOf(704,24095 + def assertNoResult(754,26281 + def cb(774,27256 + def assertRegex(787,27684 +class _LogObserver(810,28507 + def __init__(825,29090 + def _add(831,29193 + def _remove(837,29312 + def _ignoreErrors(843,29437 + def _clearIgnores(850,29607 + def flushErrors(857,29754 + def getErrors(878,30413 + def gotEvent(885,30549 +class SynchronousTestCase(902,31060 + def __init__(944,32946 + def __eq__(954,33302 + def __ne__(966,33828 + def __hash__(970,33892 + def shortDescription(974,33978 + def getSkip(981,34164 + def getTodo(992,34611 + def runTest(1006,35133 + def run(1013,35329 + def addCleanup(1056,36973 + def patch(1070,37456 + def flushLoggedErrors(1091,38217 + def flushWarnings(1106,38739 + def callDeprecated(1188,42857 + def mktemp(1240,44897 + def _getSuppress(1265,45886 + def _getSkipReason(1276,46375 + def _run(1293,46885 + def _runFixturesAndTest(1335,48497 + def _runCleanups(1368,49486 + def _installObserver(1381,49851 + def _removeObserver(1386,49953 + +venv/lib/python2.7/site-packages/twisted/positioning/test/test_base.py,3778 +class AngleTests(13,356 + def test_empty(17,459 + def test_variation(26,704 + def test_unknownType(35,969 + def test_bogusType(44,1243 +class HeadingTests(52,1443 + def test_simple(56,1550 + def test_headingWithoutVariationRepr(69,2009 + def test_headingWithVariationRepr(79,2347 + def test_valueEquality(90,2794 + def test_valueInequality(97,2968 + def test_zeroHeadingEdgeCase(104,3150 + def test_zeroHeading180DegreeVariationEdgeCase(111,3313 + def _badValueTest(119,3521 + def test_badAngleValueEdgeCase(128,3806 + def test_badVariationEdgeCase(135,3989 + def test_negativeHeading(142,4181 + def test_headingTooLarge(149,4341 + def test_variationTooNegative(156,4514 + def test_variationTooPositive(163,4697 + def test_correctedHeading(170,4881 + def test_correctedHeadingOverflow(178,5155 + def test_correctedHeadingOverflowEdgeCase(188,5537 + def test_correctedHeadingUnderflow(198,5931 + def test_correctedHeadingUnderflowEdgeCase(208,6310 + def test_setVariationSign(218,6700 + def test_setBadVariationSign(229,7050 + def test_setUnknownVariationSign(245,7649 +class CoordinateTests(256,7959 + def test_float(257,7992 + def test_repr(265,8185 + def test_positiveLatitude(275,8513 + def test_negativeLatitude(284,8832 + def test_positiveLongitude(293,9153 + def test_negativeLongitude(302,9474 + def test_bogusCoordinateType(311,9797 + def test_angleTypeNotCoordinate(318,10002 + def test_equality(326,10249 + def makeCoordinate(330,10362 + def test_differentAnglesInequality(335,10513 + def test_differentTypesInequality(344,10746 + def test_sign(353,11031 + def test_badVariationSign(365,11371 + def test_northernHemisphere(383,11948 + def test_easternHemisphere(391,12197 + def test_southernHemisphere(399,12445 + def test_westernHemisphere(407,12695 + def test_badHemisphere(415,12944 + def test_latitudeTooLarge(424,13223 + def test_latitudeTooSmall(433,13512 + def test_longitudeTooLarge(442,13801 + def test_longitudeTooSmall(451,14096 + def test_inDegreesMinutesSeconds(460,14391 + def test_unknownAngleInDegreesMinutesSeconds(471,14769 +def _makeLatitude(481,15058 +def _makeLongitude(489,15204 +class AltitudeTests(497,15353 + def test_value(501,15462 + def test_repr(512,15844 + def test_equality(520,16056 + def test_inequality(529,16303 +class SpeedTests(539,16567 + def test_value(543,16670 + def test_repr(553,16977 + def test_negativeSpeeds(561,17179 + def test_inKnots(568,17352 + def test_asFloat(576,17557 +class ClimbTests(584,17716 + def test_simple(588,17809 + def test_repr(598,18114 + def test_negativeClimbs(606,18315 + def test_speedInKnots(616,18638 + def test_asFloat(624,18848 +class PositionErrorTests(632,19007 + def test_allUnset(636,19116 + def test_allUnsetWithInvariant(647,19471 + def test_withoutInvariant(658,19854 + def test_withInvariant(666,20089 + def test_invalidWithoutInvariant(675,20381 + def test_invalidWithInvariant(686,20775 + def test_setDOPWithoutInvariant(695,21125 + def test_setDOPWithInvariant(705,21427 + def setPDOP(713,21726 + def _testDOP(723,21944 + def test_positionAndHorizontalSet(743,22713 + def test_positionAndVerticalSet(753,23012 + def test_horizontalAndVerticalSet(763,23309 +class BeaconInformationTests(774,23609 + def test_minimal(778,23726 + def test_simple(795,24319 + def _buildSatellite(800,24480 + def test_someSatellitesUsed(828,25652 +class PositioningBeaconTests(859,26926 + def test_interface(863,27023 + def test_repr(872,27347 +class SatelliteTests(880,27523 + def test_minimal(884,27624 + def test_simple(900,28182 + +venv/lib/python2.7/site-packages/twisted/positioning/test/test_sentence.py,531 +class DummyProtocol(20,352 + def getSentenceAttributes(25,444 +class DummySentence(30,540 +class MixinProtocol(38,705 +class MixinSentence(53,1112 +class SentenceTestsMixin(61,1277 + def test_attributeAccess(65,1395 + def test_raiseOnMissingAttributeAccess(77,1873 + def test_raiseOnBadAttributeAccess(85,2129 + def _expectedRepr(98,2523 + def test_unknownTypeRepr(113,3063 + def test_knownTypeRepr(122,3326 +class MixinTests(132,3628 + def setUp(137,3796 + def test_noNoneInSentenceAttributes(142,3902 + +venv/lib/python2.7/site-packages/twisted/positioning/test/receiver.py,144 +class MockPositioningReceiver(12,212 + def __init__(23,566 + def clear(30,717 + def _addCallback(38,896 + def callback(43,1058 + +venv/lib/python2.7/site-packages/twisted/positioning/test/test_nmea.py,4199 +class NMEATestReceiver(39,1377 + def __init__(45,1509 + def clear(49,1556 + def sentenceReceived(57,1744 +class CallbackTests(62,1830 + def setUp(72,2207 + def _sentenceCallback(78,2379 + def test_callbacksCalled(85,2552 +class BrokenSentenceCallbackTests(106,3215 + def setUp(110,3322 + def _sentenceCallback(115,3459 + def test_dontSwallowCallbackExceptions(122,3603 +class SplitTests(132,3907 + def test_withChecksum(136,3991 + def test_noCheckum(144,4243 +class ChecksumTests(153,4494 + def test_valid(157,4588 + def test_missing(164,4732 + def test_invalid(171,4885 +class NMEAReceiverSetup(187,5350 + def setUp(197,5721 +class GSVSequenceTests(206,5903 + def test_firstSentence(210,6023 + def test_middleSentence(221,6364 + def test_lastSentence(233,6764 +class BogusSentenceTests(245,7103 + def assertRaisesOnSentence(249,7244 + def test_raiseOnUnknownSentenceType(263,7722 + def test_raiseOnMalformedSentences(271,7946 +class NMEASentenceTests(279,8159 + def test_repr(283,8273 +class ParsingTests(313,9271 + def _parserTest(320,9540 + def test_fullRMC(331,9940 + def test_fullGGA(352,10569 + def test_fullGLL(378,11266 + def test_partialGLL(396,11698 + def test_fullGSV(411,12079 + def test_partialGSV(444,12988 + def test_fullHDT(473,13759 + def test_typicalGSA(484,14002 +class FixUnitsTests(511,14746 + def setUp(518,14947 + def test_noValueKey(522,15042 + class FakeSentence(527,15206 + def __init__(531,15335 + def test_unitKeyButNoUnit(539,15580 + class FakeSentence(544,15770 + def __init__(548,15913 + def test_noValueKeyAndNoUnitKey(557,16184 +class FixerTestMixin(566,16455 + def setUp(574,16707 + def _fixerTest(578,16802 + def receiveSentence(598,17664 +class TimestampFixerTests(611,17983 + def test_simple(615,18123 + def test_broken(624,18375 +class DatestampFixerTests(635,18637 + def test_defaultYearThreshold(636,18690 + def test_beforeThreshold(643,18860 + def test_afterThreshold(653,19218 + def test_invalidMonth(662,19515 + def test_invalidDay(669,19722 +def _nmeaFloat(679,20044 +def _coordinateSign(694,20483 +def _coordinateType(710,20884 +class CoordinateFixerTests(727,21369 + def test_north(731,21513 + def test_south(741,21853 + def test_east(751,22194 + def test_west(761,22536 + def test_badHemisphere(771,22879 + def test_badHemisphereSign(780,23184 +class AltitudeFixerTests(791,23521 + def test_fixAltitude(795,23663 + def test_heightOfGeoidAboveWGS84(805,23966 +class SpeedFixerTests(816,24320 + def test_speedInKnots(820,24456 +class VariationFixerTests(831,24784 + def test_west(837,25029 + def test_east(849,25437 + def test_withHeading(861,25842 +class PositionErrorFixerTests(875,26400 + def test_simple(888,27131 + def test_mixing(894,27299 +class ValidFixTests(905,27809 + def test_GGA(909,27927 + def test_GLL(921,28289 +class InvalidFixTests(934,28660 + def _invalidFixTest(942,29034 + def test_GGA(950,29255 + def test_GLL(961,29567 + def test_badGSADataMode(972,29887 + def test_badGSAFixType(987,30429 + def test_badGSADataModeAndFixType(1002,30986 +class NMEAReceiverTests(1015,31420 + def setUp(1019,31504 + def test_onlyFireWhenCurrentSentenceHasNewInformation(1025,31688 + def _receiverTest(1050,32700 + def test_positionErrorUpdateAcrossStates(1074,33512 + def _getIdentifiers(1081,33774 + def checkBeaconInformation(1084,33879 + def test_emptyMiddleGSV(1101,34677 + def checkBeaconInformation(1109,34988 + def test_GGASentences(1119,35354 + def test_GGAWithDateInState(1132,35760 + def test_RMCSentences(1149,36319 + def test_GSVSentences(1163,36766 + def checkPartialInformation(1171,37028 + def test_emptyMiddleEntriesGSVSequence(1177,37228 + def test_incompleteGSVSequence(1186,37542 + def test_singleSentenceGSVSequence(1194,37759 + def test_GLLSentences(1203,38059 + def test_HDTSentences(1211,38270 + def test_mixedSentences(1219,38463 + def checkTime(1231,38887 + def test_lotsOfMixedSentences(1238,39130 + +venv/lib/python2.7/site-packages/twisted/positioning/base.py,1915 +class Angles(27,613 +class Directions(51,1215 +class BasePositioningReceiver(63,1478 + class and 72,1792 + def timeReceived(74,1867 + def headingReceived(80,1989 + def speedReceived(86,2120 + def climbReceived(92,2245 + def positionReceived(98,2370 + def positionErrorReceived(104,2515 + def altitudeReceived(110,2664 + def beaconInformationReceived(116,2798 +class InvalidSentence(123,2960 +class InvalidChecksum(130,3065 +class Angle(137,3186 + def __init__(166,4171 + def inDecimalDegrees(196,5337 + def inDegreesMinutesSeconds(208,5658 + def setSign(231,6405 + def __float__(247,6863 + def __repr__(257,7076 + def _angleValueRepr(268,7342 + def _angleTypeNameRepr(284,7781 +class Heading(300,8179 + def __init__(315,8922 + def fromFloats(324,9161 + def correctedHeading(339,9708 + def setSign(355,10246 + def __repr__(374,10806 +class Coordinate(391,11236 + def __init__(400,11529 + def hemisphere(422,12529 +class Altitude(445,13192 + def __init__(458,13518 + def inFeet(469,13742 + def inMeters(480,13987 + def __float__(490,14207 + def __repr__(500,14470 +class _BaseSpeed(511,14702 + def __init__(520,14986 + def inMetersPerSecond(535,15382 + def inKnots(547,15697 + def __float__(558,15986 + def __repr__(570,16282 +class Speed(582,16588 + def __init__(586,16682 +class Climb(603,17102 + def __init__(607,17190 +class PositionError(619,17464 + def __init__(642,18625 + def _testDilutionOfPositionInvariant(669,19678 + def _getDOP(711,21057 + def _setDOP(728,21582 + def __repr__(770,22928 +class BeaconInformation(781,23193 + def __init__(795,23883 + def __repr__(806,24215 +class PositioningBeacon(833,25093 + def __init__(842,25429 + def __hash__(852,25710 + def __repr__(862,25953 +class Satellite(873,26186 + def __init__(885,26654 + def __repr__(912,27634 + +venv/lib/python2.7/site-packages/twisted/positioning/ipositioning.py,406 +class IPositioningReceiver(14,219 + def positionReceived(18,318 + def positionErrorReceived(29,700 + def timeReceived(37,954 + def headingReceived(47,1210 + def altitudeReceived(56,1422 + def speedReceived(65,1637 + def climbReceived(74,1851 + def beaconInformationReceived(82,2066 +class IPositioningBeacon(92,2356 +class INMEAReceiver(104,2612 + def sentenceReceived(108,2702 + +venv/lib/python2.7/site-packages/twisted/positioning/_sentence.py,267 +class _BaseSentence(10,185 + class FooSentence(19,527 + def __init__(41,1333 + def presentAttributes(52,1633 + def __getattr__(63,1932 + def __repr__(75,2308 +class _PositioningSentenceProducerMixin(93,2836 + def getSentenceAttributes(104,3338 + +venv/lib/python2.7/site-packages/twisted/positioning/nmea.py,1155 +class GPGGAFixQualities(36,1186 +class GPGLLGPRMCFixQualities(77,3068 +class GPGSAFixTypes(93,3570 +def _split(107,3989 +def _validateChecksum(127,4549 +class NMEAProtocol(147,5223 + def __init__(167,6265 + def lineReceived(182,6836 +class NMEASentence(339,10761 + def _isFirstGSVSentence(402,14085 + def _isLastGSVSentence(412,14350 +class NMEAAdapter(424,14677 + def __init__(461,16788 + def _fixTimestamp(473,17106 + def _fixDatestamp(486,17516 + def _fixCoordinateFloat(503,18089 + def _fixHemisphereSign(524,18908 + def _getHemisphereSign(548,19887 + def _convert(577,20960 + def _statefulUpdate(608,22035 + def _fixUnits(646,23666 + def _fixGSV(689,25620 + def _fixGSA(715,26817 + def _sentenceSpecificFix(737,27558 + def clear(800,29890 + def sentenceReceived(810,30097 + def _validateCurrentSentence(835,30818 + def _cleanCurrentSentence(845,31216 + def _updateState(856,31494 + def _updateBeaconInformation(865,31748 + def _updateUsedBeacons(884,32449 + def _mergeBeaconInformation(908,33376 + def _combineDateAndTime(928,34153 + def _fireSentenceCallbacks(950,34931 + +venv/lib/python2.7/site-packages/twisted/protocols/test/test_tls.py,8086 +class HandshakeCallbackContextFactory:HandshakeCallbackContextFactory60,2172 + def __init__(72,2605 + def factoryAndDeferred(77,2718 + def _info(88,3117 + def getContext(99,3526 +class AccumulatingProtocol(110,3791 + def __init__(120,4142 + def connectionMade(124,4208 + def dataReceived(128,4267 + def connectionLost(134,4439 +def buildTLSProtocol(140,4553 + class HardCodedConnection(153,5081 + def clientConnectionForTLS(154,5124 +class TLSMemoryBIOFactoryTests(174,5762 + def test_quiet(179,5876 + def test_logPrefix(200,6555 + def test_logPrefixFallback(211,6988 + class NoFactory(216,7198 +def handshakingClientAndServer(225,7435 + class Client(238,7943 + def connectionMade(242,8052 + def handshakeCompleted(247,8240 + def connectionLost(253,8478 + class Server(257,8575 + def handshakeCompleted(259,8650 + def connectionLost(262,8724 +class DeterministicTLSMemoryBIOTests(283,9351 + def test_handshakeNotification(292,9664 + def test_handshakeStopWriting(308,10414 +class TLSMemoryBIOTests(323,11014 + def test_interfaces(329,11162 + def test_wrappedProtocolInterfaces(339,11479 + class ITransport(344,11659 + class MyTransport(347,11714 + def write(348,11749 + def test_getHandle(363,12247 + def test_makeConnection(387,13471 + def handshakeProtocols(409,14249 + def test_handshake(435,15219 + def test_handshakeFailure(447,15597 + def cbConnectionLost(481,17047 + def test_getPeerCertificate(497,17759 + def cbHandshook(524,18804 + def test_writeAfterHandshake(536,19312 + def cbHandshook(566,20534 + def cbDisconnected(575,20881 + def writeBeforeHandshakeTest(582,21078 + def cbConnectionDone(609,22221 + def test_writeBeforeHandshake(615,22423 + class SimpleSendingProtocol(623,22710 + def connectionMade(624,22757 + def test_writeSequence(630,22915 + class SimpleSendingProtocol(636,23147 + def connectionMade(637,23194 + def test_writeAfterLoseConnection(643,23377 + class SimpleSendingProtocol(650,23667 + def connectionMade(651,23714 + def test_writeUnicodeRaisesTypeError(659,24023 + class SimpleSendingProtocol(665,24220 + def connectionMade(666,24267 + def test_multipleWrites(677,24698 + class SimpleSendingProtocol(684,25043 + def connectionMade(685,25090 + def cbConnectionDone(710,26131 + def hugeWrite(716,26343 + class SimpleSendingProtocol(724,26642 + def connectionMade(725,26689 + def cbConnectionDone(749,27710 + def test_hugeWrite_TLSv1(754,27920 + def test_hugeWrite_TLSv1_1(757,27989 + def test_hugeWrite_TLSv1_2(760,28081 + def test_disorderlyShutdown(763,28173 + def cbDisconnected(788,29104 + def test_loseConnectionAfterHandshake(794,29319 + class NotifyingProtocol(800,29581 + def __init__(801,29647 + def dataReceived(806,29867 + def cbHandshake(834,31027 + def cbConnectionDone(852,32046 + def test_connectionLostOnlyAfterUnderlyingCloses(872,33020 + class LostProtocol(877,33217 + def connectionLost(879,33287 + def test_loseConnectionTwice(902,34363 + def _shutdownTLS(913,34857 + def test_loseConnectionAfterConnectionLost(930,35397 + def _shutdownTLS(941,35830 + def disconnected(948,36059 + def test_unexpectedEOF(960,36413 + def handshakeDone(974,36962 + def disconnected(981,37261 + def test_errorWriting(987,37453 + class Wrapper(997,37829 + def __init__(998,37860 + def __getattr__(1000,37941 + def send(1002,38034 + def handshakeDone(1007,38202 + def disconnected(1012,38389 + def test_noCircularReferences(1018,38572 + def nObjectsOfType(1023,38759 + class CloserProtocol(1036,39137 + def dataReceived(1037,39177 + class GreeterProtocol(1041,39269 + def connectionMade(1042,39310 +class TLSProducerTests(1069,40308 + def drain(1074,40419 + def setupStreamingProducer(1095,41122 + class HistoryStringTransport(1097,41242 + def __init__(1098,41297 + def pauseProducing(1102,41419 + def resumeProducing(1106,41564 + def stopProducing(1110,41712 + def flushTwoTLSProtocols(1123,42238 + def test_producerDuringRenegotiation(1142,43049 + def test_streamingProducerPausedInNormalMode(1179,44740 + def test_streamingProducerResumedInNormalMode(1194,45346 + def test_streamingProducerPausedInWriteBlockedOnReadMode(1211,46113 + def test_streamingProducerResumedInWriteBlockedOnReadMode(1229,46986 + def test_streamingProducerTwice(1254,48193 + def test_streamingProducerUnregister(1266,48661 + def test_streamingProducerUnregisterTwice(1276,49057 + def loseConnectionWithProducer(1288,49520 + def test_streamingProducerLoseConnectionWithProducer(1337,51597 + def test_streamingProducerLoseConnectionWithProducerWBOR(1345,51893 + def test_streamingProducerBothTransportsDecideToPause(1354,52241 + class PausingStringTransport(1360,52505 + def write(1363,52591 + class TLSConnection(1370,52840 + def __init__(1371,52877 + def send(1374,52938 + def set_connect_state(1386,53377 + def do_handshake(1389,53440 + def bio_write(1392,53498 + def bio_read(1395,53559 + def recv(1398,53626 + def test_streamingProducerStopProducing(1425,54941 + def test_nonStreamingProducer(1435,55327 + def done(1453,56161 + def test_interface(1467,56723 + def registerProducerAfterConnectionLost(1476,56984 + class Producer(1485,57379 + def resumeProducing(1488,57440 + def stopProducing(1491,57537 + def test_streamingProducerAfterConnectionLost(1505,58000 + def test_nonStreamingProducerAfterConnectionLost(1514,58304 +class NonStreamingProducerTests(1524,58617 + def streamUntilEnd(1529,58752 + def unregister(1542,59313 + def doneStreaming(1548,59519 + def test_writeUntilDone(1561,59979 + def test_pause(1570,60260 + class PausingStringTransport(1575,60426 + def __init__(1578,60505 + def write(1582,60626 + def shouldNotBeCalled(1598,61213 + def paused(1603,61403 + def test_resume(1613,61701 + class PausingStringTransport(1621,62020 + def write(1624,62099 + def test_stopProducing(1635,62449 + class StoppingStringTransport(1640,62641 + def write(1643,62721 + def doneStreaming(1655,63179 + def resumeProducingRaises(1668,63627 + class ThrowingProducer(1673,63852 + def resumeProducing(1675,63907 + def unregister(1691,64509 + def stopped(1701,64872 + def test_resumeProducingRaises(1716,65495 + def cleanShutdown(1726,65931 + def test_resumeProducingRaiseAndUnregisterProducerRaises(1733,66132 + def raiser(1741,66512 + def test_stopStreamingTwice(1750,66813 + def test_interface(1764,67331 +class ClientNegotiationFactory(1776,67705 + def __init__(1781,67860 + def acceptableProtocols(1792,68220 +class ServerNegotiationFactory(1806,68640 + def __init__(1811,68795 + def acceptableProtocols(1822,69155 +class IProtocolNegotiationFactoryTests(1835,69533 + def handshakeProtocols(1850,70352 + class NotifyingSender(1871,71290 + def __init__(1872,71331 + def connectionMade(1875,71415 + def dataReceived(1878,71522 + def test_negotiationWithNoProtocols(1914,72791 + def checkNegotiatedProtocol(1923,73130 + def test_negotiationWithProtocolOverlap(1933,73477 + def checkNegotiatedProtocol(1942,73849 + def test_negotiationClientOnly(1952,74198 + def checkNegotiatedProtocol(1961,74529 + def test_negotiationServerOnly(1971,74876 + def checkNegotiatedProtocol(1980,75207 + +venv/lib/python2.7/site-packages/twisted/protocols/test/test_basic.py,4841 +class FlippingLineTester(28,625 + def __init__(35,790 + def lineReceived(39,840 + def rawDataReceived(47,987 +class LineTester(55,1121 + def __init__(71,1685 + def connectionMade(78,1829 + def lineReceived(85,1962 + def rawDataReceived(111,2871 + def lineLengthExceeded(123,3254 +class LineOnlyTester(132,3473 + def connectionMade(139,3614 + def lineReceived(146,3747 +class LineReceiverTests(154,3871 + def test_buffer(181,4401 + def test_pausing(202,5119 + def test_rawPausing(226,6086 + def test_stopProducing(247,6855 + def test_lineReceiverAsProducer(261,7363 + def test_clearLineBuffer(273,7779 + class ClearingReceiver(278,7990 + def lineReceived(279,8042 + def test_stackRecursion(295,8601 + def test_maximumLineLength(307,9024 + def test_maximumLineLengthPartialDelimiter(319,9446 + def test_notQuiteMaximumLineLengthUnfinished(342,10358 + def test_rawDataError(361,11194 + def test_rawDataReceivedNotImplemented(375,11659 + def test_lineReceivedNotImplemented(384,11977 +class ExcessivelyLargeLineCatcher(394,12287 + def connectionMade(401,12527 + def lineReceived(405,12587 + def lineLengthExceeded(411,12685 +class LineReceiverLineLengthExceededTests(419,12849 + def setUp(423,13012 + def test_longUnendedLine(430,13227 + def test_longLineAfterShortLine(441,13644 + def test_longLineWithDelimiter(453,14194 + def test_multipleLongLines(466,14740 + def test_maximumLineLength(479,15286 + def test_maximumLineLengthRemaining(491,15708 +class LineOnlyReceiverTests(504,16161 + def test_buffer(515,16373 + def test_greaterThanMaximumLineLength(527,16744 + def test_lineReceivedNotImplemented(540,17252 +class TestMixin:TestMixin550,17570 + def connectionMade(552,17588 + def stringReceived(556,17647 + def connectionLost(563,17750 +class TestNetstring(568,17815 + def stringReceived(570,17873 +class LPTestCaseMixin:LPTestCaseMixin576,17973 + def getProtocol(582,18043 + def test_illegal(593,18336 +class NetstringReceiverTests(605,18658 + def setUp(618,19090 + def test_buffer(624,19281 + def test_receiveEmptyNetstring(643,19912 + def test_receiveOneCharacter(651,20157 + def test_receiveTwoCharacters(659,20392 + def test_receiveNestedNetstring(667,20630 + def test_moreDataThanSpecified(677,21032 + def test_moreDataThanSpecifiedBorderCase(685,21276 + def test_missingNumber(694,21583 + def test_missingColon(703,21838 + def test_missingNumberAndColon(712,22099 + def test_onlyData(721,22354 + def test_receiveNetstringPortions_1(729,22571 + def test_receiveNetstringPortions_2(739,22937 + def test_receiveNetstringPortions_3(749,23328 + def test_receiveTwoNetstrings(758,23634 + def test_maxReceiveLimit(771,24212 + def test_consumeLength(782,24597 + def test_consumeLengthBorderCase1(792,24944 + def test_consumeLengthBorderCase2(803,25370 + def test_consumeLengthBorderCase3(815,25824 + def test_stringReceivedNotImplemented(827,26276 +class IntNTestCaseMixin(837,26602 + def test_receive(847,26800 + def test_partial(858,27126 + def test_send(869,27433 + def test_lengthLimitExceeded(879,27704 + def test_longStringNotDelivered(893,28184 + def test_stringReceivedNotImplemented(906,28632 +class RecvdAttributeMixin(916,28960 + def makeMessage(923,29215 + def test_recvdContainsRemainingData(931,29446 + def stringReceived(938,29711 + def test_recvdChanged(948,30162 + def stringReceived(957,30476 + def test_switching(970,30921 + def stringReceived(984,31374 + def test_recvdInLengthLimitExceeded(998,31905 + def lengthLimitExceeded(1010,32329 +class TestInt32(1021,32631 +class Int32Tests(1030,32831 + def test_data(1040,33161 +class TestInt16(1052,33493 +class Int16Tests(1061,33693 + def test_data(1071,34007 + def test_tooLongSend(1082,34322 +class NewStyleTestInt16(1092,34588 +class NewStyleInt16Tests(1099,34694 +class TestInt8(1111,34935 +class Int8Tests(1120,35132 + def test_data(1131,35437 + def test_tooLongSend(1142,35743 +class OnlyProducerTransport(1152,36009 + def __init__(1161,36213 + def pauseProducing(1165,36262 + def resumeProducing(1169,36321 + def write(1173,36382 +class ConsumingProtocol(1178,36445 + def lineReceived(1183,36569 +class ProducerTests(1189,36671 + def test_pauseResume(1194,36811 +class FileSenderTests(1265,39391 + def test_interface(1270,39485 + def test_producerRegistered(1278,39705 + def test_transfer(1291,40190 + def test_transferMultipleChunks(1310,40924 + def test_transferWithTransform(1334,41864 + def transform(1340,42063 + def test_abortedTransfer(1355,42578 +class MiceDeprecationTests(1375,43252 + def test_MiceDeprecation(1383,43448 + +venv/lib/python2.7/site-packages/twisted/protocols/wire.py,514 +class Echo(20,373 + def dataReceived(25,483 +class Discard(30,555 + def dataReceived(35,647 +class Chargen(42,770 + def connectionMade(48,948 + def resumeProducing(52,1029 + def pauseProducing(56,1103 + def stopProducing(60,1148 +class QOTD(65,1193 + def connectionMade(70,1282 + def getQuote(75,1400 +class Who(83,1568 + def connectionMade(88,1657 + def getUsers(93,1775 +class Daytime(101,1906 + def connectionMade(106,2008 +class Time(112,2160 + def connectionMade(117,2267 + +venv/lib/python2.7/site-packages/twisted/protocols/portforward.py,406 +class Proxy(13,196 + def setPeer(18,263 + def connectionLost(22,319 + def dataReceived(30,561 +class ProxyClient(35,638 + def connectionMade(36,664 +class ProxyClientFactory(51,1216 + def setServer(55,1295 + def buildProtocol(59,1359 + def clientConnectionFailed(65,1528 +class ProxyServer(70,1635 + def connectionMade(75,1729 +class ProxyFactory(90,2182 + def __init__(97,2297 + +venv/lib/python2.7/site-packages/twisted/protocols/memcache.py,1302 + def doSomething(15,577 +class NoSuchCommand(45,1410 +class ClientError(52,1521 +class ServerError(59,1614 +class Command(66,1700 + def __init__(79,2047 + def success(95,2465 + def fail(102,2617 +class MemCacheProtocol(110,2753 + def __init__(138,3685 + def _cancelCommands(153,4135 + def timeoutConnection(162,4378 + def connectionLost(170,4591 + def sendLine(179,4824 + def rawDataReceived(188,5060 + def cmd_STORED(212,5850 + def cmd_NOT_STORED(219,6002 + def cmd_END(227,6234 + def cmd_NOT_FOUND(251,7035 + def cmd_VALUE(258,7189 + def cmd_STAT(284,7999 + def cmd_VERSION(293,8191 + def cmd_ERROR(300,8338 + def cmd_CLIENT_ERROR(309,8553 + def cmd_SERVER_ERROR(319,8813 + def cmd_DELETED(329,9076 + def cmd_OK(336,9228 + def cmd_EXISTS(343,9367 + def lineReceived(350,9510 + def increment(380,10484 + def decrement(398,11033 + def _incrdecr(417,11616 + def replace(435,12258 + def add(459,13071 + def set(483,13851 + def checkAndSet(507,14556 + def _set(536,15582 + def append(564,16611 + def prepend(583,17206 + def get(602,17805 + def getMultiple(627,18881 + def _get(654,20034 + def stats(684,21124 + def version(710,21984 + def delete(726,22420 + def flushAll(748,23133 + +venv/lib/python2.7/site-packages/twisted/protocols/pcp.py,565 +class BasicProducerConsumerProxy:BasicProducerConsumerProxy15,294 + def __init__(34,855 + def pauseProducing(42,1074 + def resumeProducing(47,1201 + def stopProducing(60,1617 + def write(68,1820 + def finish(77,2135 + def registerProducer(82,2265 + def unregisterProducer(86,2397 + def __repr__(93,2614 +class ProducerConsumerProxy(97,2719 + def pauseProducing(109,3068 + def resumeProducing(114,3248 + def write(154,5009 + def registerProducer(181,6324 + def unregisterProducer(187,6556 + def _writeSomeData(195,6827 + +venv/lib/python2.7/site-packages/twisted/protocols/sip.py,3111 +def dashCapitalize(112,2667 +def unq(120,2840 +class Via(129,2940 + def __init__(162,4130 + def _getrport(206,5687 + def _setrport(218,5979 + def toString(231,6339 +def parseViaHeader(257,7093 +class URL:URL301,8298 + def __init__(306,8341 + def toString(329,9042 + def __str__(354,9841 + def __repr__(358,9897 +def parseURL(363,10033 +def cleanRequestURL(419,11664 +def parseAddress(430,11832 +class SIPError(466,12844 + def __init__(467,12871 +class RegistrationError(476,13109 +class Message:Message483,13198 + def __init__(490,13268 + def addHeader(496,13409 + def bodyDataReceived(504,13649 + def creationFinished(508,13715 + def toString(514,13895 + def _getHeaderLine(524,14176 +class Request(529,14243 + def __init__(534,14308 + def __repr__(544,14575 + def _getHeaderLine(548,14688 +class Response(553,14789 + def __init__(558,14863 + def __repr__(566,15078 + def _getHeaderLine(570,15166 +class MessagesParser(575,15257 + def __init__(590,15601 + def reset(595,15728 + def invalidMessage(604,16003 + def dataDone(609,16092 + def dataReceived(630,16772 + def handleFirstLine(640,17035 + def lineLengthExceeded(647,17173 + def lineReceived(651,17245 + def messageDone(719,19695 + def rawDataReceived(726,19895 +class Base(749,20695 + def __init__(757,20830 + def addMessage(762,20937 + def datagramReceived(766,21004 + def _fixupNAT(780,21463 + def deliverResponse(795,22042 + def responseFromRequest(809,22506 + def sendMessage(820,22821 + def handle_request(837,23445 + def handle_response(847,23672 +class IContact(858,23903 +class Registration:Registration865,23984 + def __init__(866,24004 +class IRegistry(872,24144 + def registerAddress(877,24247 + def unregisterAddress(885,24471 + def getRegistrationInfo(893,24699 +class ILocator(902,24894 + def getAddress(907,24993 +class Proxy(917,25232 + def __init__(926,25351 + def getVia(938,25664 + def handle_request(945,25814 + def handle_request_default(965,26577 + def _mungContactHeader(976,26942 + def _cantForwardRequest(995,27650 + def deliverResponse(1001,27858 + def responseFromRequest(1016,28323 + def handle_response(1026,28637 + def gotResponse(1045,29320 +class IAuthorizer(1053,29467 + def getChallenge(1054,29497 + def decode(1066,29741 +class RegisterProxy(1075,29887 + def __init__(1088,30125 + def handle_ACK_request(1093,30239 + def handle_REGISTER_request(1103,30588 + def unauthorized(1121,31183 + def login(1133,31694 + def _cbLogin(1155,32503 + def _ebLogin(1161,32673 + def register(1166,32827 + def _cbRegister(1191,33828 + def _ebRegister(1200,34228 + def unregister(1206,34455 + def _cbUnregister(1223,35109 + def _ebUnregister(1230,35377 +class InMemoryRegistry:InMemoryRegistry1236,35479 + def __init__(1240,35568 + def getAddress(1245,35752 + def getRegistrationInfo(1255,36095 + def _expireRegistration(1265,36494 + def registerAddress(1276,36807 + def unregisterAddress(1293,37664 + +venv/lib/python2.7/site-packages/twisted/protocols/finger.py,160 +class Finger(9,166 + def lineReceived(11,201 + def _refuseMessage(30,747 + def forwardQuery(34,873 + def getDomain(37,988 + def getUser(40,1081 + +venv/lib/python2.7/site-packages/twisted/protocols/loopback.py,1304 +class _LoopbackQueue(24,579 + def __init__(34,878 + def put(38,929 + def __nonzero__(45,1140 + def get(50,1229 +class _LoopbackAddress(56,1308 +class _LoopbackTransport(62,1410 + def __init__(67,1508 + def write(70,1555 + def writeSequence(75,1714 + def loseConnection(78,1787 + def abortConnection(83,1877 + def getPeer(90,2021 + def getHost(93,2079 + def registerProducer(97,2153 + def unregisterProducer(103,2349 + def _pollProducer(107,2454 +def identityPumpPolicy(113,2599 +def collapsingPumpPolicy(130,2982 +def loopbackAsync(148,3396 +def _loopbackAsyncBody(186,5084 + def pump(206,5821 +def _loopbackAsyncContinue(253,7620 +class LoopbackRelay:LoopbackRelay273,8424 + def __init__(279,8524 + def write(283,8631 + def writeSequence(288,8794 + def clearBuffer(291,8867 + def loseConnection(307,9406 + def getHost(311,9503 + def getPeer(314,9553 + def registerProducer(317,9603 + def unregisterProducer(320,9690 + def logPrefix(323,9754 +class LoopbackClientFactory(328,9848 + def __init__(330,9902 + def buildProtocol(335,10041 + def clientConnectionLost(338,10106 +class _FireOnClose(343,10230 + def __init__(344,10276 + def connectionLost(348,10428 +def loopbackTCP(353,10567 +def loopbackUNIX(370,11261 + +venv/lib/python2.7/site-packages/twisted/protocols/htb.py,820 +class Bucket:Bucket28,858 + def __init__(49,1431 + def add(63,1884 + def drip(88,2624 +class IBucketFilter(112,3292 + def getBucketFor(113,3324 +class HierarchicalBucketFilter:HierarchicalBucketFilter121,3524 + def __init__(133,3867 + def getBucketFor(138,4010 + def getBucketKey(163,4803 + def sweep(174,5170 +class FilterByHost(186,5471 + def getBucketKey(192,5627 +class FilterByServer(196,5706 + def getBucketKey(202,5864 +class ShapedConsumer(206,5943 + def __init__(214,6207 + def _writeSomeData(219,6373 + def stopProducing(227,6786 +class ShapedTransport(232,6906 + def __getattr__(244,7384 +class ShapedProtocolFactory:ShapedProtocolFactory250,7560 + def __init__(263,7999 + class270,8297 + def __call__(280,8687 + def makeConnection(290,9038 + +venv/lib/python2.7/site-packages/twisted/protocols/ident.py,763 +class IdentError(18,329 + def __str__(25,469 +class NoUser(30,532 +class InvalidPort(39,734 +class HiddenUser(50,1095 +class IdentServer(59,1309 + def lineReceived(72,1845 + def invalidQuery(88,2433 + def validQuery(92,2503 + def _cbLookup(108,3142 + def _ebLookup(113,3311 + def lookup(121,3616 +class ProcServerMixin:ProcServerMixin148,4594 + def getUsername(156,4771 + def getUsername(160,4907 + def entries(164,4976 + def dottedQuadFromHexString(171,5123 + def unpackAddress(175,5263 + def parseLine(182,5446 + def lookup(190,5735 +class IdentClient(200,6056 + def __init__(204,6164 + def lookup(208,6216 + def lineReceived(220,6606 + def connectionLost(230,6943 + def parseResponse(236,7085 + +venv/lib/python2.7/site-packages/twisted/protocols/postfix.py,412 +def quote(32,769 +def unquote(40,903 +class PostfixTCPMapServer(48,1040 + def connectionMade(65,1546 + def sendCode(70,1617 + def lineReceived(78,1800 + def do_get(99,2422 + def _cbNot(109,2705 + def _cbGot(115,2821 + def do_put(123,2969 +class PostfixTCPMapDictServerFactory(136,3384 +class PostfixTCPMapDeferringDictServerFactory(145,3572 + def __init__(152,3757 + def get(157,3880 + +venv/lib/python2.7/site-packages/twisted/protocols/shoutcast.py,407 +class ShoutcastClient(12,206 + def __init__(24,502 + def connectionMade(31,691 + def lineReceived(37,898 + def handleHeader(44,1157 + def handleEndHeaders(49,1314 + def handleResponsePart_with_metadata(59,1756 + def handle_length(66,1982 + def handle_mp3(71,2147 + def handle_meta(79,2419 + def parseMetadata(89,2776 + def gotMetaData(101,3178 + def gotMP3Data(109,3456 + +venv/lib/python2.7/site-packages/twisted/protocols/policies.py,3119 +def _wrappedLogPrefix(25,582 +class ProtocolWrapper(39,930 + def __init__(53,1387 + def logPrefix(58,1517 + def makeConnection(66,1731 + def write(80,2240 + def writeSequence(84,2304 + def loseConnection(88,2384 + def getPeer(93,2487 + def getHost(97,2552 + def registerProducer(101,2617 + def unregisterProducer(105,2733 + def stopConsuming(109,2813 + def __getattr__(113,2883 + def dataReceived(119,2988 + def connectionLost(123,3072 +class WrappingFactory(131,3316 + def __init__(138,3467 + def logPrefix(143,3582 + def doStart(150,3773 + def doStop(155,3872 + def startedConnecting(160,3968 + def clientConnectionFailed(164,4071 + def clientConnectionLost(168,4200 + def buildProtocol(172,4325 + def registerProtocol(176,4438 + def unregisterProtocol(183,4576 +class ThrottlingProtocol(191,4717 + def write(198,4855 + def writeSequence(203,4974 + def dataReceived(208,5116 + def registerProducer(213,5246 + def unregisterProducer(218,5402 + def throttleReads(223,5513 + def unthrottleReads(227,5584 + def throttleWrites(231,5658 + def unthrottleWrites(236,5771 +class ThrottlingFactory(242,5888 + def __init__(252,6116 + def callLater(267,6757 + def registerWritten(277,7044 + def registerRead(284,7213 + def checkReadBandwidth(291,7373 + def checkWriteBandwidth(304,7894 + def throttleReads(315,8394 + def unthrottleReads(324,8609 + def throttleWrites(334,8881 + def unthrottleWrites(343,9100 + def buildProtocol(353,9377 + def unregisterProtocol(368,9874 +class SpewingProtocol(383,10450 + def dataReceived(384,10490 + def write(388,10612 +class SpewingFactory(394,10721 +class LimitConnectionsByPeer(399,10794 + def startFactory(403,10873 + def buildProtocol(406,10936 + def unregisterProtocol(414,11263 +class LimitTotalConnectionsFactory(421,11475 + def buildProtocol(438,12127 + def registerProtocol(455,12757 + def unregisterProtocol(458,12806 +class TimeoutProtocol(463,12880 + def __init__(468,13010 + def setTimeout(483,13495 + def cancelTimeout(498,13962 + def resetTimeout(513,14356 + def write(521,14566 + def writeSequence(526,14665 + def dataReceived(531,14778 + def connectionLost(536,14891 + def timeoutFunc(541,15013 +class TimeoutFactory(552,15267 + def __init__(559,15387 + def buildProtocol(564,15548 + def callLater(569,15724 +class TrafficLoggingProtocol(580,16012 + def __init__(582,16060 + def _log(602,16863 + def _mungeData(607,16960 + def connectionMade(614,17157 + def dataReceived(619,17264 + def connectionLost(624,17426 + def write(630,17598 + def writeSequence(635,17746 + def loseConnection(640,17927 +class TrafficLoggingFactory(646,18059 + def __init__(651,18162 + def open(657,18374 + def buildProtocol(661,18433 + def resetCounter(668,18719 +class TimeoutMixin:TimeoutMixin676,18869 + def callLater(690,19278 + def resetTimeout(700,19565 + def setTimeout(715,20167 + def __timedOut(741,21017 + def timeoutConnection(745,21111 + +venv/lib/python2.7/site-packages/twisted/protocols/amp.py,6319 + class Sum(45,1946 + class JustSum(54,2293 + def sum(55,2321 + class DelayedSum(71,2911 + def slowSum(72,2942 + class Divide(85,3377 + class JustDivide(96,3909 + def divide(97,3940 + def trapZero(107,4394 +class IArgumentType(314,10099 + def fromBox(321,10309 + def toBox(350,11414 +class IBoxSender(379,12563 + def sendBox(384,12659 + def unhandledError(395,12913 +class IBoxReceiver(405,13136 + def startReceivingBoxes(411,13283 + def ampBoxReceived(420,13554 + def stopReceivingBoxes(426,13683 +class IResponderLocator(435,13842 + def locateResponder(441,13991 +class AmpError(457,14495 +class ProtocolSwitched(464,14587 +class OnlyOneTLS(472,14793 +class NoEmptyBoxes(480,14931 +class InvalidSignature(488,15091 +class TooLong(495,15192 + def __init__(512,15749 + def __repr__(520,15960 +class BadLocalReturn(529,16221 + def __init__(533,16349 + def __repr__(539,16490 +class RemoteAmpError(546,16611 + def __init__(551,16804 +class UnknownRemoteError(598,18351 + def __init__(603,18503 +class MalformedAmpBox(609,18644 +class UnhandledCommand(616,18765 +class IncompatibleVersions(623,18874 +class AmpBox(632,19104 + def __init__(640,19361 + def copy(673,20747 + def serialize(682,20921 + def _sendTo(709,21787 + def __repr__(725,22204 +class QuitBox(732,22317 + def __repr__(739,22446 + def _sendTo(743,22540 +class _SwitchBox(752,22737 + def __init__(760,22957 + def __repr__(771,23299 + def _sendTo(776,23446 +class BoxDispatcher:BoxDispatcher788,23763 + def __init__(818,24930 + def startReceivingBoxes(823,25035 + def stopReceivingBoxes(833,25317 + def failAllOutgoing(841,25556 + def _nextTag(854,25991 + def _sendBoxCommand(869,26479 + def callRemoteString(910,28160 + def callRemote(930,28961 + def unhandledError(974,31029 + def _answerReceived(982,31260 + def _errorReceived(994,31631 + def _commandReceived(1015,32445 + def formatAnswer(1020,32596 + def formatError(1023,32703 + def ampBoxReceived(1050,33772 + def _safeEmit(1072,34526 + def dispatchCommand(1083,34825 +class CommandLocator:CommandLocator1106,35518 + class __metaclass__(1112,35688 + class declaration.1120,36197 + def __new__(1130,36483 + def locateResponder(1143,37163 + def _wrapWithSerialization(1153,37556 + def doit(1168,38201 + def checkKnownErrors(1170,38275 + def makeResponseFor(1176,38580 + def lookupFunction(1194,39262 + def locateResponder(1207,39755 +class SimpleStringLocator(1244,41158 + def locateResponder(1252,41333 +def _wireNameToPythonIdentifier(1277,42193 +class Argument:Argument1309,43546 + def __init__(1323,43990 + def retrieve(1333,44226 + def fromBox(1356,44773 + def toBox(1382,45667 + def fromStringProto(1410,46587 + def toStringProto(1425,46947 + def fromString(1437,47236 + def toString(1448,47511 +class Integer(1461,47822 + def toString(1469,48010 +class String(1474,48083 + def toString(1478,48184 + def fromString(1481,48243 +class Float(1486,48306 + def toString(1492,48429 +class Boolean(1499,48620 + def fromString(1503,48720 + def toString(1512,48955 +class Unicode(1520,49082 + def toString(1525,49172 + def fromString(1529,49271 +class Path(1534,49375 + def fromString(1543,49752 + def toString(1547,49859 +class ListOf(1552,49962 + def __init__(1579,50928 + def fromString(1584,51064 + def toString(1597,51493 +class AmpList(1610,51852 + def __init__(1623,52217 + def fromStringProto(1641,52933 + def toStringProto(1648,53141 +class Descriptor(1655,53350 + def fromStringProto(1675,54491 + def toStringProto(1697,55372 +class Command:Command1721,56321 + class __metaclass__(1764,58393 + def __new__(1769,58555 + def __init__(1836,60962 + def makeResponse(1867,62258 + def makeArguments(1888,62893 + def parseResponse(1914,63844 + def parseArguments(1930,64359 + def responder(1945,64851 + class MyCommand(1953,65022 + class MyProto(1956,65114 + def myFunMethod(1957,65146 + def _doCommand(1982,66118 + def _massageError(1993,66499 +class _NoCertificate:_NoCertificate2020,67426 + def __init__(2033,67975 + def options(2047,68393 +class _TLSBox(2074,69482 + def __init__(2080,69611 + def _keyprop(2086,69759 + def _sendTo(2094,70029 +class _LocalArgument(2107,70375 + def fromBox(2114,70656 +class StartTLS(2119,70726 + def __init__(2146,71727 + def _doCommand(2164,72439 + def actuallystart(2172,72837 +class ProtocolSwitchCommand(2180,73023 + def __init__(2190,73464 + def makeResponse(2205,73917 + def _doCommand(2210,74048 + def switchNow(2218,74406 + def handle(2223,74637 +class _DescriptorExchanger(2233,74925 + def __init__(2256,76018 + def _sendFileDescriptor(2263,76257 + def fileDescriptorReceived(2272,76568 +class BinaryBoxProtocol(2284,76916 + def __init__(2331,78845 + def _switchTo(2336,78967 + def sendBox(2366,80365 + def makeConnection(2389,81077 + def dataReceived(2399,81400 + def connectionLost(2414,81939 + def proto_init(2446,83232 + def proto_key(2454,83411 + def proto_value(2469,83853 + def lengthLimitExceeded(2479,84112 + def _lockForSwitch(2488,84392 + def _unlockFromSwitch(2498,84729 + def _prepareTLS(2509,85120 + def _startTLS(2525,85756 + def _getPeerCertificate(2547,86548 + def unhandledError(2554,86757 + def _defaultStartTLSResponder(2568,87230 +class AMP(2583,87701 + def __init__(2592,87931 + def locateResponder(2608,88696 + def __repr__(2623,89198 + def makeConnection(2636,89588 + def connectionLost(2654,90346 +class _ParserHelper:_ParserHelper2667,90736 + def __init__(2671,90826 + def getPeer(2675,90876 + def getHost(2679,90925 + def startReceivingBoxes(2685,91001 + def ampBoxReceived(2691,91109 + def parse(2696,91203 + def parseString(2712,91647 +def _stringsToObjects(2728,92031 +def _objectsToStrings(2750,92643 +class Decimal(2775,93420 + def fromString(2804,94720 + def toString(2808,94840 +class DateTime(2820,95252 + def fromString(2847,96490 + def toString(2864,97004 + +venv/lib/python2.7/site-packages/twisted/protocols/mice/mouseman.py,379 +class MouseMan(12,206 + def down_left(35,568 + def up_left(38,607 + def down_middle(41,644 + def up_middle(44,685 + def down_right(47,724 + def up_right(50,764 + def move(53,802 + def state_initial(59,872 + def state_horiz(68,1115 + def state_vert(78,1385 + def state_maybemiddle(90,1717 + def snapshot(99,1966 + def dataReceived(124,2723 + +venv/lib/python2.7/site-packages/twisted/protocols/stateful.py,123 +class StatefulProtocol(11,191 + def makeConnection(21,578 + def getInitialState(25,741 + def dataReceived(28,807 + +venv/lib/python2.7/site-packages/twisted/protocols/ftp.py,8564 +class InvalidPath(174,8557 +def toSegments(181,8677 +def errnoToFailure(206,9259 +def _isGlobbingExpression(227,9868 +class FTPCmdError(260,10925 + def __init__(264,11011 + def response(269,11114 +class FileNotFoundError(277,11281 +class AnonUserDeniedError(285,11436 +class PermissionDeniedError(295,11615 +class IsNotADirectoryError(304,11796 +class FileExistsError(312,11949 +class IsADirectoryError(320,12092 +class CmdSyntaxError(328,12236 +class CmdArgSyntaxError(336,12360 +class CmdNotImplementedError(345,12541 +class CmdNotImplementedForArgError(353,12701 +class FTPError(362,12908 +class PortConnectionError(367,12947 +class BadCmdSequenceError(372,12997 +class AuthorizationError(380,13162 +def debugDeferred(388,13294 +class DTP(402,13555 + def connectionMade(410,13704 + def connectionLost(415,13838 + def sendLine(420,13995 + def _formatOneListResponse(430,14205 + def formatDate(448,15112 + def sendListResponse(478,16143 + def registerProducer(482,16299 + def unregisterProducer(485,16421 + def write(489,16540 + def _conswrite(496,16738 + def dataReceived(502,16876 + def _unregConsumer(508,17035 + def registerConsumer(514,17193 + def resumeProducing(530,17710 + def pauseProducing(533,17783 + def stopProducing(536,17854 +class DTPFactory(539,17923 + def __init__(572,18958 + def buildProtocol(589,19669 + def stopFactory(604,20018 + def timeoutFactory(609,20130 + def cancelTimeout(621,20471 + def setTimeout(627,20669 + def clientConnectionFailed(632,20856 +class ASCIIConsumerWrapper(643,21159 + def __init__(644,21195 + def write(654,21552 +class FileConsumer(660,21684 + def __init__(667,21889 + def registerProducer(671,21946 + def unregisterProducer(676,22059 + def write(681,22150 +class FTPOverflowProtocol(686,22212 + def connectionMade(690,22355 +class FTP(695,22504 + def reply(748,24151 + def sendLine(753,24248 + def connectionMade(764,24517 + def connectionLost(769,24680 + def timeoutConnection(781,25130 + def lineReceived(784,25204 + def processFailed(790,25369 + def processSucceeded(802,25920 + def allDone(808,26109 + def processCommand(830,26783 + def call_ftp_command(832,26828 + def getDTPPort(867,27922 + def ftp_USER(884,28448 + def ftp_PASS(902,29064 + def _cbLogin(917,29594 + def _ebLogin(926,29912 + def ftp_PASV(936,30222 + def ftp_PORT(963,31291 + def connected(976,31787 + def connFailed(978,31857 + def _encodeName(984,32044 + def ftp_LIST(1016,33165 + def gotListing(1033,34015 + def ftp_NLST(1054,34721 + def cbList(1079,35787 + def listErr(1105,36931 + def ftp_CWD(1136,38005 + def accessGranted(1143,38240 + def ftp_CDUP(1150,38442 + def ftp_PWD(1154,38502 + def ftp_RETR(1158,38593 + def enableTimeout(1184,39534 + def cbSent(1194,39811 + def ebSent(1197,39879 + def cbOpened(1204,40121 + def ebOpened(1215,40465 + def ftp_STOR(1231,41066 + def enableTimeout(1257,42065 + def cbOpened(1261,42177 + def ebOpened(1272,42534 + def cbConsumer(1284,43015 + def cbSent(1304,43622 + def ebSent(1310,43783 + def ftp_SIZE(1328,44327 + def cbStat(1359,45909 + def ftp_MDTM(1366,46084 + def cbStat(1384,46833 + def ftp_TYPE(1391,47059 + def type_A(1412,47847 + def type_I(1419,48060 + def type_UNKNOWN(1426,48250 + def ftp_SYST(1431,48349 + def ftp_STRU(1435,48404 + def ftp_MODE(1442,48588 + def ftp_MKD(1449,48757 + def ftp_RMD(1457,49038 + def ftp_DELE(1465,49333 + def ftp_NOOP(1473,49624 + def ftp_RNFR(1477,49675 + def ftp_RNTO(1483,49833 + def ftp_FEAT(1496,50298 + def ftp_OPTS(1507,50614 + def ftp_QUIT(1515,50826 + def cleanupDTP(1520,50956 +class FTPFactory(1542,51622 + def __init__(1562,52217 + def buildProtocol(1567,52382 + def stopFactory(1575,52712 +class IFTPShell(1584,53003 + def makeDirectory(1592,53182 + def removeDirectory(1604,53509 + def removeFile(1616,53838 + def rename(1628,54147 + def access(1643,54574 + def stat(1655,54894 + def list(1664,55091 + def openForReading(1702,56518 + def openForWriting(1711,56741 +class IReadFile(1721,56966 + def send(1726,57054 +class IWriteFile(1739,57370 + def receive(1744,57460 + def close(1752,57670 +def _getgroups(1763,58060 +def _testPermissions(1781,58403 +class FTPAnonymousShell(1837,59913 + def __init__(1845,60153 + def _path(1849,60240 + def makeDirectory(1853,60321 + def removeDirectory(1857,60407 + def removeFile(1861,60495 + def rename(1865,60578 + def receive(1869,60669 + def openForReading(1874,60781 + def openForWriting(1900,61766 + def access(1908,61985 + def stat(1925,62513 + def list(1940,62981 + def _statNode(1976,64172 + def _stat_size(1990,64551 + def _stat_permissions(2000,64779 + def _stat_hardlinks(2010,65044 + def _stat_modified(2028,65649 + def _stat_owner(2038,65902 + def _stat_group(2063,66673 + def _stat_directory(2088,67442 +class _FileReader(2100,67683 + def __init__(2101,67710 + def _close(2105,67793 + def send(2110,67908 +class FTPShell(2119,68167 + def makeDirectory(2124,68272 + def removeDirectory(2136,68566 + def removeFile(2153,69143 + def rename(2170,69706 + def openForWriting(2183,70061 +class _FileWriter(2210,71061 + def __init__(2211,71088 + def receive(2215,71174 + def close(2221,71420 +class BaseFTPRealm:BaseFTPRealm2227,71507 + def __init__(2232,71661 + def getHomeDirectory(2236,71764 + def requestAvatar(2250,72200 +class FTPRealm(2264,72750 + def __init__(2273,73081 + def getHomeDirectory(2278,73243 +class SystemFTPRealm(2287,73478 + def getHomeDirectory(2294,73723 +class ConnectionLost(2323,74781 +class CommandFailed(2326,74823 +class BadResponse(2329,74864 +class UnexpectedResponse(2332,74903 +class UnexpectedData(2335,74949 +class FTPCommand:FTPCommand2338,74991 + def __init__(2339,75009 + def fail(2346,75210 +class ProtocolWrapper(2351,75308 + def __init__(2352,75350 + def makeConnection(2355,75460 + def dataReceived(2357,75549 + def connectionLost(2359,75624 +class IFinishableConsumer(2366,75792 + def finish(2373,75918 +class SenderProtocol(2381,76042 + def __init__(2382,76083 + def dataReceived(2390,76287 + def makeConnection(2396,76452 + def connectionLost(2400,76598 + def write(2407,76825 + def registerProducer(2410,76888 + def unregisterProducer(2416,77083 + def finish(2422,77241 +def decodeHostPort(2426,77305 +def encodeHostPort(2442,77773 +def _unwrapFirstError(2446,77901 +class FTPDataPortFactory(2450,78005 + def buildProtocol(2457,78175 +class FTPClientBasic(2468,78552 + def __init__(2475,78689 + def fail(2483,78949 + def _fail(2489,79074 + def _cb_greeting(2506,79674 + def sendLine(2510,79747 + def sendNextCommand(2524,80103 + def queueCommand(2548,80900 + def queueStringCommand(2563,81431 + def popCommandQueue(2578,81995 + def queueLogin(2587,82234 + def cancelPasswordIfNotNeeded(2608,83113 + def lineReceived(2622,83690 + def connectionLost(2670,85230 +class _PassiveConnectionFactory(2675,85298 + def __init__(2678,85374 + def buildProtocol(2681,85457 + def clientConnectionFailed(2685,85572 +class FTPClient(2691,85729 + def __init__(2713,86655 + def fail(2732,87291 + def receiveFromConnection(2739,87477 + def queueLogin(2756,88207 + def sendToConnection(2768,88674 + def _openDataConnection(2782,89188 + def doPassive(2795,89747 + def close(2811,90459 + def generatePortCommand(2850,92103 + def listenerFail(2873,93087 + def escapePath(2884,93495 + def retrieveFile(2891,93694 + def storeFile(2913,94396 + def rename(2933,95056 + def ebFrom(2968,96436 + def list(2982,96856 + def nlst(3000,97423 + def cwd(3016,97915 + def makeDirectory(3025,98159 + def removeFile(3046,98858 + def removeDirectory(3067,99585 + def cdup(3088,100318 + def pwd(3097,100529 + def getDirectory(3111,100971 + def cbParse(3119,101270 + def quit(3133,101775 +class FTPFileListProtocol(3145,102094 + def __init__(3195,103966 + def lineReceived(3198,104015 + def parseDirectoryLine(3207,104263 + def addFile(3228,104935 + def unknownLine(3242,105397 +def parsePWDResponse(3255,105718 + +venv/lib/python2.7/site-packages/twisted/protocols/dict.py,1714 +def parseParam(16,287 +def makeAtom(50,1236 +def makeWord(57,1406 +def parseText(69,1625 +class Definition:Definition79,1816 + def __init__(81,1862 +class DictClient(89,2057 + def __init__(99,2254 + def connectionMade(104,2332 + def sendLine(109,2422 + def lineReceived(116,2685 + def dictCode_default(135,3370 + def dictCode_221_ready(142,3614 + def dictCode_220_conn(147,3726 + def dictCode_530_conn(153,3856 + def dictCode_420_conn(158,3975 + def dictCode_421_conn(163,4111 + def sendDefine(168,4257 + def sendMatch(178,4737 + def dictCode_550_define(187,5143 + def dictCode_550_match(193,5291 + def dictCode_551_match(199,5437 + def dictCode_552_define(205,5583 + def dictCode_552_match(211,5715 + def dictCode_150_define(217,5845 + def dictCode_151_define(222,5951 + def dictCode_152_match(236,6428 + def dictCode_text_define(243,6589 + def dictCode_text_match(254,6893 + def l(256,6980 + def dictCode_250_define(269,7306 + def dictCode_250_match(277,7473 + def protocolError(285,7638 + def dictConnected(290,7758 + def defineFailed(295,7884 + def defineDone(300,8006 + def matchFailed(305,8105 + def matchDone(310,8224 +class InvalidResponse(316,8322 +class DictLookup(321,8368 + def protocolError(324,8488 + def dictConnected(330,8659 + def defineFailed(337,8894 + def defineDone(343,9042 + def matchFailed(349,9192 + def matchDone(355,9339 +class DictLookupFactory(362,9489 + def __init__(367,9637 + def clientDone(374,9787 + def clientConnectionFailed(380,9898 + def clientConnectionLost(384,9986 + def buildProtocol(389,10102 +def define(396,10210 +def match(407,10485 + +venv/lib/python2.7/site-packages/twisted/protocols/socks.py,836 +class SOCKSv4Outgoing(20,349 + def __init__(21,391 + def connectionMade(25,449 + def connectionLost(31,621 + def dataReceived(35,707 + def write(39,774 +class SOCKSv4Incoming(45,872 + def __init__(46,914 + def connectionLost(51,1005 + def dataReceived(55,1091 + def write(59,1157 +class SOCKSv4(65,1256 + def __init__(84,2016 + def connectionMade(89,2135 + def dataReceived(94,2220 + def _dataReceived2(130,3670 + def connectionLost(170,5307 + def authorize(175,5428 + def connectClass(180,5588 + def listenClass(184,5727 + def makeReply(189,5878 + def write(194,6085 + def log(199,6176 +class SOCKSv4Factory(221,6976 + def __init__(227,7123 + def buildProtocol(231,7181 +class SOCKSv4IncomingFactory(236,7265 + def __init__(240,7398 + def buildProtocol(245,7483 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/test/test_parser.py,435 +class UnparseEndpointTests(20,515 + def check(26,668 + def test_basicUnparse(39,1106 + def test_multipleArguments(46,1220 + def test_keywords(53,1342 + def test_colonInArgument(60,1464 + def test_colonInKeywordValue(67,1591 + def test_colonInKeywordName(74,1727 +class HAProxyServerParserTests(82,1862 + def onePrefix(87,1980 + def test_tcp4(113,2923 + def test_tcp6(120,3099 + def test_unix(127,3276 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/test/test_v1parser.py,451 +class V1ParserTests(17,333 + def test_missingPROXYHeaderValue(22,448 + def test_invalidNetworkProtocol(33,726 + def test_missingSourceData(44,1017 + def test_missingDestData(55,1292 + def test_fullParsingSuccess(66,1584 + def test_fullParsingSuccess_IPv6(80,2103 + def test_fullParsingSuccess_UNKNOWN(94,2609 + def test_feedParsing(105,2937 + def test_feedParsingTooLong(125,3722 + def test_feedParsingOverflow(143,4272 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/test/test_wrapper.py,925 +class StaticProtocol(17,393 + def __init__(22,491 + def dataReceived(29,634 +class HAProxyWrappingFactoryV1Tests(36,796 + def test_invalidHeaderDisconnects(42,957 + def test_invalidPartialHeaderDisconnects(57,1521 + def test_validIPv4HeaderResolves_getPeerHost(73,2129 + def test_validIPv6HeaderResolves_getPeerHost(106,3328 + def test_overflowBytesSentToWrappedProtocol(139,4497 + def test_overflowBytesSentToWrappedProtocolChunks(153,5073 + def test_overflowBytesSentToWrappedProtocolAfter(168,5684 +class HAProxyWrappingFactoryV2Tests(185,6352 + def test_invalidHeaderDisconnects(237,8008 + def test_validIPv4HeaderResolves_getPeerHost(252,8559 + def test_validIPv6HeaderResolves_getPeerHost(285,9738 + def test_validUNIXHeaderResolves_getPeerHost(318,10935 + def test_overflowBytesSentToWrappedProtocol(341,11856 + def test_overflowBytesSentToWrappedProtocolChunks(355,12418 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/test/test_v2parser.py,1044 +def _makeHeaderIPv6(16,348 +def _makeHeaderIPv4(51,1502 +def _makeHeaderUnix(86,2663 +class V2ParserTests(118,3822 + def test_happyPathIPv4(123,3937 + def test_happyPathIPv6(131,4157 + def test_happyPathUnix(139,4377 + def test_invalidSignature(147,4597 + def test_invalidVersion(159,4905 + def test_invalidCommand(171,5203 + def test_invalidFamily(183,5501 + def test_invalidProto(195,5799 + def test_localCommandIpv4(207,6098 + def test_localCommandIpv6(217,6415 + def test_localCommandUnix(227,6732 + def test_proxyCommandIpv4(237,7049 + def test_proxyCommandIpv6(249,7489 + def test_proxyCommandUnix(261,7929 + def test_unspecFamilyIpv4(273,8369 + def test_unspecFamilyIpv6(283,8689 + def test_unspecFamilyUnix(293,9009 + def test_unspecProtoIpv4(303,9329 + def test_unspecProtoIpv6(313,9648 + def test_unspecProtoUnix(323,9967 + def test_overflowIpv4(333,10286 + def test_overflowIpv6(345,10677 + def test_overflowUnix(357,11068 + def test_segmentTooSmall(369,11459 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/_v1parser.py,94 +class V1Parser(23,500 + def __init__(43,1005 + def feed(47,1057 + def parse(76,2019 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/_parser.py,98 +def unparseEndpoint(20,460 +class HAProxyServerParser(47,1241 + def parseStreamServer(55,1461 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/_v2parser.py,208 +class NetFamily(26,570 +class NetProtocol(37,776 +class V2Parser(52,1068 + def __init__(74,1572 + def feed(78,1624 + def _bytesToIPv4(108,2570 + def _bytesToIPv6(126,3083 + def parse(145,3656 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/_info.py,49 +class ProxyInfo(15,269 + def __init__(33,779 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/_exceptions.py,128 +class InvalidProxyHeader(15,234 +class InvalidNetworkProtocol(22,341 +class MissingAddressData(29,472 +def convertError(37,611 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/_interfaces.py,96 +class IProxyInfo(12,210 +class IProxyParser(31,742 + def feed(36,863 + def parse(52,1374 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/_wrapper.py,233 +class HAProxyProtocolWrapper(20,469 + def __init__(29,807 + def dataReceived(35,992 + def getPeer(60,1814 + def getHost(66,1976 +class HAProxyWrappingFactory(73,2149 + def logPrefix(79,2331 +def proxyEndpoint(94,2768 + +venv/lib/python2.7/site-packages/twisted/protocols/basic.py,2073 + def _formatNetstring(29,692 + def _formatNetstring(32,806 +class NetstringParseError(44,1026 +class IncompleteNetstring(51,1140 +class NetstringReceiver(57,1241 + def makeConnection(139,4842 + def sendString(152,5215 + def dataReceived(166,5626 + def stringReceived(188,6283 + def _maxLengthSize(202,6724 + def _consumeData(212,7010 + def _consumeLength(228,7574 + def _checkPartialLengthSpecification(245,8176 + def _processLength(262,8843 + def _extractLength(286,9827 + def _checkStringSize(305,10484 + def _prepareForPayloadConsumption(324,11254 + def _consumePayload(334,11547 + def _extractPayload(355,12285 + def _payloadComplete(378,13266 + def _processPayload(391,13698 + def _checkForTrailingComma(401,13983 + def _handleParseError(412,14339 +class LineOnlyReceiver(421,14539 + def dataReceived(438,15122 + def lineReceived(459,15978 + def sendLine(469,16233 + def lineLengthExceeded(479,16512 +class _PauseableMixin:_PauseableMixin488,16755 + def pauseProducing(491,16798 + def resumeProducing(496,16897 + def stopProducing(502,17030 +class LineReceiver(508,17128 + def clearLineBuffer(531,18024 + def dataReceived(542,18248 + def setLineMode(586,19984 + def setRawMode(603,20533 + def rawDataReceived(612,20752 + def lineReceived(619,20902 + def sendLine(629,21157 + def lineLengthExceeded(639,21427 +class StringTooLongError(653,21907 +class _RecvdCompatHack(661,22053 + def __get__(677,22939 +class IntNStringReceiver(682,23046 + def stringReceived(713,24151 + def lengthLimitExceeded(724,24480 + def dataReceived(736,24852 + def sendString(786,26981 +class Int32StringReceiver(803,27563 +class Int16StringReceiver(817,27926 +class Int8StringReceiver(831,28289 +class StatefulStringProtocol:StatefulStringProtocol845,28617 + def stringReceived(862,29127 +class FileSender:FileSender885,29967 + def beginFileTransfer(899,30347 + def resumeProducing(927,31323 + def pauseProducing(945,31827 + def stopProducing(949,31872 + +venv/lib/python2.7/site-packages/twisted/protocols/tls.py,1319 +class _ProducerMembrane(68,2831 + def __init__(80,3184 + def pauseProducing(84,3254 + def resumeProducing(94,3509 + def stopProducing(104,3768 +class TLSMemoryBIOProtocol(115,4042 + def __init__(176,7064 + def getHandle(181,7250 + def makeConnection(194,7688 + def _checkHandshakeStatus(221,8800 + def _flushSendBIO(246,9738 + def _flushReceiveBIO(260,10122 + def dataReceived(303,12254 + def _shutdownTLS(333,13399 + def _tlsShutdownFinished(354,14261 + def connectionLost(388,15982 + def loseConnection(409,16835 + def abortConnection(428,17698 + def failVerification(439,18030 + def write(452,18448 + def _bufferedWrite(470,19141 + def _unbufferPendingWrites(481,19504 + def _write(508,20561 + def writeSequence(550,22225 + def getPeerCertificate(558,22439 + def negotiatedProtocol(563,22547 + def registerProducer(590,23282 + def unregisterProducer(610,24080 +class _ContextFactoryToConnectionFactory(628,24737 + def __init__(638,25073 + def _connectionForTLS(655,25796 + def serverConnectionForTLS(669,26207 + def clientConnectionForTLS(687,26828 +class TLSMemoryBIOFactory(706,27450 + def __init__(723,28049 + def logPrefix(777,30685 + def _applyProtocolNegotiation(791,31093 + def _createConnection(811,31732 + +venv/lib/python2.7/site-packages/twisted/pair/test/test_ip.py,492 +class MyProtocol:MyProtocol11,257 + def __init__(12,275 + def datagramReceived(15,352 +class IPTests(30,1037 + def testPacketParsing(31,1071 + def testMultiplePackets(74,2530 + def testMultipleSameProtos(149,5182 + def testWrongProtoNotSeen(216,7271 + def testDemuxing(238,8168 + def testAddingBadProtos_WrongLevel(385,13397 + def testAddingBadProtos_TooSmall(396,13748 + def testAddingBadProtos_TooBig(410,14218 + def testAddingBadProtos_TooBig2(423,14682 + +venv/lib/python2.7/site-packages/twisted/pair/test/test_tuntap.py,4568 +class ReactorFDSet(70,2150 + def __init__(85,2755 + def removeReader(92,2927 + def removeWriter(96,3003 + def getReaders(100,3079 + def getWriters(104,3142 + def removeAll(108,3205 +class FSSetClock(118,3430 + def __init__(122,3553 +class TunHelper(128,3645 + def TUNNEL_TYPE(133,3772 + def __init__(138,3938 + def encapsulate(152,4461 + def parser(176,5244 + def capture(189,5792 + def parse(200,6027 +class TapHelper(210,6282 + def TUNNEL_TYPE(215,6415 + def __init__(222,6565 + def encapsulate(241,7271 + def parser(273,8428 + def capture(286,8976 + def parser(300,9281 +class TunnelTests(315,9700 + def test_blockingRead(320,9866 +class TunnelDeviceTestsMixin(331,10200 + def setUp(336,10339 + def test_interface(352,10901 + def _invalidFileDescriptor(359,11092 + def test_readEBADF(373,11573 + def test_writeEBADF(384,11988 + def test_closeEBADF(395,12410 + def test_ioctlEBADF(406,12822 + def test_ioctlEINVAL(418,13268 + def test_receive(432,13803 + def test_send(471,15200 +class FakeDeviceTestsMixin(511,17123 + def createSystem(521,17470 +class FakeTapDeviceTests(536,17862 +class FakeTapDeviceWithPITests(547,18201 +class FakeTunDeviceTests(559,18588 +class TestRealSystem(570,18947 + def open(575,19149 + def ioctl(591,19859 + def sendUDP(605,20362 + def receiveUDP(624,21004 +class RealDeviceTestsMixin(650,21821 + def createSystem(660,22109 +class RealDeviceWithProtocolInformationTests(672,22431 +class RealDeviceWithoutProtocolInformationTests(691,23185 +class TuntapPortTests(707,23706 + def test_interface(711,23843 + def test_realSystem(719,24077 +class TunnelTestsMixin(729,24343 + def setUp(736,24579 + def _tunnelTypeOnly(750,25105 + def test_startListeningOpensDevice(764,25530 + def test_startListeningSetsConnected(784,26249 + def test_startListeningConnectsProtocol(793,26497 + def test_startListeningStartsReading(802,26816 + def test_startListeningHandlesOpenFailure(812,27163 + def test_startListeningHandlesConfigureFailure(821,27495 + def _stopPort(830,27830 + def test_stopListeningStopsReading(846,28427 + def test_stopListeningUnsetsConnected(859,28866 + def test_stopListeningStopsProtocol(869,29207 + def test_stopListeningWhenStopped(879,29507 + def test_multipleStopListening(888,29820 + def test_loseConnection(900,30233 + def _stopsReadingTest(921,30992 + def test_eagainStopsReading(939,31623 + def test_ewouldblockStopsReading(947,31845 + def test_eintrblockStopsReading(955,32082 + def test_unhandledReadError(963,32306 + class UnexpectedException(968,32517 + def test_unhandledEnvironmentReadError(976,32702 + def test_doReadSmallDatagram(987,33105 + def test_doReadLargeDatagram(1001,33639 + def test_doReadSeveralDatagrams(1015,34207 + def _datagramReceivedException(1036,34963 + def test_datagramReceivedException(1053,35513 + def test_datagramReceivedExceptionIdentifiesProtocol(1062,35784 + def test_write(1079,36443 + def test_interruptedWrite(1091,36777 + def test_unhandledWriteError(1103,37240 + def test_writeSequence(1115,37621 + def test_getHost(1128,38064 + def test_listeningString(1142,38487 + def test_unlisteningString(1164,39417 + def test_logPrefix(1184,40250 +class TunnelAddressTests(1197,40631 + def test_interfaces(1201,40726 + def test_indexing(1209,40947 + def test_repr(1229,41841 + class name 1232,41956 +class TunnelAddressEqualityTests(1245,42407 + def setUp(1250,42567 + def test_selfComparesEqual(1266,43271 + def test_selfNotComparesNotEqual(1273,43438 + def test_sameAttributesComparesEqual(1280,43623 + def test_sameAttributesNotComparesNotEqual(1288,43883 + def test_differentTypeComparesNotEqual(1296,44160 + def test_differentTypeNotComparesEqual(1304,44418 + def test_differentNameComparesNotEqual(1312,44673 + def test_differentNameNotComparesEqual(1320,44931 + def test_differentClassNotComparesEqual(1328,45186 + def test_differentClassComparesNotEqual(1336,45398 +class IPRecordingProtocol(1345,45632 + def startProtocol(1349,45768 + def datagramReceived(1353,45826 +class TunTests(1358,45925 +class EthernetRecordingProtocol(1368,46170 + def startProtocol(1372,46304 + def datagramReceived(1376,46362 +class TapTests(1381,46461 +class IOSystemTestsMixin(1391,46722 + def test_noSuchDevice(1395,46839 +class MemoryIOSystemTests(1407,47165 +class RealIOSystemTests(1415,47371 + +venv/lib/python2.7/site-packages/twisted/pair/test/test_rawudp.py,483 +class MyProtocol(10,182 + def __init__(11,227 + def datagramReceived(14,304 +class RawUDPTests(23,800 + def testPacketParsing(24,838 + def testMultiplePackets(56,2075 + def testMultipleSameProtos(108,4274 + def testWrongProtoNotSeen(150,5763 + def testDemuxing(175,6816 + def testAddingBadProtos_WrongLevel(275,11130 + def testAddingBadProtos_TooSmall(289,11611 + def testAddingBadProtos_TooBig(303,12102 + def testAddingBadProtos_TooBig2(316,12587 + +venv/lib/python2.7/site-packages/twisted/pair/test/test_ethernet.py,491 +class MyProtocol:MyProtocol11,263 + def __init__(12,281 + def datagramReceived(15,358 +class EthernetTests(23,642 + def testPacketParsing(24,682 + def testMultiplePackets(45,1230 + def testMultipleSameProtos(75,2045 + def testWrongProtoNotSeen(110,2962 + def testDemuxing(120,3314 + def testAddingBadProtos_WrongLevel(174,4854 + def testAddingBadProtos_TooSmall(185,5217 + def testAddingBadProtos_TooBig(199,5699 + def testAddingBadProtos_TooBig2(212,6175 + +venv/lib/python2.7/site-packages/twisted/pair/ip.py,168 +class IPHeader:IPHeader18,318 + def __init__(19,334 +class IPProtocol(35,949 + def __init__(36,1002 + def addProto(39,1054 + def datagramReceived(49,1438 + +venv/lib/python2.7/site-packages/twisted/pair/raw.py,184 +class IRawDatagramProtocol(10,171 + def addProto(15,285 + def datagramReceived(20,373 +class IRawPacketProtocol(27,492 + def addProto(32,607 + def datagramReceived(37,695 + +venv/lib/python2.7/site-packages/twisted/pair/tuntap.py,850 +class TunnelFlags(40,944 +class TunnelAddress(74,2123 + def _typeValue(82,2403 + def __init__(91,2687 + def __getitem__(103,3009 +class _TunnelDescription(115,3382 +class _IInputOutputSystem(128,3665 + def open(137,4014 + def ioctl(143,4107 + def read(149,4214 + def write(155,4290 + def close(161,4367 + def sendUDP(167,4438 + def receiveUDP(182,4887 +class _RealSystem(204,5559 +class TuntapPort(224,6171 + def __init__(230,6377 + def __repr__(253,7142 + def startListening(263,7445 + def _openTunnel(275,7766 + def _bindSocket(296,8561 + def fileno(316,9133 + def doRead(320,9185 + def write(346,10033 + def writeSequence(362,10481 + def stopListening(373,10781 + def loseConnection(393,11394 + def connectionLost(400,11568 + def logPrefix(414,11958 + def getHost(421,12102 + +venv/lib/python2.7/site-packages/twisted/pair/testing.py,743 +def _H(33,996 +def _ethernet(49,1303 +def _ip(72,1879 +def _udp(125,3489 +class Tunnel(155,4130 + def __init__(178,4914 + def blocking(203,5644 + def closeOnExec(212,5880 + def addToReadBuffer(220,6106 + def read(238,6778 + def write(274,8241 +def _privileged(299,8990 + def permissionChecker(311,9429 +class MemoryIOSystem(320,9706 + def __init__(337,10083 + def getTunnel(343,10215 + def registerSpecialDevice(357,10653 + def open(372,11074 + def read(403,12150 + def write(416,12507 + def close(429,12846 + def ioctl(443,13173 + def sendUDP(466,13866 + def receiveUDP(496,14911 +class _FakePort(519,15623 + def __init__(524,15799 + def recv(529,15901 + def capture(545,16433 + +venv/lib/python2.7/site-packages/twisted/pair/rawudp.py,172 +class UDPHeader:UDPHeader15,308 + def __init__(16,325 +class RawUDPProtocol(24,507 + def __init__(25,564 + def addProto(29,618 + def datagramReceived(41,1102 + +venv/lib/python2.7/site-packages/twisted/pair/ethernet.py,274 +class IEthernetProtocol(18,327 + def addProto(20,428 + def datagramReceived(23,498 +class EthernetHeader:EthernetHeader26,577 + def __init__(27,599 +class EthernetProtocol(35,772 + def __init__(36,831 + def addProto(39,886 + def datagramReceived(49,1274 + +venv/lib/python2.7/site-packages/twisted/application/test/test_service.py,686 +class AlmostService(22,615 + def __init__(42,1396 + def makeInvalidByDeletingName(48,1530 + def makeInvalidByDeletingParent(58,1768 + def makeInvalidByDeletingRunning(68,2012 + def setName(78,2259 + def setServiceParent(86,2397 + def disownServiceParent(94,2548 + def privilegedStartService(100,2662 + def startService(106,2779 + def stopService(112,2886 +class ServiceInterfaceTests(119,2993 + def setUp(123,3118 + def test_realService(131,3340 + def test_hasAll(139,3507 + def test_noName(146,3654 + def test_noParent(155,3935 + def test_noRunning(164,4222 +class ApplicationTests(174,4513 + def test_applicationComponents(178,4621 + +venv/lib/python2.7/site-packages/twisted/application/test/test_internet.py,3619 +def fakeTargetFunction(36,1175 +class FakeServer(45,1337 + def __init__(71,2126 + def listen(75,2183 + def startedListening(93,2752 + def stoppedListening(102,3017 +class FakePort(116,3445 + def stopListening(124,3616 +class EndpointServiceTests(137,3871 + def setUp(142,3973 + def test_privilegedStartService(152,4273 + def test_synchronousRaiseRaisesSynchronously(161,4578 + def test_synchronousRaisePrivileged(182,5678 + def test_failReportsError(192,6053 + def test_asynchronousFailReportsError(205,6559 + def test_synchronousFailReportsError(220,7183 + def test_startServiceUnstarted(231,7601 + def test_startServiceStarted(242,8004 + def test_stopService(253,8399 + def test_stopServiceBeforeStartFinished(272,9084 + def test_stopServiceCancelStartError(286,9605 +class TimerServiceTests(303,10244 + def setUp(317,10588 + def call(326,10811 + def test_startService(336,11007 + def test_startServiceRunsCallImmediately(348,11507 + def test_startServiceUsesGlobalReactor(359,11831 + def getOtherClock(366,12107 + def test_stopServiceWaits(373,12346 + def test_stopServiceImmediately(386,12820 + def test_failedCallLogsError(397,13201 + def test_pickleTimerServiceNotPickleLoop(410,13729 + def test_pickleTimerServiceNotPickleLoopFinished(427,14345 +class ConnectInformation(445,14986 + def __init__(458,15490 +def endpointForTesting(465,15621 + class ClientTestEndpoint(477,16043 + def connect(478,16081 + def createProtocol(482,16230 +def catchLogs(497,16728 +class ClientServiceTests(518,17327 + def makeReconnector(523,17423 + class RememberingFactory(564,19261 + def buildProtocol(566,19348 + def stop(574,19673 + def test_startService(587,20076 + def test_startStopFactory(595,20318 + def test_stopServiceWhileConnected(610,20950 + def test_startServiceWaitsForDisconnect(625,21504 + def test_startServiceWhileStopping(642,22176 + def test_startServiceWhileStopped(670,23421 + def test_interfacesForTransport(687,24188 + class FancyProtocol(696,24639 + def test_stopServiceWhileRetrying(706,25035 + def test_stopServiceWhileConnecting(720,25541 + def test_clientConnected(733,25990 + def test_clientConnectionFailed(746,26475 + def test_clientConnectionLost(765,27307 + def test_clientConnectionLostWhileStopping(785,28210 + def test_startTwice(799,28762 + def test_whenConnectedLater(816,29455 + def test_whenConnectedFails(838,30285 + def test_whenConnectedStopService(897,32333 + def test_retryCancelled(917,33070 + def test_stopServiceBeforeStartService(931,33614 + def test_whenConnectedErrbacksOnStopService(945,34138 + def test_stopServiceWhileDisconnecting(970,35106 + def test_stopServiceWhileRestarting(995,36040 + def test_stopServiceOnStoppedService(1021,36989 + def test_prepareConnectionCalledWhenServiceStarts(1036,37577 + def prepareConnection(1043,37811 + def test_prepareConnectionCalledWithProtocol(1051,38065 + def prepareConnection(1058,38265 + def test_prepareConnectionCalledAfterConnectionMade(1067,38522 + def prepareConnection(1074,38726 + def test_prepareConnectionCalledOnReconnect(1091,39303 + def prepareConnection(1098,39526 + def test_prepareConnectionReturnValueIgnored(1114,40030 + def prepareConnection(1125,40506 + def test_prepareConnectionReturningADeferred(1134,40769 + def prepareConnection(1142,41051 + def test_prepareConnectionThrows(1157,41534 + def prepareConnection(1164,41733 + +venv/lib/python2.7/site-packages/twisted/application/app.py,1349 +class _BasicProfiler(31,951 + def __init__(41,1238 + def _reportImportError(46,1368 +class ProfileRunner(63,1979 + def run(68,2077 +class CProfileRunner(91,2672 + def run(96,2763 +class AppProfiler(119,3372 + def __init__(129,3656 +class AppLogger(142,4148 + def __init__(161,4811 + def start(169,5047 + def _initialLog(217,7244 + def _getLogObserver(230,7732 + def stop(242,8124 +def fixPdb(253,8445 + def do_stop(254,8459 + def help_stop(262,8654 + def set_quit(267,8785 +def runReactorWithLogging(276,8929 +def getPassphrase(329,10558 +def getSavePassphrase(337,10680 +class ApplicationRunner(345,10818 + def __init__(370,11709 + def run(376,11874 + def startReactor(389,12139 + def preApplication(407,12732 + def postApplication(417,12954 + def createOrGetApplication(428,13272 +def getApplication(458,14471 +def _reactorAction(485,15464 +class ReactorSelectionMixin:ReactorSelectionMixin492,15612 + def opt_help_reactors(506,16019 + def opt_reactor(529,16929 +class ServerOptions(556,18003 + def __init__(600,20064 + def opt_debug(609,20284 + def opt_spew(620,20571 + def parseOptions(633,20914 + def postOptions(639,21085 + def subCommands(650,21485 +def run(666,22105 +def convertStyle(678,22337 +def startApplication(688,22701 +def _exitWithSignal(699,23102 + +venv/lib/python2.7/site-packages/twisted/application/internet.py,2886 +def _maybeGlobalReactor(57,1886 +class _VolatileDataService(69,2156 + def __getstate__(73,2221 +class _AbstractServer(82,2405 + def __init__(105,3079 + def privilegedStartService(112,3257 + def startService(117,3387 + def stopService(123,3532 + def _getPort(133,3828 +class _AbstractClient(146,4245 + def __init__(169,4945 + def startService(176,5123 + def stopService(181,5245 + def _getConnection(188,5432 +class TimerService(231,6695 + def __init__(251,7442 + def startService(266,7910 + def _failed(278,8502 + def stopService(285,8781 +class CooperatorService(301,9229 + def __init__(305,9380 + def coiterate(309,9457 + def startService(313,9539 + def stopService(317,9595 +class StreamServerEndpointService(322,9650 + def __init__(349,10603 + def privilegedStartService(355,10748 + def handleIt(362,10993 + def startService(373,11333 + def stopService(383,11621 + def stopIt(392,11961 + def stop(396,12117 +class _ReconnectingProtocolProxy(404,12256 + def __init__(410,12471 + def connectionLost(427,13099 + def __getattr__(441,13462 + def __repr__(445,13542 +class _DisconnectFactory(451,13660 + def __init__(457,13840 + def buildProtocol(462,14011 + def __getattr__(478,14516 + def __repr__(482,14603 +def backoffPolicy(488,14728 + def policy(519,16035 +def _firstResult(526,16190 +class _ClientMachine(542,16586 + def __init__(551,16776 + def _init(580,17709 + def _connecting(586,17819 + def _waiting(592,17937 + def _connected(599,18096 + def _disconnecting(605,18203 + def _restarting(611,18348 + def _stopped(617,18490 + def start(623,18619 + def _connect(629,18763 + def _runPrepareConnection(643,19224 + def _resetFailedAttempts(668,20115 + def stop(676,20277 + def _waitForStop(685,20562 + def _stopConnecting(698,20913 + def _stopRetrying(706,21078 + def _disconnect(715,21260 + def _connectionMade(723,21437 + def _notifyWaiters(732,21657 + def _connectionFailed(749,22160 + def _wait(756,22292 + def _ignoreAndWait(763,22418 + def _doWait(769,22574 + def _reconnect(779,23001 + def _clientDisconnected(785,23128 + def _forgetConnection(791,23265 + def _cancelConnectWaiters(799,23422 + def _ignoreAndCancelConnectWaiters(807,23656 + def _finishStopping(816,23941 + def _ignoreAndFinishStopping(823,24115 + def _doFinishStopping(830,24320 + def whenConnected(837,24491 + def _currentConnection(866,25712 + def _noConnection(876,25995 + def _awaitingConnection(886,26261 + def _deferredSucceededWithNone(898,26641 + def _unawait(907,26870 + def _deliverConnectionFailure(918,27227 +class ClientService(1029,31770 + def __init__(1040,32068 + def whenConnected(1094,34623 + def startService(1124,35884 + def stopService(1135,36217 + +venv/lib/python2.7/site-packages/twisted/application/runner/test/test_exit.py,358 +class ExitTests(16,277 + def setUp(21,367 + def test_exitStatusInt(26,470 + def test_exitStatusStringNotInt(35,694 + def test_exitStatusStringInt(43,915 + def test_exitConstant(52,1172 + def test_exitMessageZero(62,1452 + def test_exitMessageNonZero(76,1808 +class DummyExit(91,2162 + def __init__(96,2316 + def __call__(100,2370 + +venv/lib/python2.7/site-packages/twisted/application/runner/test/test_pidfile.py,1581 +def ifPlatformSupported(30,670 + def wrapper(49,1316 +class PIDFileTests(68,1848 + def test_interface(73,1944 + def test_formatWithPID(81,2127 + def test_readWithPID(88,2323 + def test_readEmptyPID(99,2581 + def test_readWithBogusPID(114,2995 + def test_readDoesntExist(129,3423 + def test_readOpenRaisesOSErrorNotENOENT(140,3735 + def oops(145,3930 + def test_writePID(156,4210 + def test_writePIDInvalid(168,4451 + def test_writeRunningPID(177,4694 + def test_remove(187,4960 + def test_isRunningDoesExist(199,5261 + def kill(206,5470 + def test_isRunningThis(215,5669 + def test_isRunningDoesNotExist(230,6188 + def kill(238,6441 + def test_isRunningNotAllowed(247,6666 + def kill(255,6914 + def test_isRunningInit(264,7128 + def test_isRunningUnknownErrno(288,8054 + def kill(296,8327 + def test_isRunningNoPIDFile(304,8514 + def test_contextManager(313,8743 + def test_contextManagerDoesntExist(329,9243 + def kill(338,9600 + def test_contextManagerAlreadyRunning(351,9983 + def kill(360,10298 +class NonePIDFileTests(371,10540 + def test_interface(376,10644 + def test_read(384,10820 + def test_write(394,11070 + def test_writeRunningPID(404,11349 + def test_remove(415,11661 + def test_isRunning(425,11939 + def test_contextManager(434,12132 +class DummyFilePath(447,12392 + def __init__(452,12466 + def open(456,12539 + def setContent(462,12711 + def getContent(467,12823 + def remove(471,12880 + def exists(475,12934 + +venv/lib/python2.7/site-packages/twisted/application/runner/test/test_runner.py,1585 +class RunnerTests(30,638 + def setUp(35,732 + def test_runInOrder(69,1784 + def test_runUsesPIDFile(87,2206 + def test_runAlreadyRunning(104,2605 + def test_killNotRequested(120,3159 + def test_killRequestedWithoutPIDFile(132,3515 + def test_killRequestedWithPIDFile(146,4076 + def test_killRequestedWithPIDFileCantRead(160,4642 + def read(167,4907 + def test_killRequestedWithPIDFileEmpty(179,5267 + def test_killRequestedWithPIDFileNotAnInt(192,5774 + def test_startLogging(205,6327 + class LogBeginner(216,6752 + def beginLoggingTo(217,6787 + class MockFilteringLogObserver(224,7022 + def __init__(225,7084 + class MockFileLogObserver(239,7622 + def __init__(240,7674 + def test_startReactorWithReactor(279,9000 + def test_startReactorWhenRunning(291,9308 + def test_whenRunningWithArguments(299,9567 + def test_reactorExitedWithArguments(307,9765 + def _testHook(315,9971 + def hook(336,10721 +class DummyRunner(354,11194 + def killIfRequested(364,11388 + def startLogging(368,11474 + def startReactor(372,11554 + def reactorExited(376,11634 +class DummyPIDFile(381,11717 + def __init__(387,11854 + def __enter__(394,11974 + def __exit__(399,12049 +class DummyExit(404,12134 + def __init__(410,12286 + def __call__(414,12340 +class DummyKill(423,12510 + def __init__(429,12665 + def __call__(433,12715 +class DummyStandardIO(438,12790 + def __init__(443,12914 +class DummyWarningsModule(449,13015 + def showwarning(454,13148 + +venv/lib/python2.7/site-packages/twisted/application/runner/_pidfile.py,860 +class IPIDFile(18,314 + def read(23,406 + def writeRunningPID(36,761 + def remove(44,947 + def isRunning(52,1091 + def __enter__(68,1680 + def __exit__(79,1958 +class PIDFile(89,2130 + def _format(102,2438 + def __init__(115,2709 + def read(123,2898 + def _write(142,3432 + def writeRunningPID(154,3712 + def remove(158,3775 + def isRunning(162,3830 + def _pidIsRunningPOSIX(177,4194 + def __enter__(207,5208 + def __exit__(217,5479 +class NonePIDFile(223,5581 + def __init__(231,5784 + def read(235,5823 + def _write(239,5897 + def writeRunningPID(253,6257 + def remove(257,6313 + def isRunning(261,6402 + def __enter__(265,6450 + def __exit__(269,6497 +class AlreadyRunningError(278,6598 +class InvalidPIDFileError(285,6687 +class StalePIDFileError(292,6779 +class NoPIDFound(300,6920 + +venv/lib/python2.7/site-packages/twisted/application/runner/_runner.py,200 +class Runner(27,576 + def run(89,2942 + def killIfRequested(108,3384 + def startLogging(138,4395 + def startReactor(159,4942 + def whenRunning(170,5264 + def reactorExited(179,5515 + +venv/lib/python2.7/site-packages/twisted/application/runner/_exit.py,68 +def exit(15,268 + class Status(45,906 +class ExitStatus(70,1655 + +venv/lib/python2.7/site-packages/twisted/application/service.py,1277 +class IServiceMaker(29,845 + def makeService(51,1576 +class ServiceMaker(64,1940 + def __init__(68,2058 + def options(75,2244 + def get(76,2263 + def makeService(82,2392 + def get(83,2415 +class IService(90,2557 + def setName(106,2958 + def setServiceParent(114,3144 + def disownServiceParent(125,3570 + def startService(138,4088 + def stopService(143,4164 + def privilegedStartService(153,4493 +class Service(164,4746 + def __getstate__(177,5054 + def setName(183,5201 + def setServiceParent(188,5364 + def disownServiceParent(195,5598 + def privilegedStartService(200,5722 + def startService(203,5774 + def stopService(206,5828 +class IServiceCollection(211,5883 + def getServiceNamed(220,6143 + def __iter__(230,6397 + def addService(235,6491 + def removeService(247,6800 +class MultiService(265,7382 + def __init__(275,7684 + def privilegedStartService(280,7795 + def startService(285,7953 + def stopService(290,8081 + def getServiceNamed(299,8348 + def __iter__(302,8426 + def addService(305,8486 + def removeService(317,9011 +class IProcess(330,9385 +class Process:Process358,10043 + def __init__(367,10223 +def Application(382,10648 +def loadApplication(402,11260 + +venv/lib/python2.7/site-packages/twisted/application/twist/test/test_options.py,1268 +class OptionsTests(26,675 + def patchExit(31,776 + def patchOpen(39,986 + def fakeOpen(45,1142 + def patchInstallReactor(55,1399 + def installReactor(62,1597 + def test_synopsis(73,1885 + def test_version(84,2135 + def test_reactor(98,2494 + def test_installCorrectReactor(112,2889 + def test_installReactorBogus(126,3320 + def test_installReactorDefault(137,3623 + def test_logLevelValid(146,3928 + def test_logLevelInvalid(156,4197 + def _testLogFile(166,4460 + def test_logFileStdout(179,4830 + def test_logFileStderr(186,5007 + def test_logFileNamed(193,5184 + def test_logFileCantOpen(205,5476 + def _testLogFormat(224,6018 + def test_logFormatText(240,6497 + def test_logFormatJSON(248,6708 + def test_logFormatInvalid(256,6919 + def test_selectDefaultLogObserverNoOverride(266,7188 + def test_selectDefaultLogObserverDefaultWithTTY(286,7889 + class TTYFile(291,8077 + def isatty(292,8108 + def test_selectDefaultLogObserverDefaultWithoutTTY(308,8580 + def test_pluginsType(325,9095 + def test_pluginsIncludeWeb(337,9426 + def test_subCommandsType(348,9781 + def test_subCommandsIncludeWeb(362,10242 + def test_postOptionsNoSubCommand(376,10618 + +venv/lib/python2.7/site-packages/twisted/application/twist/test/test_twist.py,814 +class TwistTests(25,625 + def setUp(30,717 + def patchExit(34,775 + def patchInstallReactor(42,983 + def installReactor(49,1181 + def patchStartService(57,1404 + def startService(64,1596 + def test_optionsValidArguments(70,1744 + def test_optionsInvalidArguments(79,1980 + def test_service(95,2487 + def test_startService(104,2790 + def test_run(128,3475 + def test_main(159,4311 + class Runner(168,4528 + def __init__(169,4558 + def run(174,4703 +class TwistExitTests(198,5348 + def setUp(204,5529 + def fakeExitWithSignal(207,5593 + def startLogging(219,5941 + def test_twistReactorDoesntExitWithSignal(230,6218 + def test_twistReactorHasNoExitSignalAttr(245,6689 + def test_twistReactorExitsWithSignal(258,7164 + +venv/lib/python2.7/site-packages/twisted/application/twist/_options.py,426 +class TwistOptions(28,660 + def __init__(37,818 + def getSynopsis(45,1011 + def opt_version(51,1140 + def opt_reactor(58,1278 + def installReactor(80,2024 + def opt_log_level(91,2289 + def opt_log_file(109,2841 + def opt_log_format(130,3388 + def selectDefaultLogObserver(149,3982 + def parseOptions(165,4542 + def plugins(175,4799 + def subCommands(186,5069 + def postOptions(201,5568 + +venv/lib/python2.7/site-packages/twisted/application/twist/_twist.py,143 +class Twist(21,517 + def options(27,604 + def service(48,1073 + def startService(70,1702 + def run(89,2248 + def main(111,2974 + +venv/lib/python2.7/site-packages/twisted/application/strports.py,40 +def service(18,470 +def listen(46,1377 + +venv/lib/python2.7/site-packages/twisted/application/reactors.py,215 +class IReactorInstaller(18,426 + def install(30,755 +class NoSuchReactor(40,966 +class Reactor(48,1136 + def __init__(53,1294 + def install(59,1467 +def getReactorTypes(64,1537 +def installReactor(72,1676 + +venv/lib/python2.7/site-packages/twisted/_threads/test/test_threadworker.py,1083 +class FakeQueueEmpty(18,370 +class WouldDeadlock(25,473 +class FakeThread(33,621 + def __init__(44,848 + def start(52,1010 +class FakeQueue(60,1118 + def __init__(69,1328 + def put(76,1433 + def get(85,1625 +class FakeLock(97,1839 + def __init__(104,1980 + def acquire(111,2108 + def release(120,2325 +class ThreadWorkerTests(131,2560 + def setUp(136,2654 + def startThread(142,2809 + def test_startsThreadAndPerformsWork(150,3064 + def doIt(158,3446 + def test_quitPreventsFutureCalls(167,3707 +class LockWorkerTests(178,4052 + def test_fakeDeadlock(183,4142 + def test_fakeDoubleRelease(193,4397 + def test_doExecutesImmediatelyWithLock(205,4761 + def work(213,5033 + def test_doUnwindsReentrancy(223,5311 + def work(232,5606 + def test_quit(245,5966 + def test_quitWhileWorking(262,6497 + def phase1(272,6852 + def phase2(278,7057 + def test_quitWhileGettingLock(291,7437 + class RacyLockWorker(297,7694 + def _lock_get(298,7736 + def _lock_set(301,7843 + +venv/lib/python2.7/site-packages/twisted/_threads/test/test_memory.py,186 +class MemoryWorkerTests(15,347 + def test_createWorkerAndPerform(20,441 + def test_quitQuits(38,1072 + def moreWork(47,1469 + def test_performWhenNothingToDoYet(58,1785 + +venv/lib/python2.7/site-packages/twisted/_threads/test/test_convenience.py,208 +class QuitTests(16,352 + def test_isInitiallySet(21,429 + def test_setSetsSet(29,598 + def test_checkDoesNothing(38,790 + def test_checkAfterSetRaises(46,983 + def test_setTwiceRaises(55,1217 + +venv/lib/python2.7/site-packages/twisted/_threads/test/test_team.py,950 +class ContextualWorker(18,449 + def __init__(23,586 + def do(31,770 +class TeamTests(41,1026 + def setUp(46,1103 + def createWorker(59,1572 + def quitAndRemove(69,2018 + def logException(77,2269 + def coordinate(82,2409 + def performAllOutstandingWork(97,2823 + def test_doDoesWorkInWorker(111,3278 + def something(116,3432 + def test_initialStatistics(126,3779 + def test_growCreatesIdleWorkers(137,4175 + def test_growCreateLimit(146,4436 + def test_shrinkQuitsWorkers(158,4888 + def test_shrinkToZero(169,5207 + def test_moreWorkWhenNoWorkersAvailable(182,5648 + def something(189,5907 + def test_exceptionInTask(209,6717 + def test_quit(221,7147 + def test_quitQuits(231,7448 + def test_quitQuitsLaterWhenBusy(245,7886 + def test_quitConcurrentWithWorkHappening(262,8447 + def performWorkConcurrently(269,8747 + def test_shrinkWhenBusy(278,9052 + +venv/lib/python2.7/site-packages/twisted/_threads/_memory.py,149 +class MemoryWorker(19,408 + def __init__(27,572 + def do(35,732 + def quit(45,960 +def createMemoryWorker(54,1099 + def perform(63,1410 + +venv/lib/python2.7/site-packages/twisted/_threads/_convenience.py,86 +class Quit(14,322 + def __init__(22,484 + def set(29,594 + def check(39,780 + +venv/lib/python2.7/site-packages/twisted/_threads/_threadworker.py,215 +class ThreadWorker(19,443 + def __init__(28,737 + def work(44,1326 + def do(50,1445 + def quit(60,1683 +class LockWorker(72,2020 + def __init__(77,2127 + def do(91,2486 + def quit(117,3247 + +venv/lib/python2.7/site-packages/twisted/_threads/_ithreads.py,121 +class AlreadyQuit(14,266 +class IWorker(21,384 + def do(28,537 + def quit(48,1398 +class IExclusiveWorker(57,1619 + +venv/lib/python2.7/site-packages/twisted/_threads/_team.py,463 +class Statistics(20,421 + def __init__(36,926 +class Team(45,1196 + def __init__(76,2372 + def statistics(104,3494 + def grow(113,3772 + def createOneWorker(122,4018 + def shrink(130,4234 + def _quitIdlers(142,4589 + def do(159,5087 + def _coordinateThisTask(169,5341 + def doWork(188,5985 + def idleAndPending(195,6139 + def _recycleWorker(200,6256 + def quit(222,6936 + def startFinishing(229,7151 + +venv/lib/python2.7/site-packages/twisted/_threads/_pool.py,84 +def pool(25,557 + def startThread(54,1932 + def limitedWorkerCreator(57,2014 + +venv/lib/python2.7/site-packages/twisted/internet/test/reactormixins.py,445 +class TestTimeoutError(42,1258 +def needsRunningReactor(50,1416 +def stopOnError(75,2572 + def stopIfError(96,3638 +class ReactorBuilder:ReactorBuilder105,3865 + def setUp(174,6958 + def tearDown(183,7269 + def unbuildReactor(211,8480 + def buildReactor(243,9701 + def getTimeout(285,11512 + def runReactor(294,11788 + def stop(315,12645 + def makeTestCaseClasses(328,12983 + class testcase(337,13390 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_iocp.py,454 +class SupportTests(35,1012 + def _acceptAddressTest(40,1172 + def test_ipv4AcceptAddress(72,2473 + def test_ipv6AcceptAddress(87,3095 +class IOCPReactorTests(103,3669 + def test_noPendingTimerEvents(104,3712 + def test_reactorInterfaces(114,3964 + def test_fileHandleInterfaces(122,4244 + def test_maxEventsPerIteration(129,4438 + class FakeFD:FakeFD134,4629 + def logPrefix(136,4675 + def cb(138,4740 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_unix.py,3674 +class UNIXFamilyMixin(60,2311 + def _modeTest(64,2428 +def _abstractPath(76,2848 +class UNIXCreator(84,3001 + def server(90,3141 + def client(99,3411 +class SendFileDescriptor(107,3589 + def __init__(117,3896 + def connectionMade(129,4217 + def connectionLost(140,4531 +class ReceiveFileDescriptor(147,4696 + def waitForDescriptor(163,5177 + def fileDescriptorReceived(176,5555 + def dataReceived(185,5821 + def connectionLost(199,6422 +class UNIXTestsBuilder(212,6780 + def test_mode(221,7005 + def test_listenOnLinuxAbstractNamespace(229,7231 + def test_listenFailure(245,7907 + def raiseSocketError(250,8105 + def test_connectToLinuxAbstractNamespace(259,8429 + def test_addresses(273,8976 + class SaveAddress(279,9211 + def makeConnection(280,9259 + def test_sendFileDescriptor(294,9753 + def checkDescriptor(307,10189 + def test_sendFileDescriptorTriggersPauseProducing(329,11156 + class DoesNotRead(334,11365 + def connectionMade(335,11413 + class SendsManyFileDescriptors(338,11500 + def connectionMade(341,11589 + def sender(344,11726 + def stopProducing(351,12057 + def resumeProducing(354,12130 + def pauseProducing(357,12205 + def _disconnect(362,12366 + def test_fileDescriptorOverrun(378,12920 + def _sendmsgMixinFileDescriptorReceivedDriver(404,13947 + def deviceInodeTuple(437,15660 + class FakeProtocol(442,15810 + def __init__(443,15859 + def fileDescriptorReceived(446,15968 + class FakeReceiver(451,16152 + def __init__(453,16225 + def _dataReceived(456,16341 + def getHost(458,16405 + def getPeer(460,16457 + def _getLogPrefix(462,16509 + def test_multiFileDescriptorReceivedPerRecvmsgOneCMSG(497,17778 + def ancillaryPacker(505,18136 + def test_multiFileDescriptorReceivedPerRecvmsgTwoCMSGs(515,18509 + def ancillaryPacker(523,18870 + def test_multiFileDescriptorReceivedPerRecvmsgBadCMSG(539,19476 + def ancillaryPacker(553,20280 + def fakeRecvmsgUnsupportedAncillary(558,20422 + def test_avoidLeakingFileDescriptors(579,21282 + class RecordEndpointAddresses(597,22080 + def connectionMade(598,22139 + def test_descriptorDeliveredBeforeBytes(648,24167 + class RecordEvents(654,24411 + def connectionMade(656,24461 + def fileDescriptorReceived(660,24590 + def dataReceived(664,24763 +class UNIXDatagramTestsBuilder(683,25345 + def test_listenMode(692,25726 + def test_listenOnLinuxAbstractNamespace(700,25985 +class SocketUNIXMixin(716,26615 + def getListeningPort(723,26813 + def connectToListener(741,27398 +class ListenUNIXMixin(760,27880 + def getListeningPort(765,28012 + def connectToListener(774,28298 +class UNIXPortTestsMixin(793,28780 + def getExpectedStartListeningLogMessage(796,28856 + def getExpectedConnectionLostLogMsg(804,29149 +class UNIXPortTestsBuilder(812,29372 +class UNIXFDPortTestsBuilder(820,29622 +class UNIXAdoptStreamConnectionTestsBuilder(828,29883 + def test_buildProtocolReturnsNone(831,30042 + class NoneFactory(845,30572 + def buildProtocol(846,30614 + def test_ServerAddressUNIX(860,31004 + def connected(865,31120 + def getConnectedClientAndServer(891,32159 + def firstServerConnected(913,33105 + def stop(923,33566 + def start(935,33924 +class UnixClientTestsBuilder(953,34500 + def path(962,34710 + def listen(973,34988 + def connect(986,35314 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_base.py,1407 +class FakeReactor(28,796 + def __init__(34,943 + def callFromThread(45,1211 + def _runThreadCalls(49,1312 + def _stop(54,1422 +class ThreadedResolverTests(59,1478 + def test_success(63,1568 + def fakeGetHostByName(78,2050 + def test_failure(98,2635 + def fakeGetHostByName(108,2938 + def test_timeout(128,3563 + def fakeGetHostByName(140,3933 + def test_resolverGivenStr(161,4628 + class FakeResolver(169,4847 + def getHostByName(170,4883 + class JustEnoughReactor(174,5009 + def installWaker(175,5055 +def nothing(203,6098 +class DelayedCallMixin(210,6183 + def _getDelayedCallAt(214,6250 + def noop(221,6479 + def setUp(226,6595 + def test_str(235,6822 + def test_repr(249,7334 + def test_lt(258,7645 + def test_le(270,8018 + def test_gt(283,8430 + def test_ge(295,8802 + def test_eq(308,9212 + def test_ne(319,9575 +class DelayedCallNoDebugTests(331,9949 + def setUp(335,10043 + def test_str(343,10199 +class DelayedCallDebugTests(357,10728 + def setUp(361,10820 + def test_str(369,10974 +class TestSpySignalCapturingReactor(385,11576 + def installWaker(392,11736 +class ReactorBaseSignalTests(399,11824 + def test_exitSignalDefaultsToNone(405,11946 + def test_captureSIGINT(413,12180 + def test_captureSIGTERM(423,12497 + def test_captureSIGBREAK(433,12820 + +venv/lib/python2.7/site-packages/twisted/internet/test/connectionmixins.py,2404 +def findFreePort(31,909 +class ConnectableProtocol(61,1900 + def _setAttributes(77,2332 + def connectionLost(92,2785 +class EndpointCreator(99,2922 + def server(104,3049 + def client(112,3293 +class _SingleProtocolFactory(121,3553 + def __init__(129,3763 + def buildProtocol(133,3833 +def runProtocolsWithReactor(138,3901 + def gotPort(170,5173 + def failed(177,5408 +def _getWriters(189,5764 +class _AcceptOneClient(204,6166 + def __init__(214,6550 + def buildProtocol(219,6653 +class _SimplePullProducer(226,6840 + def __init__(231,7016 + def stopProducing(235,7085 + def resumeProducing(239,7129 +class Stop(245,7241 + def __init__(251,7383 + def clientConnectionFailed(255,7449 +class ClosingLaterProtocol(262,7637 + def __init__(268,7910 + def connectionMade(273,8044 + def dataReceived(277,8127 + def connectionLost(282,8267 +class ConnectionTestsMixin(289,8447 + def test_logPrefix(299,8684 + class CustomLogPrefixProtocol(304,8884 + def __init__(305,8944 + def connectionMade(309,9058 + def logPrefix(312,9140 + def dataReceived(315,9210 + def test_writeAfterDisconnect(330,9872 + def listening(343,10354 + def write(350,10708 + def disconnected(355,10909 + def onListen(366,11418 + def test_protocolGarbageAfterLostConnection(376,11732 + def listening(388,12252 + def disconnect(394,12513 + def onListening(401,12802 +class LogObserverMixin(417,13311 + def observe(421,13430 +class BrokenContextFactory(429,13628 + def getContext(436,13836 +class StreamClientTestsMixin(441,13904 + def test_interface(453,14327 + def test_clientConnectionFailedStopsReactor(462,14614 + def test_connectEvent(473,14961 + class CheckConnection(484,15330 + def connectionMade(486,15372 + def test_unregisterProducerAfterDisconnect(501,15726 + class ClientProtocol(517,16361 + def connectionMade(524,16617 + def connectionLost(530,16874 + def unregister(536,17123 + def test_disconnectWhileProducing(548,17544 + class Producer:Producer567,18470 + def resumeProducing(568,18494 + class ClientProtocol(577,18778 + def connectionMade(583,19030 + def unregister(593,19601 + def connectionLost(603,20040 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_udp.py,1878 +def _has_ipv6(34,1048 +def skipWithoutIPv6(54,1396 +class DatagramTransportTestsMixin(61,1523 + def test_startedListeningLogMessage(65,1667 + class SomeProtocol(74,1963 + def logPrefix(75,2009 + def test_connectionLostLogMessage(84,2327 + def stopReactor(94,2747 + def doStopListening(97,2809 + def test_stopProtocolScheduling(107,3103 + class DisconnectingProtocol(113,3337 + def startProtocol(120,3521 + def stopProtocol(126,3731 +class UDPPortTestsMixin(142,4195 + def test_interface(147,4328 + def test_getHost(156,4628 + def test_getHostIPv6(171,5179 + def test_invalidInterface(184,5598 + def test_logPrefix(195,5973 + class CustomLogPrefixDatagramProtocol(200,6164 + def __init__(201,6229 + def logPrefix(205,6349 + def datagramReceived(208,6419 + def gotSystem(220,6896 + def test_writeSequence(230,7202 + class SimpleDatagramProtocol(234,7323 + def __init__(235,7379 + def datagramReceived(238,7452 + def gotData(248,7809 + def test_str(258,8122 + def test_repr(267,8407 + def test_writeToIPv6Interface(277,8716 + def cbClientStarted(291,9254 + def cbServerReceived(304,9770 + def test_connectedWriteToIPv6Interface(324,10344 + def cbClientStarted(339,10952 + def cbServerReceived(353,11487 + def test_writingToHostnameRaisesInvalidAddressError(373,12041 + def test_writingToIPv6OnIPv4RaisesInvalidAddressError(386,12478 + def test_writingToIPv4OnIPv6RaisesInvalidAddressError(399,12927 + def test_connectingToHostnameRaisesInvalidAddressError(411,13355 + def test_allowBroadcast(422,13757 +class UDPServerTestsBuilder(434,14112 + def getListeningPort(442,14362 +class UDPFDServerTestsBuilder(459,14952 + def getListeningPort(466,15199 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_serialport.py,346 +class DoNothing(19,393 + def __init__(24,476 + def __getattr__(28,532 +class SerialPortTests(33,612 + def test_connectionMadeLost(44,866 + class DummySerialPort(50,1099 + def _finishPortSetup(53,1193 + class SerialProtocol(58,1309 + def connectionMade(59,1349 + def connectionLost(62,1436 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_core.py,1413 +class ObjectModelIntegrationMixin(22,484 + def assertFullyNewStyle(26,616 +class ObjectModelIntegrationTests(44,1231 + def test_newstyleReactor(49,1395 +class SystemEventTestsBuilder(59,1657 + def test_stopWhenNotStarted(64,1838 + def test_stopWhenAlreadyStopped(73,2103 + def test_callWhenRunningOrder(84,2448 + def test_runningForStartupEvents(98,2919 + def beforeStartup(106,3226 + def duringStartup(108,3301 + def afterStartup(110,3376 + def test_signalHandlersInstalledDuringStartup(125,3919 + def beforeStartup(132,4153 + def afterStartup(134,4214 + def fakeSignal(140,4442 + def test_stopShutDownEvents(151,4811 + def test_shutdownFiresTriggersAsynchronously(174,5708 + def stopIt(183,6052 + def test_shutdownDisconnectsCleanly(192,6315 + class ProblematicFileDescriptor(201,6666 + def connectionLost(202,6723 + class OKFileDescriptor(205,6839 + def connectionLost(206,6887 + def test_multipleRun(224,7670 + def reentrantRun(230,7860 + def test_runWithAsynchronousBeforeStartupTrigger(240,8200 + def trigger(247,8511 + def callback(253,8706 + def test_iterate(262,9001 + def test_crash(277,9355 + def test_runAfterCrash(295,9949 + def crash(301,10130 + def stop(307,10324 + def test_runAfterStop(315,10557 + def restart(321,10772 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_tls.py,1354 +class TLSMixin:TLSMixin44,1462 +class ContextGeneratingMixin(56,1847 + def getServerContext(62,2021 + def getClientContext(72,2318 +class StartTLSClientEndpoint(78,2427 + def __init__(89,2766 + def connect(94,2893 + class WrapperFactory(102,3249 + def buildProtocol(103,3294 + def connectionMade(105,3399 +class StartTLSClientCreator(115,3708 + def server(120,3912 + def client(129,4212 +class BadContextTestsMixin(140,4525 + def _testBadContext(145,4701 +class StartTLSClientTestsMixin(163,5421 +class SSLCreator(172,5709 + def server(176,5810 + def client(183,6010 +class SSLClientTestsMixin(195,6366 + def test_badContext(202,6614 + def useIt(208,6858 + def test_disconnectAfterWriteAfterStartTLS(214,7047 + class ShortProtocol(222,7451 + def connectionMade(223,7490 + def dataReceived(237,8128 + def connectionLost(247,8671 + def cbFinished(272,9655 +class TLSPortTestsBuilder(290,10283 + def getListeningPort(298,10599 + def getExpectedStartListeningLogMessage(305,10784 + def getExpectedConnectionLostLogMsg(312,11030 + def test_badContext(319,11237 + def useIt(325,11479 + def connectToListener(330,11634 +class AbortSSLConnectionTests(363,12590 + def buildReactor(370,12809 + def setUp(382,13287 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_coroutines.py,140 + class AwaitTests(24,620 + def test_notAvailable(31,876 + class YieldFromTests(47,1316 + def test_notAvailable(54,1573 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_time.py,311 +class TimeTestsBuilder(18,409 + def test_delayedCallStopsReactor(24,567 + def test_distantDelayedCall(33,794 + def eventSource(40,1061 + def stop(51,1503 +class GlibTimeTestsBuilder(75,2530 + def test_timeout_add(88,2968 + def gschedule(99,3279 + def callback(102,3368 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_posixprocess.py,1071 +class FakeFile(24,453 + def __init__(28,550 + def close(33,644 + def __enter__(37,712 + def __exit__(41,759 +class FakeResourceModule(46,839 + def __init__(55,1092 + def getrlimit(59,1153 +class FDDetectorTests(69,1387 + def getpid(90,2019 + def listdir(97,2139 + def openfile(113,2632 + def hideResourceModule(128,3220 + def revealResourceModule(136,3422 + def replaceResourceModule(148,3817 + def setUp(161,4146 + def test_selectFirstWorking(175,4649 + def failWithException(181,4896 + def failWithWrongResults(184,4981 + def correct(187,5047 + def test_selectLast(196,5280 + def failWithWrongResults(202,5552 + def failWithOtherWrongResults(205,5618 + def test_identityOfListOpenFDsChanges(215,5894 + def test_devFDImplementation(235,6552 + def test_procFDImplementation(248,7049 + def test_resourceFDImplementation(260,7517 + def test_fallbackFDImplementation(277,8214 +class FileDescriptorTests(289,8641 + def test_openFDs(295,8774 + def test_expectedFDs(312,9336 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_newtls.py,861 +class BypassTLSTests(27,825 + def test_loseConnectionPassThrough(35,1029 + class,38,1160 + class FakeTransport(44,1334 + def loseConnection(45,1371 +class FakeProducer(61,1832 + def pauseProducing(66,1911 + def resumeProducing(70,1956 + def stopProducing(74,2002 +class ProducerProtocol(80,2091 + def __init__(86,2269 + def handshakeCompleted(91,2375 +class ProducerTestsMixin(108,3063 + def test_producerSSLFromStart(116,3308 + def test_producerAfterStartTLS(131,3857 + def startTLSAfterRegisterProducer(146,4410 + class RegisterTLSProtocol(156,4781 + def connectionMade(157,4837 + class StartTLSProtocol(174,5719 + def connectionMade(175,5772 + def test_startTLSAfterRegisterProducerStreaming(183,6050 + def test_startTLSAfterRegisterProducerNonStreaming(191,6334 + +venv/lib/python2.7/site-packages/twisted/internet/test/process_helper.py,39 +def grandchild(7,149 +def main(12,255 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_inlinecb.py,1409 +class StopIterationReturnTests(21,507 + def test_returnWithValue(30,811 +def f(38,1103 +class NonLocalExitTests(54,1406 + def mistakenMethod(65,1871 + def assertMistakenMethodWarning(73,2080 + def test_returnValueNonLocalWarning(92,2988 + def inline(98,3225 + def test_returnValueNonLocalDeferred(108,3460 + def inline(116,3794 +class ForwardTraceBackTests(129,4108 + def test_forwardTracebacks(131,4159 + def erroring(140,4421 + def calling(145,4553 + def test_forwardLotsOfTracebacks(156,4819 + def erroring(176,5573 + def calling3(181,5705 + def calling2(185,5784 + def calling(189,5863 +class UntranslatedError(205,6327 +class TranslatedError(212,6453 +class DontFail(219,6575 + def __init__(224,6646 +class CancellationTests(230,6748 + def setUp(239,7095 + def tearDown(246,7234 + def sampleInlineCB(255,7442 + def getDeferred(273,7994 + def deferredGotten(284,8334 + def test_cascadeCancellingOnCancel(294,8649 + def getChildDeferred(299,8828 + def _eb(301,8887 + def test_errbackCancelledErrorOnCancel(316,9337 + def test_errorToErrorTranslation(329,9677 + def cancel(335,9968 + def test_errorToSuccessTranslation(346,10247 + def cancel(352,10540 + def test_asynchronousCancellation(362,10798 + def deferMeMore(371,11183 + def deferMe(375,11289 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_tcp.py,12480 +def getLinkLocalIPv6Address(106,3171 +def connect(124,3728 +class FakeSocket(143,4277 + def __init__(152,4536 + def setblocking(156,4621 + def recv(159,4692 + def send(162,4744 + def shutdown(173,5034 + def close(181,5278 + def setsockopt(189,5511 + def fileno(197,5761 +class FakeSocketTests(207,5996 + def test_blocking(212,6125 + def test_recv(218,6263 + def test_send(223,6380 +class FakeProtocol(235,6708 + def dataReceived(239,6825 +class _FakeFDSetReactor(249,7036 + def __init__(263,7476 + def addReader(268,7562 + def removeReader(272,7631 + def addWriter(277,7746 + def removeWriter(281,7815 + def removeAll(286,7930 + def getReaders(292,8058 + def getWriters(296,8121 +class TCPServerTests(303,8232 + def setUp(307,8335 + class FakePort(309,8399 + def test_writeAfterDisconnect(317,8643 + def test_writeAfterDisconnectAfterTLS(328,9003 + def test_writeSequenceAfterDisconnect(337,9290 + def test_writeSequenceAfterDisconnectAfterTLS(348,9676 +class TCPConnectionTests(358,9988 + def test_doReadWarningIsRaised(362,10099 + def test_noTLSBeforeStartTLS(381,10860 + def test_tlsAfterStartTLS(392,11184 +class TCPCreator(408,11705 + def server(415,11860 + def client(422,12032 +class TCP6Creator(432,12303 + def __init__(445,12943 +class FakeResolver(451,13051 + def __init__(456,13173 + def getHostByName(460,13233 +class TCPClientTestsBase(476,13663 + def port(520,15601 + def interface(534,15981 + def listen(541,16138 + def connect(555,16509 + def test_buildProtocolReturnsNone(568,16855 + class NoneFactory(581,17287 + def buildProtocol(582,17329 + def listened(587,17478 + def connectSucceeded(593,17723 + def connectFailed(597,17924 + def connected(601,18061 + def disconnected(611,18514 + def test_addresses(622,18916 + class CheckAddress(643,19839 + def makeConnection(644,19877 + def connectMe(653,20217 + def test_badContext(700,21849 + def connected(719,22546 + def connectFailed(727,22906 + def whenRun(730,22979 +class TCP4ClientTestsBuilder(750,23664 +class TCP6ClientTestsBuilder(763,23970 + def setUp(774,24235 +class TCPConnectorTestsBuilder(788,24868 + def test_connectorIdentity(794,25053 + def test_userFail(833,26626 + def startedConnecting(846,27100 + def test_reconnect(870,27919 + def clientConnectionLost(883,28382 + def reconnectFailed(889,28639 +class TCP4ConnectorTestsBuilder(903,29023 +class TCP6ConnectorTestsBuilder(910,29172 + def setUp(917,29334 +def createTestSocket(922,29409 +class _IExhaustsFileDescriptors(940,29806 + def exhaust(945,29899 + def release(955,30162 + def count(961,30266 +class _ExhaustsFileDescriptors(974,30559 + def exhaust(991,31201 + def release(1018,32008 + def count(1032,32374 +class ExhaustsFileDescriptorsTests(1044,32665 + def setUp(1050,32805 + def openAFile(1057,33023 + def test_providesInterface(1065,33194 + def test_count(1073,33414 + def test_exhaustTriggersEMFILE(1085,33785 + def test_exhaustRaisesOSError(1096,34167 + def raiseOSError(1102,34385 + def test_release(1109,34587 + def test_fileDescriptorsReleasedOnFailure(1120,34858 + def failsAfterThree(1127,35103 + def test_releaseIgnoresEBADF(1149,35855 + def recordFileDescriptors(1156,36087 + def test_releaseRaisesOSError(1173,36518 + def opensThree(1181,36769 + def failingClose(1187,36990 +def assertPeerClosedOnEMFILE(1200,37397 + def stopReactorIfServerAccepted(1243,38832 + def stopReactorAndCloseFileDescriptors(1257,39231 +class AssertPeerClosedOnEMFILETests(1280,39914 + class NullExhauster(1287,40099 + def exhaust(1292,40197 + def release(1298,40311 + def count(1304,40425 + def setUp(1309,40534 + def test_nullExhausterProvidesInterface(1314,40642 + def test_reactorStoppedOnSuccessfulConnection(1322,40870 + def runReactor(1330,41164 + def listen(1336,41383 + def connect(1342,41580 +class StreamTransportTestsMixin(1361,42109 + def test_startedListeningLogMessage(1366,42254 + class SomeFactory(1375,42549 + def logPrefix(1376,42591 + def test_connectionLostLogMsg(1386,42925 + def logConnectionLostMsg(1394,43217 + def stopReactor(1402,43542 + def doStopListening(1406,43657 + def test_allNewStyle(1416,43936 + def test_closePeerOnEMFILE(1426,44247 +class ConnectToTCPListenerMixin(1444,44712 + def connectToListener(1458,45148 +class ListenTCPMixin(1478,45747 + def getListeningPort(1482,45891 +class SocketTCPMixin(1490,46098 + def getListeningPort(1495,46255 +class TCPPortTestsMixin(1526,47395 + def getExpectedStartListeningLogMessage(1532,47524 + def getExpectedConnectionLostLogMsg(1540,47777 + def test_portGetHostOnIPv4(1547,47984 + def test_portGetHostOnIPv6(1558,48363 + def test_portGetHostOnIPv6ScopeID(1577,49095 + def _buildProtocolAddressTest(1594,49820 + class ObserveAddress(1612,50694 + def buildProtocol(1613,50739 + def test_buildProtocolIPv4Address(1632,51344 + def test_buildProtocolIPv6Address(1644,51850 + def test_buildProtocolIPv6AddressScopeID(1663,52543 + def _serverGetConnectionAddressTest(1682,53312 + class ObserveAddress(1702,54317 + def makeConnection(1703,54357 + def test_serverGetHostOnIPv4(1720,54982 + def test_serverGetHostOnIPv6(1734,55547 + def test_serverGetHostOnIPv6ScopeID(1754,56279 + def test_serverGetPeerOnIPv4(1775,57085 + def test_serverGetPeerOnIPv6(1789,57642 + def test_serverGetPeerOnIPv6ScopeID(1809,58366 +class TCPPortTestsBuilder(1831,59165 +class TCPFDPortTestsBuilder(1838,59363 +class StopStartReadingProtocol(1845,59567 + def connectionMade(1850,59689 + def pauseResumeProducing(1855,59782 + def dataReceived(1869,60229 +def oneTransportTest(1877,60418 + def actualTestMethod(1893,61069 + class ServerProtocol(1895,61142 + def connectionMade(1896,61193 +def assertReading(1910,61714 +def assertNotReading(1937,62611 +class TCPConnectionTestsBuilder(1963,63468 + def test_stopStartReading(1969,63649 + def proceed(1988,64353 + def cleanup(1999,64819 + def test_resumeProducing(2020,65661 + def test_resumeProducingWhileDisconnecting(2032,66033 + def test_resumeProducingWhileDisconnected(2044,66437 + def test_connectionLostAfterPausedTransport(2055,66861 + class Pauser(2070,67690 + def __init__(2071,67733 + def dataReceived(2074,67799 + def resume(2079,67991 + def connectionLost(2083,68117 + class Client(2088,68335 + def connectionMade(2089,68378 + def test_doubleHalfClose(2098,68694 + class ListenerProtocol(2107,69091 + def readConnectionLost(2109,69145 + def writeConnectionLost(2112,69241 + class Client(2115,69333 + def connectionMade(2116,69376 +class WriteSequenceTestsMixin(2125,69628 + def setWriteBufferSize(2131,69796 + def test_writeSequeceWithoutWrite(2142,70199 + def connected(2147,70346 + def dataReceived(2150,70426 + def test_writeSequenceWithUnicodeRaisesException(2167,71026 + def connected(2173,71213 + def test_streamingProducer(2192,71813 + class SaveActionProducer(2198,72025 + def __init__(2202,72120 + def pauseProducing(2205,72187 + def resumeProducing(2208,72271 + def stopProducing(2218,72820 + def connected(2223,72943 + def test_nonStreamingProducer(2246,73969 + class SaveActionProducer(2254,74211 + def __init__(2257,74280 + def resumeProducing(2260,74347 + def stopProducing(2268,74713 + def connected(2274,74837 +class TCPTransportServerAddressTestMixin(2294,75599 + def getConnectedClientAndServer(2299,75730 + def _testServerAddress(2307,76009 + def connected(2312,76182 + def test_serverAddressTCP4(2340,77292 + def test_serverAddressTCP6(2350,77677 +class TCPTransportTestsBuilder(2364,78148 + def getConnectedClientAndServer(2370,78384 + def stop(2387,79103 + def start(2398,79392 +class AdoptStreamConnectionTestsBuilder(2412,79757 + def getConnectedClientAndServer(2420,80094 + def firtServerConnected(2440,80935 + def stop(2450,81400 + def start(2462,81758 +class ServerAbortsTwice(2487,82710 + def dataReceived(2492,82807 +class ServerAbortsThenLoses(2498,82926 + def dataReceived(2503,83050 +class AbortServerWritingProtocol(2509,83168 + def connectionMade(2514,83287 +class ReadAbortServerProtocol(2522,83461 + def dataReceived(2529,83712 +class NoReadServer(2535,83844 + def connectionMade(2543,84070 +class EventualNoReadServer(2548,84140 + def dataReceived(2559,84420 + def resumeProducing(2566,84617 + def pauseProducing(2574,84811 + def stopProducing(2578,84856 +class BaseAbortingClient(2583,84901 + def connectionLost(2589,85035 +class WritingButNotAbortingClient(2596,85245 + def connectionMade(2601,85350 +class AbortingClient(2606,85422 + def dataReceived(2611,85533 + def writeAndAbort(2620,85756 +class AbortingTwiceClient(2630,86083 + def writeAndAbort(2635,86202 +class AbortingThenLosingClient(2641,86318 + def writeAndAbort(2646,86437 +class ProducerAbortingClient(2652,86552 + def write(2660,86736 + def connectionMade(2667,86940 + def resumeProducing(2671,86993 + def stopProducing(2678,87184 + def connectionLost(2682,87251 +class StreamingProducerClient(2691,87567 + def connectionMade(2707,88199 + def write(2711,88252 + def resumeProducing(2721,88531 + def stopProducing(2725,88592 + def pauseProducing(2729,88636 + def doAbort(2751,89565 + def connectionLost(2759,89808 +class StreamingProducerClientLater(2766,90027 + def connectionMade(2772,90188 + def dataReceived(2777,90288 +class ProducerAbortingClientLater(2783,90410 + def connectionMade(2791,90651 + def dataReceived(2796,90744 +class DataReceivedRaisingClient(2801,90802 + def dataReceived(2806,90941 +class ResumeThrowsClient(2812,91058 + def resumeProducing(2817,91196 + def connectionLost(2823,91358 +class AbortConnectionMixin(2831,91675 + def runAbortTest(2838,91868 + def test_dataReceivedAbort(2875,93497 + def test_clientAbortsConnectionTwice(2883,93787 + def test_clientAbortsConnectionThenLosesConnection(2892,94068 + def test_serverAbortsConnectionTwice(2902,94418 + def test_serverAbortsConnectionThenLosesConnection(2912,94777 + def test_resumeProducingAbort(2923,95204 + def test_resumeProducingAbortLater(2933,95569 + def test_fullWriteBuffer(2942,95903 + def test_fullWriteBufferAfterByteExchange(2957,96426 + def test_dataReceivedThrows(2969,96867 + def test_resumeProducingThrows(2985,97532 +class AbortConnectionTests(3002,98190 +class SimpleUtilityTests(3014,98455 + def test_resolveNumericHost(3021,98618 + def test_resolveNumericService(3032,99097 + def test_resolveIPv6(3048,99845 +class BuffersLogsTests(3067,100669 + def setUp(3072,100762 + def test_buffersInBlock(3078,100922 + def test_flushesOnExit(3088,101197 + def test_flushesOnExitWithException(3102,101683 + class TestException(3107,101867 +class FileDescriptorReservationTests(3125,102408 + def setUp(3131,102552 + def fakeFileFactory(3135,102650 + def test_providesInterface(3142,102872 + def test_reserveOpensFileOnce(3150,103099 + def test_reserveEMFILELogged(3163,103515 + def test_reserveRaisesNonEMFILEExceptions(3182,104169 + def failsWith(3191,104569 + def test_available(3198,104807 + def test_enterFailsWithoutFile(3208,105088 + def test_enterClosesFileExitOpensFile(3217,105399 + def test_exitOpensFileOnException(3229,105806 + class TestException(3234,106003 + def test_exitSuppressesReservationException(3245,106280 + class AllowedException(3251,106564 + class SuppressedException(3256,106692 + def failsWithSuppressedExceptionAfterSecondOpen(3263,106861 +class NullFileDescriptorReservationTests(3285,107489 + def setUp(3290,107618 + def test_providesInterface(3294,107704 + def test_available(3302,107930 + def test_contextManager(3309,108106 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_win32events.py,517 +class Listener(23,566 + def __init__(47,1404 + def logPrefix(51,1474 + def occurred(56,1568 + def brokenOccurred(62,1703 + def returnValueOccurred(66,1778 + def connectionLost(70,1877 +class Win32EventsTestsBuilder(76,2003 + def test_interface(82,2177 + def test_addEvent(91,2423 + def test_ioThreadDoesNotChange(110,3214 + def check(116,3415 + def test_disconnectedOnError(131,3953 + def test_disconnectOnReturnValue(158,4935 + def test_notDisconnectedOnShutdown(184,5827 + +venv/lib/python2.7/site-packages/twisted/internet/test/_win32ifaces.py,135 +class SOCKET_ADDRESS(61,1817 +def make_SAL(67,1939 + class SOCKET_ADDRESS_LIST(68,1957 +def win32GetLinkLocalIPv6Addresses(75,2133 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_threads.py,618 +class ThreadTestsBuilder(21,470 + def test_getThreadPool(27,636 + def f(40,1090 + def test_suggestThreadPoolSize(58,1635 + def test_delayedCallFromThread(69,1961 + def threadCall(83,2651 + def test_callFromThread(112,4185 + def threadCall(120,4437 + def test_stopThreadPool(130,4757 + def test_stopThreadPoolWhenStartedAfterReactorRan(147,5341 + def acquireThreadPool(161,5921 + def test_cleanUpThreadPoolEvenBeforeReactorIsRun(170,6199 + def test_isInIOThread(200,7426 + def check(208,7749 + def test_isNotInIOThread(216,7956 + def check(224,8296 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_win32serialport.py,805 + class RegularFileSerial(27,551 + def __init__(28,595 + def _reconfigurePort(33,790 + def _reconfigure_port(36,844 + class RegularFileSerialPort(40,900 + def __init__(43,1000 + def _clearCommError(54,1331 +class CollectReceivedProtocol(58,1406 + def __init__(59,1447 + def dataReceived(62,1504 +class Win32SerialPortTests(66,1580 + def setUp(77,1876 + def tearDown(89,2209 + def test_serialPortDefaultArgs(92,2272 + def test_serialPortInitiallyConnected(111,3205 + def common_exerciseHandleAccess(124,3764 + def test_exerciseHandleAccess_1(142,4393 + def test_exerciseHandleAccess_2(145,4493 + def common_serialPortReturnsBytes(148,4592 + def test_serialPortReturnsBytes_1(163,5076 + def test_serialPortReturnsBytes_2(166,5180 + +venv/lib/python2.7/site-packages/twisted/internet/test/fakeendpoint.py,295 +class PluginBase(20,563 + def __init__(22,590 +class FakeClientParserWithReactor(28,707 + def parseStreamClient(30,755 +class FakeParser(36,890 + def parseStreamServer(38,921 +class EndpointBase(43,1008 + def __init__(45,1037 +class StreamClient(53,1205 +class StreamServer(59,1287 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_main.py,154 +class InstallReactorTests(17,377 + def test_installReactor(22,484 + def test_alreadyInstalled(33,809 + def test_errorIsAnAssertionError(44,1160 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_kqueuereactor.py,201 +def _fakeKEvent(23,433 +def makeFakeKQueue(30,502 + class FakeKQueue(40,870 +class KQueueTests(48,984 + def test_EINTR(56,1222 + class FakeKQueue(60,1349 + def control(65,1555 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_sigchld.py,256 +class SetWakeupSIGCHLDTests(23,606 + def pipe(29,789 + def setUp(42,1132 + def tearDown(61,1828 + def test_isDefaultHandler(76,2345 + def test_returnOldFD(90,2853 + def test_uninstallHandler(99,3115 + def test_installHandler(111,3472 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_abstract.py,223 +class IPv6AddressTests(15,329 + def test_empty(20,504 + def test_colon(27,657 + def test_loopback(34,810 + def test_scopeID(41,966 + def test_invalidWithScopeID(51,1306 + def test_unicodeAndBytes(61,1633 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_process.py,3244 +def onlyOnPOSIX(59,1770 +class _ShutdownCallbackProcessProtocol(73,2074 + def __init__(81,2387 + def childDataReceived(86,2495 + def processEnded(90,2596 +class ProcessTestsBuilderBase(95,2676 + def test_processTransportInterface(106,3009 + def _writeTest(133,4109 + def startup(154,4908 + def test_write(170,5435 + def write(175,5602 + def test_writeSequence(180,5719 + def write(185,5913 + def test_writeToChild(190,6040 + def write(195,6232 + def test_writeToChildBadFileDescriptor(200,6359 + def write(205,6590 + def test_spawnProcessEarlyIsReaped(214,6906 + def handler(233,7657 + def test_processExitedWithSignal(273,9173 + class Exiter(292,9996 + def childDataReceived(293,10035 + def childConnectionLost(297,10203 + def processExited(300,10306 + def processEnded(309,10784 + def cbExited(317,11060 + def test_systemCallUninterruptedByChildExit(343,12167 + def f(357,12759 + def test_openFileDescriptors(380,13700 + class GatheringProtocol(428,15865 + def processEnded(430,15954 + def test_errorDuringExec(454,16698 + def execvpe(460,16908 + def whenRunning(476,17532 + class TracebackCatcher(477,17559 + def processEnded(479,17663 + def test_timelyProcessExited(488,17981 + class ExitingProtocol(495,18180 + def processExited(498,18256 + def _changeIDTest(514,18790 + class CaptureExitStatus(528,19310 + def processEnded(529,19360 + def test_changeUID(545,19805 + def test_changeGID(555,20092 + def test_processExitedRaises(565,20379 + class TestException(573,20682 + class Protocol(576,20740 + def processExited(577,20781 +class ProcessTestsBuilder(602,21707 + def test_childConnectionLost(619,22278 + class Closer(627,22572 + def makeConnection(628,22611 + def childConnectionLost(631,22707 + def cbConnected(641,23065 + def lostSecond(646,23243 + def lostFirst(651,23419 + def cbEnded(656,23564 + def test_processEnded(664,23775 + class Ender(673,24063 + def childDataReceived(674,24101 + def childConnectionLost(678,24263 + def processExited(682,24413 + def processEnded(685,24512 + def cbEnded(696,24920 + def test_processExited(711,25428 + class Waiter(721,25727 + def childDataReceived(722,25766 + def childConnectionLost(725,25880 + def processExited(731,26108 + def cbExited(744,26626 + def cbAllLost(752,26873 + def makeSourceFile(762,27122 + def test_shebang(773,27497 + def cbProcessExited(790,28096 + def shutdown(797,28360 + def start(801,28454 + def test_processCommandLineArguments(811,28731 + def processFinished(826,29278 + def shutdown(833,29512 + def spawnChild(837,29596 +class PTYProcessTestsBuilder(851,30032 +class PotentialZombieWarningTests(870,30602 + def test_deprecated(874,30727 +class ProcessIsUnimportableOnUnsupportedPlatormsTests(894,31462 + def test_unimportableOnWindows(899,31670 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_asyncioreactor.py,127 +class AsyncioSelectorReactorTests(20,415 + def test_defaultEventLoopFromGlobalPolicy(28,607 + def completed(39,1030 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_udp_internals.py,387 +class StringUDPSocket(24,516 + def __init__(34,826 + def connect(39,926 + def recvfrom(43,991 +class KeepReads(54,1234 + def __init__(59,1318 + def datagramReceived(63,1368 +class ErrorsTests(68,1447 + def test_socketReadNormal(73,1555 + def test_readImmediateError(96,2384 + def test_connectedReadImmediateError(124,3400 + def test_readUnknownError(155,4484 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_address.py,1104 +class AddressTestCaseMixin(28,656 + def test_addressComparison(29,692 + def test_hash(41,1159 + def test_differentNamesComparison(51,1456 + def assertDeprecations(63,1955 +class IPv4AddressTestCaseMixin(75,2374 +class HostnameAddressTests(80,2501 + def buildAddress(86,2683 + def buildDifferentAddress(95,2897 +class IPv4AddressTCPTests(105,3121 + def buildAddress(107,3230 + def buildDifferentAddress(116,3503 +class IPv4AddressUDPTests(124,3683 + def buildAddress(126,3792 + def buildDifferentAddress(135,4065 +class IPv6AddressTests(143,4245 + def buildAddress(146,4392 + def buildDifferentAddress(155,4659 +class UNIXAddressTests(163,4833 + def setUp(167,4947 + def buildAddress(172,5057 + def buildDifferentAddress(180,5299 + def test_repr(187,5475 + def test_comparisonOfLinkedFiles(196,5751 + def test_hashOfLinkedFiles(211,6364 +class EmptyUNIXAddressTests(225,6862 + def setUp(233,7116 + def buildAddress(237,7183 + def buildDifferentAddress(246,7466 + def test_comparisonOfLinkedFiles(253,7646 + def test_emptyHash(269,8312 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_endpoints.py,13918 +class TestProtocol(86,3682 + def __init__(92,3844 + def logPrefix(98,3964 + def connectionMade(102,4024 + def dataReceived(106,4094 + def connectionLost(110,4161 +class TestHalfCloseableProtocol(116,4294 + def __init__(128,4707 + def readConnectionLost(134,4830 + def writeConnectionLost(138,4895 +class TestFileDescriptorReceiverProtocol(144,5012 + def connectionMade(153,5365 + def fileDescriptorReceived(158,5477 +class TestHandshakeListener(164,5626 + def __init__(174,5953 + def handshakeCompleted(179,6056 +class TestFactory(188,6257 +class NoneFactory(198,6503 + def buildProtocol(202,6615 +class WrappingFactoryTests(207,6673 + def test_doStart(211,6814 + def test_doStop(222,7170 + def test_failedBuildProtocol(234,7553 + class BogusFactory(239,7747 + def buildProtocol(244,7900 + def test_buildNoneProtocol(259,8301 + def test_buildProtocolReturnsNone(269,8689 + def test_logPrefixPassthrough(281,9155 + def test_logPrefixDefault(292,9557 + class NoProtocol(298,9786 + def test_wrappedProtocolDataReceived(307,10049 + def test_wrappedProtocolTransport(323,10571 + def test_wrappedProtocolConnectionLost(340,11038 + def test_clientConnectionFailed(354,11448 + def gotError(366,11850 + def test_wrappingProtocolFileDescriptorReceiver(374,12006 + def test_wrappingProtocolNotFileDescriptorReceiver(388,12575 + def test_wrappedProtocolFileDescriptorReceived(398,12933 + def test_wrappingProtocolHalfCloseable(411,13458 + def test_wrappingProtocolNotHalfCloseable(423,13850 + def test_wrappingProtocolHandshakeListener(434,14222 + def test_wrappingProtocolNotHandshakeListener(444,14606 + def test_wrappedProtocolReadConnectionLost(454,14954 + def test_wrappedProtocolWriteConnectionLost(465,15313 + def test_wrappedProtocolHandshakeCompleted(476,15677 +class ClientEndpointTestCaseMixin(488,16079 + def test_interface(492,16214 + def retrieveConnectedFactory(502,16551 + def test_endpointConnectSuccess(513,16893 + def checkProto(530,17344 + def test_endpointConnectFailure(545,17774 + def checkFailure(563,18303 + def test_endpointConnectingCancelled(571,18480 + def checkFailure(588,18978 + def test_endpointConnectNonDefaultArgs(608,19693 +class ServerEndpointTestCaseMixin(630,20270 + def test_interface(634,20405 + def test_endpointListenSuccess(644,20735 + def checkPortAndServer(660,21131 + def test_endpointListenFailure(669,21393 + def checkFailure(685,21903 + def test_endpointListenNonDefaultArgs(693,22076 +class EndpointTestCaseMixin(714,22592 +class SpecificFactory(722,22795 + def __init__(729,23035 + def buildProtocol(733,23128 +class FakeStdio(741,23377 + def __init__(746,23508 +class StandardIOEndpointsTests(758,23845 + def setUp(763,23950 + def test_protocolCreation(781,24521 + def test_passedReactor(793,25042 +class StubApplicationProtocol(802,25291 + def dataReceived(806,25387 + def connectionLost(814,25552 +class MemoryProcessTransport(823,25745 + def __init__(828,25896 + def writeToChild(837,26174 + def closeStdin(842,26273 + def closeStdout(846,26330 + def closeStderr(850,26388 + def closeChildFD(854,26446 + def signalProcess(858,26516 +class MemoryProcessReactor(870,26822 + def spawnProcess(874,26934 +class ProcessEndpointsTests(896,27664 + def setUp(901,27768 + def test_constructorDefaults(908,28013 + def test_constructorNonDefaults(924,28659 + def test_wrappedProtocol(947,29640 + def test_spawnProcess(958,30003 + def test_processAddress(985,31139 + class TestAddrFactory(991,31312 + def buildProtocol(995,31436 + def test_connect(1007,31787 + def test_connectFailure(1016,32062 + def testSpawnProcess(1022,32216 +class ProcessEndpointTransportTests(1033,32531 + def setUp(1039,32700 + def test_verifyConsumer(1050,33124 + def test_verifyProducer(1057,33301 + def test_verifyTransport(1064,33486 + def test_constructor(1071,33666 + def test_registerProducer(1079,33884 + class AProducer(1085,34100 + def test_pauseProducing(1092,34306 + def test_resumeProducing(1100,34558 + def test_stopProducing(1110,34860 + def test_unregisterProducer(1119,35133 + def test_extraneousAttributes(1129,35456 + def test_writeSequence(1141,35901 + def test_write(1150,36247 + def test_loseConnection(1159,36539 + def test_getHost(1168,36850 + def test_getPeer(1178,37181 +class WrappedIProtocolTests(1189,37513 + def setUp(1193,37648 + def test_constructor(1201,37922 + def test_makeConnection(1212,38294 + def _stdLog(1223,38647 + def test_logStderr(1230,38765 + def test_stderrSkip(1250,39528 + def test_stdout(1266,40058 + def test_processDone(1279,40463 + def test_processEnded(1294,40937 +class TCP4EndpointsTests(1309,41411 + def expectedServers(1314,41530 + def expectedClients(1321,41689 + def assertConnectArgs(1328,41849 + def connectArgs(1352,42923 + def listenArgs(1359,43110 + def createServerEndpoint(1366,43284 + def createClientEndpoint(1392,44283 +class TCP6EndpointsTests(1417,45327 + def expectedServers(1422,45446 + def expectedClients(1429,45605 + def assertConnectArgs(1436,45765 + def connectArgs(1460,46839 + def listenArgs(1467,47026 + def createServerEndpoint(1474,47194 + def createClientEndpoint(1501,48224 +class TCP6EndpointNameResolutionTests(1526,49261 + def createClientEndpoint(1532,49505 + def testNameResolution(1548,50234 + def connectArgs(1564,50878 + def expectedClients(1571,51065 + def assertConnectArgs(1578,51225 + def test_freeFunctionDeferToThread(1602,52299 + def test_nameResolution(1611,52605 + def fakeDeferToThread(1618,52783 +class RaisingMemoryReactorWithClock(1633,53294 + def __init__(1637,53440 +def deterministicResolvingReactor(1643,53620 + class SimpleNameResolver(1676,55247 + def resolveHostName(1678,55307 + class WithResolver(1691,56021 +class SimpleHostnameResolverTests(1699,56211 + def setUp(1728,57218 + class _Receiver(1738,57579 + def resolutionBegan(1740,57638 + def addressResolved(1743,57790 + def resolutionComplete(1746,57916 + def fakeResolver(1752,58045 + def test_interface(1768,58468 + def test_resolveNameFailure(1777,58750 + def captureLogs(1787,59078 + def test_resolveNameDelivers(1813,60017 +class HostnameEndpointFallbackNameResolutionTests(1841,60954 + def test_fallbackNameResolution(1847,61136 + def assertHostPortFamilySockType(1861,61637 +class _HostnameEndpointMemoryReactorMixin(1872,62021 + def synchronousDeferredToThread(1879,62258 + def expectedClients(1901,62883 + def connectArgs(1912,63153 + def assertConnectArgs(1920,63343 + def test_endpointConnectFailure(1944,64417 + def test_deprecation(1966,65186 + def test_errorsLogged(1990,66062 + def getaddrinfoThatFails(2001,66340 +class HostnameEndpointMemoryIPv4ReactorTests(2014,66732 + def createClientEndpoint(2022,67005 + def fakegetaddrinfo(2044,67803 +class HostnameEndpointMemoryIPv6ReactorTests(2059,68298 + def createClientEndpoint(2067,68571 + def fakegetaddrinfo(2089,69380 +class HostnameEndpointsOneIPv4Tests(2105,69893 + def createClientEndpoint(2111,70119 + def expectedClients(2129,70810 + def assertConnectArgs(2136,70970 + def connectArgs(2160,72044 + def test_endpointConnectingCancelled(2167,72231 + def test_endpointConnectingCancelledAfterAllAttemptsStarted(2199,73548 + def test_endpointConnectFailure(2211,74108 + def test_endpointConnectFailureAfterIteration(2233,74901 + def test_endpointConnectSuccessAfterIteration(2258,75831 + def checkProto(2279,76519 +class HostnameEndpointsOneIPv6Tests(2299,77039 + def createClientEndpoint(2305,77265 + def expectedClients(2321,77919 + def assertConnectArgs(2328,78079 + def connectArgs(2352,79153 + def test_endpointConnectingCancelled(2359,79340 + def test_endpointConnectFailure(2390,80632 +class HostnameEndpointIDNATests(2409,81295 + def test_idnaHostnameText(2417,81524 + def test_idnaHostnameBytes(2430,82013 + def test_nonNormalizedText(2443,82508 + def test_deferBadEncodingToConnect(2456,83019 +class HostnameEndpointReprTests(2480,84061 + def test_allASCII(2484,84199 + def test_idnaHostname(2500,84653 + def test_hostIPv6Address(2516,85144 + def test_badEncoding(2534,85719 +class HostnameEndpointsGAIFailureTests(2551,86201 + def test_failure(2555,86348 +class HostnameEndpointsFasterConnectionTests(2571,86869 + def setUp(2576,87094 + def test_ignoreUnknownAddressTypes(2584,87370 + def test_IPv4IsFaster(2606,88213 + def test_IPv6IsFaster(2638,89278 + def test_otherConnectionsCancelled(2672,90380 +class SSL4EndpointsTests(2701,91323 + def expectedServers(2709,91501 + def expectedClients(2716,91660 + def assertConnectArgs(2723,91820 + def connectArgs(2750,93063 + def listenArgs(2757,93250 + def setUp(2764,93424 + def createServerEndpoint(2782,94012 + def createClientEndpoint(2806,95034 +class UNIXEndpointsTests(2836,96249 + def retrieveConnectedFactory(2842,96395 + def expectedServers(2849,96663 + def expectedClients(2856,96825 + def assertConnectArgs(2863,96988 + def connectArgs(2885,97897 + def listenArgs(2892,98062 + def createServerEndpoint(2899,98239 + def createClientEndpoint(2922,99169 +class ParserTests(2945,100086 + def parse(2952,100230 + def test_simpleTCP(2959,100410 + def test_interfaceTCP(2968,100672 + def test_backlogTCP(2977,100973 + def test_simpleUNIX(2986,101252 + def test_modeUNIX(2998,101730 + def test_wantPIDUNIX(3008,102056 + def test_escape(3018,102389 + def test_quoteStringArgument(3029,102754 + def test_impliedEscape(3039,103139 + def test_unknownType(3050,103529 +class ServerStringTests(3059,103760 + def test_tcp(3064,103883 + def test_ssl(3080,104511 + def test_sslWithDefaults(3102,105444 + def test_sslChainLoads(3128,106500 + def test_sslChainFileMustContainCert(3153,107496 + def test_sslDHparameters(3179,108544 + def test_sslNoTrailingNewlinePem(3196,109181 + def test_unix(3229,110426 + def test_unknownType(3247,111134 + def test_typeFromPlugin(3261,111590 +def addFakePlugin(3280,112351 + def cleanup(3289,112650 +class ClientStringTests(3303,113015 + def test_tcp(3308,113138 + def test_tcpPositionalArgs(3326,113861 + def test_tcpHostPositionalArg(3344,114615 + def test_tcpPortPositionalArg(3359,115168 + def test_tcpDefaults(3373,115720 + def test_unix(3386,116124 + def test_unixDefaults(3403,116766 + def test_unixPathPositionalArg(3414,117120 + def test_typeFromPlugin(3431,117815 + def test_unknownType(3446,118471 + def test_stringParserWithReactor(3460,118927 +class SSLClientStringTests(3481,119644 + def test_ssl(3489,119828 + class ListCtx(3523,121504 + def get_cert_store(3524,121535 + class Store(3525,121573 + def add_cert(3526,121610 + def test_sslPositionalArgs(3538,122029 + def test_sslWithDefaults(3558,122876 + def test_unreadableCertificate(3576,123674 + class UnreadableFilePath(3581,123864 + def getContent(3582,123908 + def test_sslSimple(3598,124581 +class AdoptedStreamServerEndpointTests(3615,125190 + def _createStubbedAdoptedEndpoint(3620,125393 + def createServerEndpoint(3635,125991 + def expectedServers(3655,126796 + def listenArgs(3663,127046 + def test_singleUse(3671,127227 + def listenFailed(3683,127754 + def test_descriptionNonBlocking(3690,127904 + def setNonBlocking(3699,128211 + def listened(3706,128392 + def test_descriptorClosed(3713,128538 + def close(3722,128882 + def listened(3729,129054 +class SystemdEndpointPluginTests(3737,129195 + def test_pluginDiscovery(3747,129480 + def test_interface(3762,129948 + def _parseStreamServerTest(3772,130257 + def test_parseStreamServerINET(3800,131290 + def test_parseStreamServerINET6(3807,131469 + def test_parseStreamServerUNIX(3814,131652 +class TCP6ServerEndpointPluginTests(3827,132016 + def test_pluginDiscovery(3834,132222 + def test_interface(3849,132720 + def test_stringDescription(3859,133032 +class StandardIOEndpointPluginTests(3874,133579 + def test_pluginDiscovery(3880,133771 + def test_interface(3895,134269 + def test_stringDescription(3905,134581 +class ConnectProtocolTests(3916,134956 + def test_connectProtocolCreatesFactory(3920,135053 + def test_connectProtocolReturnsConnectResult(3939,135879 + class Endpoint:Endpoint3945,136110 + def connect(3946,136134 +class UppercaseWrapperProtocol(3957,136420 + def dataReceived(3962,136574 + def write(3972,136840 + def writeSequence(3982,137091 +class UppercaseWrapperFactory(3993,137318 +class NetstringTracker(4001,137512 + def __init__(4008,137715 + def stringReceived(4012,137767 +class FakeError(4022,137997 +class WrapperClientEndpointTests(4032,138172 + def setUp(4037,138283 + def test_wrappingBehavior(4045,138601 + def test_methodsAvailable(4058,139062 + def test_connectionFailure(4070,139510 + def test_connectionCancellation(4080,139814 + def test_transportOfTransportOfWrappedProtocol(4090,140106 +def connectionCreatorFromEndpoint(4103,140532 +class WrapClientTLSParserTests(4127,141485 + def test_hostnameEndpointConstruction(4135,141636 + def test_utf8Encoding(4154,142404 + def test_tls(4174,143148 + def test_tlsWithDefaults(4241,146253 +def replacingGlobals(4255,146824 +class WrapClientTLSTests(4291,147995 + def test_noOpenSSL(4297,148158 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_socket.py,589 +class IReactorSocketVerificationTestsBuilder(28,859 + def test_provider(47,1567 +class AdoptStreamPortErrorsTestsBuilder(58,1837 + def test_invalidDescriptor(69,2319 + def test_invalidAddressFamily(90,2980 + def test_stopOnlyCloses(110,3554 + def stopped(131,4351 +class AdoptStreamConnectionErrorsTestsBuilder(151,5046 + def test_invalidAddressFamily(163,5544 +class AdoptDatagramPortErrorsTestsBuilder(183,6102 + def test_invalidDescriptor(190,6298 + def test_invalidAddressFamily(212,6978 + def test_stopOnlyCloses(231,7545 + def stopped(251,8351 + +venv/lib/python2.7/site-packages/twisted/internet/test/modulehelpers.py,185 +class NoReactor(19,315 + def __init__(25,459 + def __enter__(29,551 + def __exit__(35,713 +class AlternateReactor(50,1211 + def __init__(56,1358 + def __enter__(64,1552 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_resolver.py,1570 +class DeterministicThreadPool(46,1201 + def __init__(50,1317 +def deterministicPool(62,1553 +def deterministicReactorThreads(78,1959 + class CFT(87,2297 + def callFromThread(88,2320 +class FakeAddrInfoGetter(94,2434 + def __init__(99,2527 + def getaddrinfo(107,2682 + def addResultForHost(134,3447 +class ResultHolder(171,4765 + def __init__(178,4918 + def resolutionBegan(185,5066 + def addressResolved(196,5333 + def resolutionComplete(205,5524 +class HelperTests(213,5653 + def test_logErrorsInThreads(218,5757 + def divideByZero(224,5983 +class HostnameResolutionTests(232,6188 + def setUp(237,6281 + def test_resolveOneHost(248,6666 + def test_resolveOneIPv6Host(268,7545 + def test_gaierror(293,8649 + def _resolveOnlyTest(311,9395 + def test_resolveOnlyIPv4(331,10116 + def test_resolveOnlyIPv6(339,10376 + def test_resolveBoth(347,10638 + def test_transportSemanticsToSocketType(357,11045 + def test_socketTypeToAddressType(379,12029 +class SillyResolverSimple(409,13172 + def __init__(413,13272 + def getHostByName(421,13441 +class LegacyCompatibilityTests(436,13822 + def test_success(443,14088 + def test_failure(462,14862 + def test_error(480,15602 + def test_simplifier(500,16448 + def test_portNumber(523,17525 +class JustEnoughReactor(541,18272 + def installWaker(545,18413 +class ReactorInstallationTests(552,18488 + def test_interfaceCompliance(558,18690 + def test_defaultToGAIResolver(569,19105 + def test_installingOldStyleResolver(581,19617 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_epollreactor.py,672 +class Descriptor(20,433 + def __init__(25,541 + def fileno(29,592 + def doRead(33,633 + def doWrite(37,692 + def connectionLost(41,753 +class ContinuousPollingTests(47,865 + def test_addReader(53,1014 + def test_addWriter(69,1559 + def test_removeReader(85,2104 + def test_removeWriter(98,2510 + def test_removeUnknown(111,2916 + def test_multipleReadersAndWriters(120,3165 + def test_readerPolling(140,3856 + def test_writerPolling(158,4443 + def test_connectionLostOnRead(176,5031 + def test_connectionLostOnWrite(191,5504 + def test_removeAll(206,5980 + def test_getReaders(226,6641 + def test_getWriters(237,6942 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_glibbase.py,227 +class EnsureNotImportedTests(16,284 + def test_ensureWhenNotImported(21,417 + def test_ensureWhenNotImportedDontPrevent(34,921 + def test_ensureWhenFailedToImport(45,1300 + def test_ensureFailsWhenImported(56,1714 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_gireactor.py,743 +class GApplicationRegistrationTests(44,1251 + def runReactor(53,1609 + def stop(62,1937 + def activate(65,2021 + def test_gApplicationActivate(81,2619 + def test_gtkApplicationActivate(94,3050 + def test_portable(111,3631 + def test_noQuit(125,4144 + def test_cantRegisterAfterRun(139,4650 + def tryRegister(150,5071 + def test_cantRegisterTwice(160,5476 +class PygtkCompatibilityTests(180,6287 + def test_noCompatibilityLayer(185,6434 + class Stdout(201,6992 + def errReceived(204,7055 + def outReceived(207,7123 + def processExited(210,7199 + def test_compatibilityLayer(223,7754 +class Gtk3ReactorTests(235,8131 + def test_requiresDISPLAY(240,8212 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_posixbase.py,1215 +class TrivialReactor(28,673 + def __init__(29,713 + def addReader(35,833 + def removeReader(39,905 + def addWriter(43,977 + def removeWriter(47,1049 +class PosixReactorBaseTests(52,1122 + def _checkWaker(57,1213 + def test_wakerIsInternalReader(63,1422 + def test_removeAllSkipsInternalReaders(72,1677 + def test_removeAllReturnsRemovedDescriptors(87,2219 +class TCPPortTests(105,2831 + def test_connectionLostFailed(113,3012 +class TimeoutReportReactor(125,3403 + def __init__(131,3684 + def addReader(137,3816 + def removeAll(144,4017 + def seconds(153,4253 + def doIteration(161,4437 +class IterationTimeoutTests(169,4609 + def _checkIterationTimeout(175,4816 + def test_noCalls(183,5072 + def test_delayedCall(193,5356 + def test_timePasses(205,5778 + def test_multipleDelayedCalls(218,6206 + def test_resetDelayedCall(232,6751 + def test_delayDelayedCall(246,7231 + def test_cancelDelayedCall(261,7760 +class ConnectedDatagramPortTests(274,8132 + def test_connectionFailedDoesntCallLoseConnection(282,8295 + def loseConnection(287,8514 + def test_connectionFailedCallsStopListening(299,8924 + def stopListening(307,9216 + +venv/lib/python2.7/site-packages/twisted/internet/test/_posixifaces.py,278 + def chr(23,599 +class in_addr(45,1046 +class in6_addr(52,1136 +class sockaddr(59,1228 +class sockaddr_in(66,1335 +class sockaddr_in6(74,1476 +class ifaddrs(83,1655 +def _maybeCleanupScopeIndex(105,2142 +def _interfaces(131,3015 +def posixGetLinkLocalIPv6Addresses(166,4172 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_stdio.py,441 +class StdioFilesTests(19,406 + def setUp(24,530 + def test_addReader(31,704 + class DataProtocol(38,887 + def dataReceived(40,948 + def test_addWriter(64,1768 + class DisconnectProtocol(71,1951 + def connectionLost(72,1995 + def test_removeReader(93,2678 + def test_removeWriter(114,3411 + def test_removeAll(136,4191 + def test_getReaders(159,4935 + def test_getWriters(177,5558 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_inotify.py,1852 +class INotifyTests(21,455 + def setUp(29,702 + def test_initializationErrors(37,950 + class FakeINotify:FakeINotify45,1286 + def init(46,1313 + def _notificationTest(52,1516 + def cbNotified(74,2468 + def test_access(87,2899 + def operation(92,3064 + def test_modify(99,3230 + def operation(104,3393 + def test_attrib(111,3569 + def operation(116,3746 + def test_closeWrite(123,3896 + def operation(129,4100 + def test_closeNoWrite(135,4240 + def operation(141,4464 + def test_open(148,4631 + def operation(153,4787 + def test_movedFrom(159,4920 + def operation(164,5090 + def test_movedTo(171,5287 + def operation(176,5451 + def test_create(184,5651 + def operation(189,5812 + def test_delete(195,5947 + def operation(200,6108 + def test_deleteSelf(207,6259 + def operation(212,6428 + def test_moveSelf(219,6599 + def operation(224,6764 + def test_simpleSubdirectoryAutoAdd(231,6965 + def _callback(236,7166 + def _(239,7329 + def test_simpleDeleteDirectory(257,7881 + def _callback(263,8079 + def _(266,8242 + def _eb(272,8455 + def test_ignoreDirectory(298,9257 + def test_humanReadableMask(308,9616 + def test_recursiveWatch(323,10145 + def test_connectionLostError(340,10799 + def test_noAutoAddSubdirectory(351,11149 + def _callback(356,11354 + def _(359,11511 + def test_seriesOfWatchAndIgnore(377,12065 + def cbNotified(386,12399 + def callIt(391,12623 + def test_ignoreFilePath(412,13368 + def cbNotified(423,13737 + def callIt(428,13962 + def test_ignoreNonWatchedFile(448,14465 + def test_complexSubdirectoryAutoAdd(459,14783 + def _callback(469,15189 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_protocol.py,2122 +class ClientCreatorTests(29,845 + def _basicConnectTest(33,955 + class SomeProtocol(45,1552 + def test_connectTCP(55,1837 + def check(61,2111 + def test_connectUNIX(72,2559 + def check(78,2819 + def test_connectSSL(88,3175 + def check(94,3455 + def _cancelConnectTest(107,4055 + def test_cancelConnectTCP(130,4975 + def connect(135,5178 + def test_cancelConnectUNIX(140,5307 + def connect(145,5511 + def test_cancelConnectSSL(150,5632 + def connect(155,5835 + def _cancelConnectTimeoutTest(160,5974 + def test_cancelConnectTCPTimeout(188,7053 + def connect(197,7529 + def test_cancelConnectUNIXTimeout(207,7913 + def connect(216,8391 + def test_cancelConnectSSLTimeout(226,8765 + def connect(235,9241 + def _cancelConnectFailedTimeoutTest(245,9651 + def test_cancelConnectTCPFailedTimeout(270,10550 + def connect(275,10737 + def test_cancelConnectUNIXFailedTimeout(282,10996 + def connect(287,11185 + def test_cancelConnectSSLFailedTimeout(294,11434 + def connect(299,11621 +class ProtocolTests(307,11907 + def test_interfaces(311,12007 + def test_logPrefix(320,12284 + class SomeThing(324,12403 + def test_makeConnection(329,12520 + class SomeProtocol(335,12712 + def connectionMade(336,12750 +class FactoryTests(346,12990 + def test_interfaces(351,13072 + def test_logPrefix(361,13380 + class SomeKindOfFactory(365,13502 + def test_defaultBuildProtocol(371,13643 + class SomeProtocol(376,13860 + def test_forProtocol(385,14111 + class ArgTakingFactory(391,14343 + def __init__(392,14384 + def test_doStartLoggingStatement(400,14714 + def test_doStopLoggingStatement(419,15360 + class MyFactory(429,15741 +class AdapterTests(442,16066 + def test_protocolToConsumer(446,16189 + def test_consumerToProtocol(460,16629 + class Consumer(467,16860 + def write(468,16892 +class FileWrapperTests(479,17168 + def test_write(484,17264 + def test_writeSequence(500,17806 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_baseprocess.py,269 +class BaseProcessTests(16,429 + def test_callProcessExited(22,657 + class FakeProto:FakeProto28,894 + def processExited(31,946 + def test_callProcessExitedMissing(41,1268 + class FakeProto:FakeProto47,1509 + def collect(55,1706 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_pollingfile.py,113 +class PollableWritePipeTests(18,319 + def test_writeUnicode(23,426 + def test_writeSequenceUnicode(32,747 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_filedescriptor.py,417 +class MemoryFile(18,408 + def __init__(30,776 + def startWriting(36,913 + def stopWriting(40,956 + def writeSomeData(44,998 +class FileDescriptorTests(58,1427 + def test_writeWithUnicodeRaisesException(62,1524 + def test_writeSequenceWithUnicodeRaisesException(70,1788 + def test_implementInterfaceIPushProducer(79,2107 +class WriteDescriptorTests(87,2315 + def test_kernelBufferFull(91,2453 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_fdset.py,1340 +def socketpair(25,659 +class ReactorFDSetTestsBuilder(48,1275 + def _connectedPair(54,1438 + def _simpleSetup(64,1705 + def test_addReader(75,1929 + def removeAndStop(82,2194 + def test_removeReader(94,2535 + def fail(102,2834 + def test_addWriter(118,3319 + def removeAndStop(126,3594 + def _getFDTest(136,3821 + def test_getReaders(159,4447 + def test_removeWriter(167,4690 + def fail(175,4991 + def test_getWriters(190,5449 + def test_removeAll(198,5692 + def test_removedFromReactor(228,6607 + def test_negativeOneFileDescriptor(240,7014 + class DisappearingDescriptor(249,7274 + def fileno(254,7396 + def doRead(257,7463 + def connectionLost(262,7611 + def test_lostFileDescriptor(272,7894 + class Victim(299,9338 + def fileno(307,9789 + def doRead(310,9859 + def connectionLost(313,9962 + def messItUp(328,10630 + def test_connectionLostOnShutdown(346,11200 + class DoNothingDescriptor(353,11434 + def doRead(354,11485 + def doWrite(356,11543 +class RemovingDescriptor(376,12066 + def __init__(390,12521 + def start(397,12691 + def logPrefix(403,12815 + def doRead(407,12863 + def fileno(415,13043 + def connectionLost(421,13205 + +venv/lib/python2.7/site-packages/twisted/internet/test/test_default.py,331 +class PollReactorTests(25,689 + def assertIsPoll(31,888 + def test_unix(44,1312 + def test_linux(53,1583 +class SelectReactorTests(67,2008 + def test_osx(72,2197 + def test_windows(81,2450 +class InstallationTests(91,2714 + def test_install(96,2827 + def test_reactor(105,3035 + def installer(111,3215 + +venv/lib/python2.7/site-packages/twisted/internet/_newtls.py,534 +class _BypassTLS(24,682 + def __init__(40,1490 + def __getattr__(45,1598 + def write(54,1895 + def writeSequence(61,2057 + def loseConnection(68,2239 + def registerProducer(75,2429 + def unregisterProducer(82,2650 +def startTLS(90,2836 +class ConnectionMixin(163,5968 + def startTLS(175,6362 + def write(182,6522 + def writeSequence(194,6891 + def loseConnection(207,7314 + def registerProducer(220,7681 + def unregisterProducer(236,8272 +class ClientMixin(249,8559 +class ServerMixin(262,8946 + +venv/lib/python2.7/site-packages/twisted/internet/_producer_helpers.py,237 +class _PullToPush(23,560 + def __init__(51,1608 + def _pull(56,1730 + def startStreaming(84,2826 + def stopStreaming(93,3057 + def pauseProducing(106,3353 + def resumeProducing(113,3486 + def stopProducing(120,3622 + +venv/lib/python2.7/site-packages/twisted/internet/interfaces.py,8055 +class IAddress(15,243 +class IConnector(24,420 + def stopConnecting(31,578 + def disconnect(36,665 + def connect(44,859 + def getDestination(49,945 +class IResolverSimple(58,1110 + def getHostByName(59,1144 +class IHostResolution(87,2320 + def cancel(101,2608 +class IResolutionReceiver(108,2703 + def resolutionBegan(116,2917 + def addressResolved(124,3088 + def resolutionComplete(137,3574 +class IHostnameResolver(145,3753 + def resolveHostName(153,3944 +class IResolver(191,5611 + def query(192,5645 + def lookupAddress(215,6623 + def lookupAddress6(237,7498 + def lookupIPV6Address(259,8373 + def lookupMailExchange(281,9253 + def lookupNameservers(303,10132 + def lookupCanonicalName(325,11010 + def lookupMailBox(347,11892 + def lookupMailGroup(369,12766 + def lookupMailRename(391,13642 + def lookupPointer(413,14519 + def lookupAuthority(435,15393 + def lookupNull(457,16270 + def lookupWellKnownServices(479,17142 + def lookupHostInfo(501,18026 + def lookupMailboxInfo(523,18903 + def lookupText(545,19784 + def lookupResponsibility(567,20655 + def lookupAFSDatabase(589,21536 + def lookupService(611,22417 + def lookupAllRecords(633,23292 + def lookupSenderPolicy(655,24170 + def lookupNamingAuthorityPointer(677,25048 + def lookupZone(699,25939 +class IReactorTCP(729,26935 + def listenTCP(731,26966 + def connectTCP(753,27867 +class IReactorSSL(778,28750 + def connectSSL(780,28781 + def listenSSL(801,29482 +class IReactorUNIX(820,30086 + def connectUNIX(825,30159 + def listenUNIX(844,30803 +class IReactorUNIXDatagram(867,31587 + def connectUNIXDatagram(872,31677 + def listenUNIXDatagram(893,32415 +class IReactorWin32Events(913,33064 + def addEvent(920,33165 + def removeEvent(935,33608 +class IReactorUDP(946,33799 + def listenUDP(951,33870 +class IReactorMulticast(974,34604 + def listenMulticast(982,34835 +class IReactorSocket(1001,35512 + def adoptStreamPort(1036,36843 + def adoptStreamConnection(1067,38262 + def adoptDatagramPort(1099,39687 +class IReactorProcess(1136,41223 + def spawnProcess(1138,41258 +class IReactorTime(1233,45991 + def seconds(1238,46089 + def callLater(1246,46228 + def getDelayedCalls(1266,46859 +class IDelayedCall(1276,47191 + def getTime(1284,47365 + def cancel(1291,47514 + def delay(1301,47802 + def reset(1313,48185 + def active(1327,48681 +class IReactorFromThreads(1335,48837 + def callFromThread(1343,49023 +class IReactorInThreads(1359,49742 + def callInThread(1367,49930 +class IReactorThreads(1375,50122 + def getThreadPool(1382,50322 + def suggestThreadPoolSize(1391,50541 +class IReactorCore(1399,50737 + def resolve(1409,50989 + def run(1414,51131 + def stop(1421,51339 + def crash(1427,51514 + def iterate(1437,51918 + def fireSystemEvent(1452,52584 + def addSystemEventTrigger(1460,52769 + def removeSystemEventTrigger(1495,54174 + def callWhenRunning(1511,54685 +class IReactorPluggableResolver(1531,55275 + def installResolver(1540,55608 +class IReactorPluggableNameResolver(1553,55951 + def installNameResolver(1566,56302 +class IReactorDaemonize(1579,56648 + def beforeDaemonize(1591,57081 + def afterDaemonize(1600,57297 +class IReactorFDSet(1610,57521 + def addReader(1618,57791 + def addWriter(1629,58143 + def removeReader(1640,58498 + def removeWriter(1647,58642 + def removeAll(1654,58786 + def getReaders(1664,59070 + def getWriters(1673,59343 +class IListeningPort(1683,59617 + def startListening(1688,59689 + def stopListening(1697,59987 + def getHost(1705,60177 +class ILoggingContext(1713,60319 + def logPrefix(1719,60459 +class IFileDescriptor(1727,60602 + def fileno(1732,60727 + def connectionLost(1745,61219 +class IReadDescriptor(1765,62030 + def doRead(1772,62204 +class IWriteDescriptor(1782,62485 + def doWrite(1789,62661 +class IReadWriteDescriptor(1799,62933 +class IHalfCloseableDescriptor(1805,63070 + def writeConnectionLost(1810,63172 + def readConnectionLost(1815,63279 +class ISystemHandle(1821,63385 + def getHandle(1826,63492 +class IConsumer(1839,63884 + def registerProducer(1844,63975 + def unregisterProducer(1872,64992 + def write(1878,65116 +class IProducer(1890,65475 + def stopProducing(1898,65668 +class IPushProducer(1907,65856 + def pauseProducing(1916,66247 + def resumeProducing(1923,66474 +class IPullProducer(1931,66670 + def resumeProducing(1937,66851 +class IProtocol(1947,67181 + def dataReceived(1949,67210 + def connectionLost(1966,67845 + def makeConnection(1979,68321 + def connectionMade(1984,68436 +class IProcessProtocol(1997,68939 + def makeConnection(2002,69041 + def childDataReceived(2012,69333 + def childConnectionLost(2025,69678 + def processExited(2035,69926 + def processEnded(2049,70359 +class IHalfCloseableProtocol(2063,70840 + def readConnectionLost(2073,71214 + def writeConnectionLost(2088,71833 +class IHandshakeListener(2098,72078 + def handshakeCompleted(2108,72450 +class IFileDescriptorReceiver(2125,73130 + def fileDescriptorReceived(2132,73429 +class IProtocolFactory(2144,73693 + def buildProtocol(2149,73783 + def doStart(2163,74244 + def doStop(2168,74356 +class ITransport(2174,74472 + def write(2187,74991 + def writeSequence(2200,75385 + def loseConnection(2212,75753 + def getPeer(2220,76005 + def getHost(2232,76400 +class ITCPTransport(2241,76587 + def loseWriteConnection(2246,76664 + def abortConnection(2258,77081 + def getTcpNoDelay(2270,77344 + def setTcpNoDelay(2275,77439 + def getTcpKeepAlive(2283,77683 + def setTcpKeepAlive(2288,77781 + def getHost(2297,78111 + def getPeer(2302,78205 +class IUNIXTransport(2309,78301 + def sendFileDescriptor(2313,78410 +class IOpenSSLServerConnectionCreator(2336,79382 + def serverConnectionForTLS(2351,80044 +class IOpenSSLClientConnectionCreator(2365,80476 + def clientConnectionForTLS(2378,80948 +class IProtocolNegotiationFactory(2392,81380 + def acceptableProtocols(2402,81770 +class IOpenSSLContextFactory(2414,82103 + def getContext(2424,82465 +class ITLSTransport(2436,82794 + def startTLS(2443,82986 +class ISSLTransport(2462,83699 + def getPeerCertificate(2467,83783 +class INegotiated(2474,83899 +class ICipher(2494,84713 +class IAcceptableCiphers(2504,84872 + def selectCiphers(2508,84977 +class IProcessTransport(2523,85510 + def closeStdin(2534,85873 + def closeStdout(2539,85977 + def closeStderr(2544,86047 + def closeChildFD(2549,86117 + def writeToChild(2555,86300 + def loseConnection(2573,86881 + def signalProcess(2578,86972 +class IServiceCollection(2597,87576 + def getServiceNamed(2602,87695 + def addService(2609,87879 + def removeService(2614,87975 +class IUDPTransport(2620,88080 + def write(2625,88170 + def connect(2637,88572 + def getHost(2650,89067 + def stopListening(2658,89259 + def setBroadcastAllowed(2666,89452 + def getBroadcastAllowed(2674,89648 +class IUNIXDatagramTransport(2683,89843 + def write(2688,89940 + def getHost(2693,90036 +class IUNIXDatagramConnectedTransport(2699,90113 + def write(2704,90228 + def getHost(2709,90329 + def getPeer(2714,90405 +class IMulticastTransport(2720,90482 + def getOutgoingInterface(2725,90585 + def setOutgoingInterface(2730,90698 + def getLoopbackMode(2737,90851 + def setLoopbackMode(2742,90947 + def getTTL(2747,91044 + def setTTL(2752,91135 + def joinGroup(2757,91228 + def leaveGroup(2765,91473 +class IStreamClientEndpoint(2771,91601 + def connect(2779,91831 +class IStreamServerEndpoint(2792,92291 + def listen(2800,92465 +class IStreamServerEndpointStringParser(2812,92815 + def parseStreamServer(2830,93451 +class IStreamClientEndpointStringParserWithReactor(2842,93806 + def parseStreamClient(2869,94955 +class _ISupportsExitSignalCapturing(2894,96007 + +venv/lib/python2.7/site-packages/twisted/internet/win32eventreactor.py,846 + def WSAEnumNetworkEvents(65,2281 +class Win32Reactor(82,2831 + def __init__(124,5157 + def _makeSocketEvent(133,5402 + def addEvent(143,5674 + def removeEvent(150,5835 + def addReader(157,5952 + def addWriter(171,6533 + def removeReader(179,6749 + def removeWriter(193,7306 + def removeAll(200,7504 + def getReaders(207,7672 + def getWriters(211,7740 + def doWaitForMultipleEvents(215,7809 + def _runWrite(280,10658 + def _runAction(298,11097 +class _ThreadFDWrapper(311,11407 + def __init__(326,12017 + def logPrefix(333,12195 + def _execute(341,12367 + def connectionLost(352,12818 +class _ThreadedWin32EventsMixin(362,13120 + def _unmakeHelperReactor(378,13644 + def _makeHelperReactor(386,13863 + def addEvent(402,14526 + def removeEvent(414,14873 +def install(422,15042 + +venv/lib/python2.7/site-packages/twisted/internet/_pollingfile.py,987 +class _PollableResource:_PollableResource22,527 + def activate(25,571 + def deactivate(29,624 +class _PollingTimer:_PollingTimer34,681 + def __init__(37,783 + def _addPollableResource(44,980 + def _checkPollingState(48,1092 + def _startPolling(56,1305 + def _stopPolling(60,1420 + def _pause(65,1561 + def _unpause(68,1612 + def _reschedule(72,1700 + def _pollEvent(76,1838 +class _PollableReadPipe(109,2855 + def __init__(111,2900 + def checkWork(117,3118 + def cleanup(140,3801 + def close(144,3879 + def stopProducing(151,4054 + def pauseProducing(154,4105 + def resumeProducing(157,4162 +class _PollableWritePipe(164,4273 + def __init__(166,4319 + def close(183,4956 + def bufferFull(186,5012 + def bufferEmpty(191,5159 + def registerProducer(201,5544 + def unregisterProducer(223,6433 + def writeConnectionLost(228,6580 + def writeSequence(238,6806 + def write(252,7243 + def checkWork(270,7791 + +venv/lib/python2.7/site-packages/twisted/internet/gtk3reactor.py,135 +class Gtk3Reactor(41,1374 + def __init__(46,1473 +class PortableGtk3Reactor(54,1629 + def __init__(58,1732 +def install(66,1896 + +venv/lib/python2.7/site-packages/twisted/internet/_posixstdio.py,662 +class PipeAddress(21,449 +class StandardIO(27,617 + def __init__(34,734 + def loseWriteConnection(47,1187 + def write(51,1302 + def writeSequence(55,1404 + def loseConnection(59,1522 + def getPeer(68,1816 + def getHost(71,1869 + def childDataReceived(76,1980 + def childConnectionLost(79,2065 + def connectionLost(92,2449 + def _writeConnectionLost(113,3041 + def _readConnectionLost(127,3442 + def registerProducer(140,3820 + def unregisterProducer(146,4021 + def stopProducing(151,4155 + def pauseProducing(154,4215 + def resumeProducing(158,4325 + def stopReading(162,4437 + def startReading(166,4561 + +venv/lib/python2.7/site-packages/twisted/internet/tcp.py,2734 + class _TLSConnectionMixin(37,972 + class _TLSClientMixin(41,1033 + class _TLSServerMixin(45,1083 +def _getrealname(103,2835 +def _getpeername(123,3455 +def _getsockname(131,3565 +class _SocketCloser(139,3675 + def _closeSocket(147,3915 +class _AbortingMixin(173,4878 + def abortConnection(182,5097 +class Connection(201,5697 + def __init__(214,6088 + def getHandle(222,6334 + def doRead(227,6441 + def _dataReceived(246,7097 + def writeSomeData(262,7726 + def _closeWriteConnection(283,8507 + def readConnectionLost(298,8902 + def connectionLost(311,9239 + def logPrefix(332,10070 + def getTcpNoDelay(337,10207 + def setTcpNoDelay(340,10331 + def getTcpKeepAlive(343,10450 + def setTcpKeepAlive(347,10629 +class _BaseBaseClient(353,10753 + def _finishInit(408,13300 + def resolveAddress(432,14220 + def _setRealAddress(456,15264 + def failIfNotConnected(477,16120 + def stopConnecting(498,16777 + def connectionLost(506,17027 +class BaseClient(524,17731 + def _stopReadingAndWriting(545,18625 + def _collectSocketDetails(557,19020 + def createInternetSocket(566,19221 + def doConnect(576,19520 + def _connectDone(630,21862 +def _resolveIPv6(662,23213 +class _BaseTCPClient(687,23955 + def __init__(717,25275 + def getHost(753,26589 + def getPeer(762,26823 + def __repr__(771,27044 +class Client(777,27159 +class Server(786,27345 + def __init__(804,28035 + def __repr__(831,29171 + def _fromConnectedSocket(839,29317 + def getHost(878,30838 + def getPeer(888,31074 +class _IFileDescriptorReservation(898,31277 + def available(923,32443 + def reserve(933,32716 + def __enter__(944,33045 + def __exit__(951,33208 +class _FileDescriptorReservation(965,33572 + def available(980,33998 + def reserve(991,34339 + def __enter__(1008,34870 + def __exit__(1019,35194 +class _NullFileDescriptorReservation(1032,35540 + def available(1037,35664 + def reserve(1047,35864 + def __enter__(1053,35978 + def __exit__(1061,36121 +class _BuffersLogs(1125,38964 + def __enter__(1141,39425 + def __exit__(1151,39671 +def _accept(1165,40063 +class Port(1238,43162 + def __init__(1295,45293 + def _fromListeningDescriptor(1309,45782 + def __repr__(1332,46737 + def createInternetSocket(1339,47031 + def startListening(1346,47272 + def _buildAddr(1389,48944 + def doRead(1392,49030 + def loseConnection(1457,51852 + def _logConnectionLostMsg(1474,52491 + def connectionLost(1481,52667 + def logPrefix(1500,53101 + def getHost(1506,53261 +class Connector(1516,53505 + def __init__(1528,53903 + def _makeTransport(1541,54467 + def getDestination(1551,54720 + +venv/lib/python2.7/site-packages/twisted/internet/_win32serialport.py,242 +class SerialPort(28,577 + def __init__(33,731 + def _finishPortSetup(62,1932 + def _clearCommError(74,2362 + def serialReadEvent(78,2462 + def write(103,3715 + def serialWriteEvent(112,3992 + def connectionLost(122,4278 + +venv/lib/python2.7/site-packages/twisted/internet/gireactor.py,263 +def _oldGiInit(49,1394 +class GIReactor(90,2886 + def __init__(112,3630 + def registerGApplication(120,3844 + def run(140,4791 +class PortableGIReactor(149,4918 + def __init__(153,5049 + def registerGApplication(162,5322 +def install(171,5605 + +venv/lib/python2.7/site-packages/twisted/internet/address.py,347 +class IPv4Address(23,540 +class IPv6Address(45,1103 +class _ProcessAddress(76,2099 +class HostnameAddress(85,2254 +class UNIXAddress(103,2675 + def __eq__(114,2982 + def __eq__(135,3824 + def __ne__(141,3981 + def __repr__(147,4120 + def __hash__(154,4293 +class _ServerFactoryIPv4Address(168,4650 + def __eq__(171,4772 + +venv/lib/python2.7/site-packages/twisted/internet/_baseprocess.py,155 +class BaseProcess(20,551 + def __init__(26,649 + def _callProcessExited(30,715 + def processEnded(44,1207 + def maybeCallProcessEnded(55,1496 + +venv/lib/python2.7/site-packages/twisted/internet/asyncioreactor.py,736 +class _DCHandle(32,909 + def __init__(39,1140 + def cancel(43,1203 +class AsyncioSelectorReactor(52,1353 + def __init__(59,1523 + def _unregisterFDInAsyncio(72,1856 + def _readOrWrite(128,4434 + def addReader(144,4884 + def addWriter(166,5699 + def removeReader(191,6651 + def removeWriter(215,7441 + def removeAll(240,8232 + def getReaders(245,8390 + def getWriters(250,8517 + def getDelayedCalls(255,8644 + def iterate(259,8717 + def run(265,8925 + def stop(272,9158 + def crash(277,9263 + def seconds(282,9348 + def callLater(286,9418 + def run(287,9472 + def cancel(294,9696 + def reset(298,9793 + def callFromThread(307,10073 +def install(313,10239 + +venv/lib/python2.7/site-packages/twisted/internet/epollreactor.py,352 +class EPollReactor(28,649 + def __init__(61,2026 + def _add(77,2618 + def addReader(104,3710 + def addWriter(121,4306 + def _remove(138,4903 + def removeReader(164,5753 + def removeWriter(175,6132 + def removeAll(186,6512 + def getReaders(196,6837 + def getWriters(201,6983 + def doPoll(206,7130 +def install(240,8291 + +venv/lib/python2.7/site-packages/twisted/internet/fdesc.py,166 +def setNonBlocking(21,362 +def setBlocking(30,598 + def _setCloseOnExec(44,1033 + def _unsetCloseOnExec(53,1268 +def readFromFD(62,1506 +def writeToFD(97,2612 + +venv/lib/python2.7/site-packages/twisted/internet/pollreactor.py,369 +class PollReactor(31,725 + def __init__(61,2031 + def _updateRegistration(73,2345 + def _dictRemove(91,2845 + def addReader(112,3652 + def addWriter(121,3954 + def removeReader(130,4259 + def removeWriter(135,4436 + def removeAll(140,4615 + def doPoll(149,4876 + def getReaders(173,5657 + def getWriters(177,5746 +def install(182,5837 + +venv/lib/python2.7/site-packages/twisted/internet/_glibbase.py,914 +def ensureNotImported(26,702 +class GlibWaker(54,1635 + def doRead(59,1733 +class GlibReactorBase(66,1861 + def __init__(102,3433 + def _mainquit(114,3830 + def _handleSignals(132,4471 + def input_add(151,5469 + def wrapper(154,5597 + def _ioEventCallback(165,5940 + def _add(174,6227 + def addReader(192,6891 + def addWriter(200,7124 + def getReaders(208,7353 + def getWriters(215,7516 + def removeAll(222,7680 + def _remove(229,7854 + def removeReader(246,8467 + def removeWriter(253,8665 + def iterate(260,8862 + def crash(271,9122 + def stop(279,9265 + def run(294,9938 + def callLater(304,10204 + def _reschedule(315,10533 + def _simulate(329,10974 +class PortableGlibReactorBase(338,11163 + def __init__(344,11372 + def _mainquit(353,11686 + def crash(366,12053 + def run(371,12146 + def simulate(378,12360 + +venv/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py,164 +class Gtk2Reactor(54,1739 + def __init__(68,2226 +class PortableGtkReactor(77,2424 + def __init__(83,2596 +def install(92,2852 +def portableInstall(105,3233 + +venv/lib/python2.7/site-packages/twisted/internet/posixbase.py,1634 +class _SocketWaker(60,1579 + def __init__(69,1893 + def wakeUp(87,2555 + def doRead(96,2801 + def connectionLost(104,2971 +class _FDWaker(110,3058 + def __init__(129,3656 + def doRead(141,3979 + def connectionLost(148,4142 +class _UnixWaker(162,4444 + def wakeUp(169,4626 +class _SIGCHLDWaker(192,5295 + def __init__(199,5462 + def install(203,5538 + def uninstall(210,5692 + def doRead(217,5837 +class _DisconnectSelectableMixin(232,6222 + def _disconnectSelectable(237,6338 +class PosixReactorBase(263,7332 + def installWaker(276,7793 + def _handleSignals(290,8256 + def _uninstallHandler(309,9128 + def spawnProcess(328,9898 + def listenUDP(363,11585 + def listenMulticast(374,11949 + def connectUNIX(388,12379 + def listenUNIX(394,12614 + def listenUNIXDatagram(403,12895 + def connectUNIXDatagram(417,13356 + def adoptStreamPort(441,14084 + def adoptStreamConnection(462,14934 + def adoptDatagramPort(478,15548 + def listenTCP(493,16013 + def connectTCP(498,16186 + def connectSSL(505,16424 + def listenSSL(519,16965 + def _removeAll(534,17535 + def removeAll(541,17781 +class _PollLikeMixin(557,18262 + def _doReadOrWrite(572,18724 +class _ContinuousPolling(632,21560 + def __init__(660,22417 + def _checkLoop(667,22570 + def iterate(685,23217 + def addReader(695,23558 + def addWriter(703,23753 + def removeReader(711,23949 + def removeWriter(722,24215 + def removeAll(734,24490 + def getReaders(746,24830 + def getWriters(753,24955 + def isReading(760,25080 + def isWriting(774,25523 + +venv/lib/python2.7/site-packages/twisted/internet/defer.py,3497 +class AlreadyCalledError(39,1131 +class CancelledError(44,1180 +class TimeoutError(50,1300 +def logError(57,1416 +def succeed(71,1792 +def fail(94,2448 +def execute(113,2870 +def maybeDeferred(130,3323 +def timeout(166,4471 +def passthru(171,4571 +def setDebugging(176,4608 +def getDebugging(187,4862 +class Deferred:Deferred201,5063 + def __init__(262,7482 + def addCallbacks(293,8828 + def addCallback(315,9555 + def addErrback(325,9832 + def addBoth(336,10147 + def addTimeout(348,10545 + def timeItOut(384,12076 + def convertCancelled(390,12218 + def cancelTimeout(400,12614 + def chainDeferred(410,12886 + def callback(438,13942 + def errback(463,15030 + def pause(504,16780 + def unpause(511,16936 + def cancel(522,17187 + def _startRunCallbacks(551,18372 + def _continuation(571,19096 + def _runCallbacks(579,19304 + def __str__(714,26039 + def __iter__(731,26589 + def send(736,26660 + def asFuture(759,27323 + def createFuture(783,28227 + def checkCancel(786,28332 + def maybeFail(789,28440 + def maybeSucceed(792,28563 + def fromFuture(801,28816 + def adapt(822,29659 + def cancel(829,29890 + def uncancel(834,30043 +def _cancelledToTimedOutError(845,30314 +def ensureDeferred(868,30820 + def main(889,31677 +class DebugInfo:DebugInfo923,32545 + def _getDebugTracebacks(930,32629 + def __del__(943,33079 +class FirstError(969,33897 + def __init__(980,34226 + def __repr__(986,34378 + def __str__(994,34647 + def __cmp__(1003,34953 +class DeferredList(1020,35480 + def __init__(1046,36647 + def _cbDeferred(1103,39540 + def cancel(1124,40260 +def _parseDListResult(1147,41020 +def gatherResults(1155,41180 +class waitForDeferred:waitForDeferred1196,42664 + def __init__(1201,42734 + def getResult(1212,43152 +def _deferGenerator(1219,43301 + def gotResult(1254,44558 +def deferredGenerator(1277,45313 + def thingummy(1288,45766 + def thingummy(1316,47259 + def unwindGenerator(1334,47997 +class _DefGen_Return(1343,48153 + def __init__(1344,48190 +def returnValue(1349,48251 +class _CancellationStatus(1367,48775 +def _inlineCallbacks(1384,49210 + def gotResult(1469,53344 +def _cancellableInlineCallbacks(1496,54282 + def cancel(1505,54581 + def handleCancel(1512,54851 +class _InternalInlineCallbacksCancelledError(1534,55616 +def inlineCallbacks(1542,55832 + def thingummy(1548,56017 + def thingummy(1579,57509 + def loadData(1591,57962 + def unwindGenerator(1602,58472 +class _ConcurrencyPrimitive(1619,59083 + def __init__(1620,59120 + def _releaseAndReturn(1624,59172 + def run(1629,59250 + def execute(1651,60068 +class DeferredLock(1662,60300 + def _cancelAcquire(1674,60628 + def acquire(1689,61149 + def release(1707,61723 +class DeferredSemaphore(1725,62268 + def __init__(1741,62777 + def _cancelAcquire(1753,63123 + def acquire(1768,63644 + def release(1784,64107 +class QueueOverflow(1801,64600 +class QueueUnderflow(1806,64644 +class DeferredQueue(1811,64689 + def __init__(1829,65417 + def _cancelGet(1836,65576 + def put(1851,66089 + def get(1865,66464 +class AlreadyTryingToLockError(1886,67109 +class DeferredFilesystemLock(1894,67289 + def __init__(1916,68040 + def deferUntilLocked(1930,68434 + def _cancelLock(1949,69229 + def _tryLock(1969,69897 + +venv/lib/python2.7/site-packages/twisted/internet/default.py,32 +def _getInstallFunction(19,410 + +venv/lib/python2.7/site-packages/twisted/internet/_win32stdio.py,524 +class Win32PipeAddress(22,537 +class StandardIO(27,631 + def __init__(32,730 + def dataReceived(62,1663 + def readConnectionLost(66,1737 + def writeConnectionLost(72,1904 + def checkConnLost(80,2092 + def write(89,2344 + def writeSequence(93,2405 + def loseConnection(97,2482 + def getPeer(103,2603 + def getHost(107,2662 + def registerProducer(112,2737 + def unregisterProducer(116,2857 + def stopProducing(123,2982 + def pauseProducing(128,3068 + def resumeProducing(132,3136 + +venv/lib/python2.7/site-packages/twisted/internet/protocol.py,3120 +class Factory:Factory25,755 + def forProtocol(40,1042 + def logPrefix(60,1598 + def doStart(67,1736 + def doStop(81,2137 + def startFactory(99,2722 + def stopFactory(112,3144 + def buildProtocol(125,3578 +class ClientFactory(146,4181 + def startedConnecting(154,4348 + def clientConnectionFailed(164,4597 + def clientConnectionLost(174,4870 +class _InstanceFactory(185,5141 + def __init__(199,5566 + def __repr__(205,5718 + def buildProtocol(209,5809 + def clientConnectionFailed(220,6194 + def fire(230,6542 +class ClientCreator:ClientCreator241,6763 + def __init__(262,7741 + def _connect(269,7936 + class passed 282,8414 + def cancelConnect(285,8563 + def connectTCP(296,8930 + class passed 304,9247 + def connectUNIX(312,9531 + class passed 320,9847 + def connectSSL(328,10123 + class passed 336,10457 +class ReconnectingClientFactory(346,10785 + def clientConnectionFailed(392,12725 + def clientConnectionLost(398,12880 + def retry(404,13040 + def reconnector(434,14100 + def stopTrying(443,14375 + def resetDelay(459,14819 + def __getstate__(470,15102 +class ServerFactory(486,15679 +class BaseProtocol:BaseProtocol494,15824 + def makeConnection(505,16165 + def connectionMade(517,16491 +class Protocol(534,17149 + def logPrefix(552,17935 + def dataReceived(560,18142 + def connectionLost(575,18774 +class ProtocolToConsumerAdapter(588,19127 + def write(590,19181 + def registerProducer(594,19251 + def unregisterProducer(598,19319 +class ConsumerToProtocolAdapter(608,19531 + def dataReceived(610,19585 + def connectionLost(614,19655 + def makeConnection(618,19708 + def connectionMade(622,19764 +class ProcessProtocol(632,19979 + def childDataReceived(638,20156 + def outReceived(645,20328 + def errReceived(651,20431 + def childConnectionLost(657,20534 + def inConnectionLost(666,20769 + def outConnectionLost(672,20877 + def errConnectionLost(678,20987 + def processExited(684,21097 + def processEnded(692,21272 +class AbstractDatagramProtocol:AbstractDatagramProtocol703,21517 + def __getstate__(712,21703 + def doStart(718,21813 + def doStop(731,22168 + def startProtocol(746,22575 + def stopProtocol(754,22766 + def makeConnection(762,22940 + def datagramReceived(774,23271 +class DatagramProtocol(785,23547 + def logPrefix(795,23893 + def connectionRefused(803,24100 +class ConnectedDatagramProtocol(813,24304 + def datagramReceived(820,24462 + def connectionFailed(827,24639 +class FileWrapper:FileWrapper838,24850 + def __init__(851,25181 + def write(855,25238 + def _checkProducer(862,25365 + def registerProducer(869,25574 + def unregisterProducer(879,25831 + def stopConsuming(883,25896 + def writeSequence(888,25991 + def loseConnection(892,26065 + def getPeer(900,26234 + def getHost(906,26416 + def handleException(912,26590 + def resumeProducing(916,26636 + def pauseProducing(921,26717 + def stopProducing(926,26797 + +venv/lib/python2.7/site-packages/twisted/internet/unix.py,1460 +def _ancillaryDescriptor(41,1126 +class _SendmsgMixin(52,1409 + def __init__(74,2294 + def _isSendBufferFull(78,2352 + def sendFileDescriptor(102,3500 + def writeSomeData(111,3753 + def doRead(155,5577 + def _ancillaryLevelSOLSOCKETTypeSCMRIGHTS(194,7216 +class _UnsupportedSendmsgMixin(225,8459 +class Server(240,8756 + def __init__(244,8835 + def _fromConnectedSocket(249,9060 + def getHost(282,10393 + def getPeer(285,10479 +def _inFilesystemNamespace(290,10563 +class _UNIXPort(303,11063 + def getHost(304,11088 +class Port(314,11277 + def __init__(321,11426 + def _fromListeningDescriptor(330,11775 + def __repr__(348,12533 + def _buildAddr(356,12835 + def startListening(359,12909 + def _logConnectionLostMsg(411,14993 + def connectionLost(419,15197 +class Client(428,15436 + def __init__(434,15630 + def getPeer(445,16187 + def getHost(448,16257 +class Connector(452,16323 + def __init__(453,16360 + def _makeTransport(458,16564 + def getDestination(461,16666 +class DatagramPort(466,16795 + def __init__(473,16936 + def __repr__(480,17198 + def _bindSocket(488,17456 + def write(503,18074 + def connectionLost(521,18721 + def setLogStr(538,19304 +class ConnectedDatagramPort(545,19516 + def __init__(549,19613 + def startListening(557,19949 + def connectionFailed(566,20181 + def doRead(578,20503 + def write(600,21178 + def getPeer(623,21890 + +venv/lib/python2.7/site-packages/twisted/internet/base.py,3041 +class DelayedCall:DelayedCall45,1436 + def __init__(52,1625 + def getTime(79,2909 + def cancel(88,3179 + def reset(107,3735 + def delay(130,4579 + def activate_delay(150,5295 + def active(154,5395 + def __le__(164,5659 + def __lt__(174,5920 + def __repr__(184,6179 +class ThreadedResolver(230,7770 + def __init__(242,8253 + def _fail(247,8353 + def _cleanup(252,8500 + def _checkTimeout(258,8733 + def getHostByName(273,9222 +class BlockingResolver:BlockingResolver299,10222 + def getHostByName(301,10247 +class _ThreePhaseEvent(312,10587 + def __init__(341,11882 + def addTrigger(348,12010 + def removeTrigger(367,12765 + def removeTrigger_BASE(380,13226 + def removeTrigger_BEFORE(396,13709 + def fireEvent(417,14483 + def _continueFiring(437,15119 +class ReactorBase(455,15701 + def __init__(496,17198 + def installWaker(527,18248 + def installResolver(532,18391 + def installNameResolver(547,18827 + def nameResolver(562,19263 + def wakeUp(570,19442 + def doIteration(579,19695 + def addReader(586,19943 + def addWriter(590,20087 + def removeReader(594,20231 + def removeWriter(598,20381 + def removeAll(602,20531 + def getReaders(607,20668 + def getWriters(612,20807 + def resolve(617,20946 + def stop(630,21391 + def crash(642,21720 + def sigInt(655,22164 + def sigBreak(666,22447 + def sigTerm(677,22736 + def disconnectAll(688,23022 + def iterate(698,23364 + def fireSystemEvent(705,23538 + def addSystemEventTrigger(713,23778 + def removeSystemEventTrigger(723,24225 + def callWhenRunning(730,24471 + def startRunning(739,24822 + def _reallyStartRunning(762,25639 + def callLater(773,25923 + def _moveCallLaterSooner(786,26500 + def _cancelCallLater(806,27129 + def getDelayedCalls(810,27200 + def _insertNewDelayedCalls(823,27650 + def timeout(833,27946 + def runUntilCurrent(863,29145 + def _checkProcessArgs(928,31356 + def argChecker(955,32700 + def _initThreads(1006,34561 + def callFromThread(1011,34709 + def _initThreadPool(1023,35204 + def _uninstallHandler(1035,35721 + def _stopThreadPool(1038,35776 + def getThreadPool(1057,36569 + def callInThread(1066,36828 + def suggestThreadPoolSize(1073,37075 + def callFromThread(1080,37354 +class BaseConnector:BaseConnector1091,37709 + def __init__(1099,37886 + def disconnect(1105,38067 + def connect(1112,38299 + def stopConnecting(1126,38876 + def cancelTimeout(1135,39187 + def buildProtocol(1143,39396 + def connectionFailed(1148,39542 + def connectionLost(1158,39904 + def getDestination(1166,40203 +class BasePort(1173,40366 + def createInternetSocket(1182,40572 + def doWrite(1189,40757 +class _SignalReactorMixin(1196,40916 + def _handleSignals(1214,41586 + def startRunning(1235,42300 + def _reallyStartRunning(1249,42839 + def run(1265,43558 + def mainLoop(1270,43702 + +venv/lib/python2.7/site-packages/twisted/internet/_dumbwin32proc.py,960 +def _fsdecode(43,1004 +def debug(60,1369 +class _Reaper(66,1426 + def __init__(68,1474 + def checkWork(72,1531 +def _findShebang(82,1829 +def _invalidWin32App(110,2807 +class Process(129,3389 + def __init__(150,4146 + def doCreate(222,6936 + def signalProcess(287,9553 + def _getReason(294,9778 + def write(300,9930 + def writeSequence(309,10086 + def writeToChild(318,10267 + def closeChildFD(343,10993 + def closeStdin(354,11291 + def closeStderr(360,11395 + def closeStdout(364,11452 + def loseConnection(368,11509 + def outConnectionLost(377,11692 + def errConnectionLost(382,11805 + def inConnectionLost(387,11918 + def connectionLostNotify(392,12030 + def maybeCallProcessEnded(400,12236 + def registerProducer(409,12562 + def unregisterProducer(413,12674 + def pauseProducing(417,12765 + def resumeProducing(421,12819 + def stopProducing(425,12876 + def __repr__(429,12937 + +venv/lib/python2.7/site-packages/twisted/internet/inotify.py,458 + def notify(14,377 +def humanReadableMask(109,3813 +class _Watch(122,4061 + def __init__(134,4581 + def _notify(144,4868 +class INotify(154,5130 + def __init__(169,5608 + def _addWatch(191,6343 + def _rmWatch(212,7032 + def connectionLost(225,7472 + def fileno(237,7842 + def doRead(245,8044 + def _doRead(252,8199 + def _addChildren(298,9947 + def watch(337,11631 + def ignore(383,13439 + def _isWatched(398,13830 + +venv/lib/python2.7/site-packages/twisted/internet/error.py,1952 +class BindError(17,278 + def __str__(20,359 +class CannotListenError(29,523 + def __init__(39,876 + def __str__(45,1093 +class MulticastJoinError(52,1294 +class MessageLengthError(59,1399 + def __str__(62,1475 +class DNSLookupError(71,1639 + def __str__(74,1699 +class ConnectInProgressError(83,1863 +class ConnectError(89,1989 + def __init__(92,2066 + def __str__(96,2188 +class ConnectBindError(107,2445 +class UnknownHostError(112,2510 +class NoRouteError(117,2592 +class ConnectionRefusedError(122,2656 +class TCPTimedOutError(127,2750 +class BadFileError(132,2826 +class ServiceNameUnknownError(137,2910 +class UserError(142,3006 +class TimeoutError(147,3074 +class SSLError(152,3157 +class VerifyError(157,3222 +class PeerVerifyError(163,3329 +class CertificateError(169,3419 +def getConnectError(191,3937 +class ConnectionClosed(212,4542 +class ConnectionLost(219,4655 + def __str__(222,4767 +class ConnectionAborted(231,4955 +class ConnectionDone(241,5141 + def __str__(244,5222 +class FileDescriptorOverrun(253,5386 +class ConnectionFdescWentAway(266,5820 +class AlreadyCalled(271,5889 + def __str__(274,5973 +class AlreadyCancelled(283,6137 + def __str__(286,6227 +class PotentialZombieWarning(295,6391 +class ProcessDone(318,7145 + def __init__(321,7235 +class ProcessTerminated(329,7422 + def __init__(337,7640 +class ProcessExitedAlready(363,8665 +class NotConnectingError(371,8818 + def __str__(374,8939 +class NotListeningError(383,9103 + def __str__(386,9216 +class ReactorNotRunning(395,9380 +class ReactorNotRestartable(401,9506 +class ReactorAlreadyRunning(408,9633 +class ReactorAlreadyInstalledError(414,9760 +class ConnectingCancelledError(421,9895 + def __init__(430,10176 +class NoProtocol(440,10437 +class UnsupportedAddressFamily(448,10621 +class UnsupportedSocketType(456,10823 +class AlreadyListened(463,11014 +class InvalidAddressError(471,11162 + def __init__(480,11394 + +venv/lib/python2.7/site-packages/twisted/internet/udp.py,1189 +class Port(63,1924 + def __init__(89,2804 + def _fromListeningDescriptor(121,3968 + def __repr__(159,5562 + def getHandle(165,5797 + def startListening(171,5906 + def _bindSocket(182,6222 + def _connectToProtocol(216,7466 + def doRead(221,7573 + def write(254,8820 + def writeSequence(314,11386 + def connect(330,11958 + def _loseConnection(343,12444 + def stopListening(349,12629 + def loseConnection(358,12827 + def connectionLost(363,12993 + def setLogStr(380,13468 + def _setAddressFamily(388,13689 + def logPrefix(401,14132 + def getHost(408,14249 + def setBroadcastAllowed(422,14715 + def getBroadcastAllowed(433,15040 +class MulticastMixin:MulticastMixin446,15358 + def getOutgoingInterface(451,15436 + def setOutgoingInterface(456,15606 + def _setInterface(461,15767 + def getLoopbackMode(467,15933 + def setLoopbackMode(471,16049 + def getTTL(476,16224 + def setTTL(480,16330 + def joinGroup(485,16475 + def _joinAddr1(490,16674 + def _joinAddr2(494,16813 + def leaveGroup(507,17279 +class MulticastPort(514,17523 + def __init__(519,17624 + def createInternetSocket(528,17974 + +venv/lib/python2.7/site-packages/twisted/internet/task.py,1825 +class LoopingCall:LoopingCall30,709 + def __init__(68,2136 + def deferred(76,2321 + def withCount(90,2813 + def counter(122,4235 + def _intervalOf(150,5004 + def start(166,5498 + def stop(199,6849 + def reset(211,7237 + def __call__(225,7666 + def cb(226,7690 + def eb(233,7909 + def _scheduleFrom(244,8190 + def howLong(250,8381 + def __repr__(279,9955 +class SchedulerError(295,10459 +class SchedulerStopped(305,10745 +class TaskFinished(313,10915 +class TaskDone(321,11123 +class TaskStopped(328,11249 +class TaskFailed(335,11368 +class NotPaused(343,11507 +class _Timer(351,11648 + def __init__(353,11691 + def __call__(357,11765 +def _defaultScheduler(363,11853 +class CooperativeTask(368,11964 + def __init__(404,13267 + def whenDone(418,13682 + def pause(438,14367 + def resume(453,14864 + def _completeWith(466,15245 + def stop(490,16394 + def _checkFinish(501,16712 + def _oneWorkUnit(510,16950 + def failLater(525,17522 +class Cooperator(532,17728 + def __init__(565,19224 + def coiterate(595,20491 + def cooperate(615,21252 + def _addTask(627,21616 + def _removeTask(640,22055 + def _tasksWhileNotStopped(651,22392 + def _tick(665,22844 + def _reschedule(676,23104 + def start(684,23341 + def stop(695,23590 + def running(711,24110 +def coiterate(724,24399 +def cooperate(738,24777 +class Clock:Clock758,25484 + def __init__(767,25744 + def seconds(771,25794 + def _sortCalls(783,26155 + def callLater(790,26331 + def getDelayedCalls(804,26784 + def advance(811,26939 + def pump(829,27501 +def deferLater(840,27723 + def deferLaterCancel(862,28440 +def react(871,28678 + def main(889,29513 + def stop(914,30327 + def cbFinish(929,30768 + +venv/lib/python2.7/site-packages/twisted/internet/main.py,27 +def installReactor(22,514 + +venv/lib/python2.7/site-packages/twisted/internet/_signals.py,97 +def installHandler(40,1801 + def noopSignalHandler(56,2346 +def isDefaultHandler(64,2548 + +venv/lib/python2.7/site-packages/twisted/internet/cfreactor.py,788 +class _WakerPlus(47,1327 + def doRead(64,2055 +class CFReactor(76,2346 + def __init__(114,3966 + def installWaker(127,4304 + def _socketCallback(138,4660 + def _drdw(172,6181 + def _watchFD(206,7694 + def _flag2idx(262,9941 + def _unwatchFD(276,10390 + def addReader(307,11491 + def addWriter(314,11666 + def removeReader(321,11842 + def removeWriter(328,12025 + def removeAll(335,12209 + def getReaders(347,12561 + def getWriters(355,12760 + def _moveCallLaterSooner(363,12960 + def mainLoop(378,13539 + def _scheduleSimulate(392,13870 + def simulate(414,14850 + def callLater(425,15257 + def stop(436,15544 + def crash(444,15703 + def _stopNow(457,16007 + def iterate(464,16161 +def install(475,16471 + +venv/lib/python2.7/site-packages/twisted/internet/_idna.py,45 +def _idnaBytes(10,266 +def _idnaText(34,963 + +venv/lib/python2.7/site-packages/twisted/internet/kqreactor.py,469 +class _IKQueue(35,925 +class KQueueReactor(47,1228 + def __init__(73,2422 + def _updateRegistration(94,3091 + def beforeDaemonize(103,3403 + def afterDaemonize(120,4164 + def addReader(135,4822 + def addWriter(150,5232 + def removeReader(165,5645 + def removeWriter(192,6406 + def removeAll(219,7169 + def getReaders(228,7417 + def getWriters(235,7577 + def doKEvent(242,7738 + def _doWriteOrRead(273,8720 +def install(311,10087 + +venv/lib/python2.7/site-packages/twisted/internet/_resolver.py,674 +class HostResolution(32,961 + def __init__(37,1060 +class GAIResolver(71,1609 + def __init__(77,1760 + def resolveHostName(100,2713 + def get(121,3414 + def deliverResults(131,3816 +class SimpleResolverComplexifier(143,4230 + def __init__(150,4375 + def resolveHostName(157,4565 + def addressReceived(190,5830 + def errorReceived(193,6015 + def finish(199,6358 +class FirstOneWins(207,6539 + def __init__(212,6663 + def resolutionBegan(221,6891 + def addressResolved(230,7120 + def resolutionComplete(242,7427 +class ComplexResolverSimplifier(253,7688 + def __init__(257,7809 + def getHostByName(266,8054 + +venv/lib/python2.7/site-packages/twisted/internet/iocpreactor/interfaces.py,145 +class IReadHandle(14,151 + def readFromHandle(15,181 +class IWriteHandle(29,530 + def writeToHandle(30,561 +class IReadWriteHandle(44,880 + +venv/lib/python2.7/site-packages/twisted/internet/iocpreactor/tcp.py,1420 +class Connection(42,1565 + def __init__(51,1886 + def getHandle(58,2089 + def dataReceived(62,2143 + def readFromHandle(79,2681 + def writeToHandle(83,2791 + def _closeWriteConnection(93,3132 + def readConnectionLost(108,3527 + def connectionLost(120,3863 + def logPrefix(134,4297 + def getTcpNoDelay(141,4444 + def setTcpNoDelay(146,4622 + def getTcpKeepAlive(150,4742 + def setTcpKeepAlive(155,4922 + def startTLS(160,5074 + def write(167,5282 + def writeSequence(183,5740 + def loseConnection(199,6233 + def registerProducer(213,6668 + def unregisterProducer(229,7264 +class Client(245,7641 + def __init__(257,8034 + def createInternetSocket(266,8415 + def _collectSocketDetails(275,8646 + def _stopReadingAndWriting(285,8894 + def cbConnect(294,9089 + def doConnect(322,10416 +class Server(337,10888 + def __init__(352,11300 + def __repr__(372,12186 + def getHost(379,12315 + def getPeer(388,12473 +class Connector(398,12632 + def _makeTransport(399,12663 +class Port(406,12840 + def __init__(426,13500 + def __repr__(437,13872 + def startListening(447,14284 + def loseConnection(479,15466 + def _logConnectionLostMsg(496,16035 + def connectionLost(503,16211 + def logPrefix(535,17025 + def getHost(542,17194 + def cbAccept(551,17404 + def handleAccept(557,17566 + def doAccept(606,19665 + +venv/lib/python2.7/site-packages/twisted/internet/iocpreactor/udp.py,1208 +class Port(26,843 + def __init__(42,1329 + def _setAddressFamily(64,2055 + def __repr__(77,2479 + def getHandle(85,2737 + def startListening(92,2847 + def createSocket(103,3163 + def _bindSocket(107,3271 + def _connectToProtocol(126,3903 + def cbRead(132,4053 + def handleRead(138,4186 + def doRead(154,4787 + def write(167,5242 + def writeSequence(220,7649 + def connect(224,7731 + def _loseConnection(239,8269 + def stopListening(246,8500 + def loseConnection(255,8698 + def connectionLost(261,8886 + def setLogStr(277,9342 + def logPrefix(285,9563 + def getHost(292,9707 + def setBroadcastAllowed(306,10173 + def getBroadcastAllowed(317,10498 +class MulticastMixin:MulticastMixin329,10805 + def getOutgoingInterface(335,10884 + def setOutgoingInterface(340,11054 + def _setInterface(347,11233 + def getLoopbackMode(353,11399 + def setLoopbackMode(358,11553 + def getTTL(364,11759 + def setTTL(369,11903 + def joinGroup(374,12048 + def _joinAddr1(382,12319 + def _joinAddr2(387,12517 + def leaveGroup(401,13043 +class MulticastPort(411,13359 + def __init__(416,13460 + def createSocket(422,13707 + +venv/lib/python2.7/site-packages/twisted/internet/iocpreactor/abstract.py,973 +class FileHandle(23,683 + def startReading(38,1110 + def stopReading(46,1410 + def _resumeReading(53,1580 + def _dispatchData(59,1738 + def _cbRead(90,3003 + def _handleRead(96,3153 + def doRead(121,4116 + def readFromHandle(133,4444 + def dataReceived(137,4567 + def readConnectionLost(141,4637 + def loseWriteConnection(155,4916 + def _closeWriteConnection(160,5021 + def writeConnectionLost(165,5106 + def startWriting(170,5236 + def stopWriting(178,5514 + def _resumeWriting(185,5687 + def _cbWrite(190,5778 + def _handleWrite(195,5913 + def doWrite(235,7712 + def writeToHandle(258,8577 + def write(262,8696 + def writeSequence(282,9458 + def __init__(307,10254 + def connectionLost(316,10566 + def getFileHandle(338,11286 + def loseConnection(342,11335 + def stopConsuming(371,12490 + def resumeProducing(385,12850 + def pauseProducing(390,12969 + def stopProducing(394,13028 + +venv/lib/python2.7/site-packages/twisted/internet/iocpreactor/reactor.py,638 +class IOCPReactor(51,1685 + def __init__(57,1812 + def addActiveHandle(63,1950 + def removeActiveHandle(67,2024 + def doIteration(71,2105 + def _callEventCallback(115,4023 + def installWaker(134,4592 + def wakeUp(138,4635 + def registerHandle(142,4708 + def createSocket(146,4796 + def listenTCP(152,4937 + def connectTCP(161,5199 + def listenSSL(171,5519 + def connectSSL(183,5924 + def listenSSL(192,6302 + def connectSSL(204,6821 + def listenUDP(216,7352 + def listenMulticast(227,7701 + def spawnProcess(242,8174 + def removeAll(261,8978 +def install(268,9087 + +venv/lib/python2.7/site-packages/twisted/internet/serialport.py,326 +class BaseSerialPort:BaseSerialPort32,892 + def setBaudRate(47,1305 + def inWaiting(53,1500 + def flushInput(56,1566 + def flushOutput(59,1627 + def sendBreak(62,1690 + def getDSR(65,1749 + def getCD(68,1809 + def getRI(71,1867 + def getCTS(74,1925 + def setDTR(77,1985 + def setRTS(80,2048 + +venv/lib/python2.7/site-packages/twisted/internet/abstract.py,1155 + def _concatenate(23,611 + def _concatenate(28,759 +class _ConsumerMixin(35,967 + def startWriting(77,2611 + def registerProducer(87,3000 + def unregisterProducer(116,4319 +class _LogOwner(127,4600 + def _getLogPrefix(134,4820 + def logPrefix(147,5290 +class FileDescriptor(161,5729 + def __init__(179,6225 + def connectionLost(192,6713 + def writeSomeData(211,7370 + def doRead(225,7965 + def doWrite(235,8322 + def _postLoseConnection(292,10845 + def _closeWriteConnection(300,11130 + def writeConnectionLost(304,11214 + def readConnectionLost(308,11343 + def _isSendBufferFull(313,11456 + def _maybePauseProducer(327,11957 + def write(340,12418 + def writeSequence(359,13145 + def loseConnection(387,14117 + def loseWriteConnection(412,15224 + def stopReading(416,15328 + def stopWriting(424,15558 + def startReading(432,15789 + def startWriting(437,15915 + def stopConsuming(453,16365 + def resumeProducing(465,16715 + def pauseProducing(469,16833 + def stopProducing(472,16891 + def fileno(476,16952 +def isIPAddress(486,17191 +def isIPv6Address(531,18830 + +venv/lib/python2.7/site-packages/twisted/internet/ssl.py,649 +class ContextFactory:ContextFactory71,2810 + def getContext(76,2924 +class DefaultOpenSSLContextFactory(82,3054 + def __init__(93,3475 + def cacheContext(111,4232 + def __getstate__(122,4670 + def __setstate__(128,4776 + def getContext(132,4843 +class ClientContextFactory:ClientContextFactory142,5015 + def getContext(153,5265 +class Client(164,5623 + def __init__(169,5690 + def _connectDone(174,5960 +class Server(182,6135 + def __init__(187,6202 +class Port(193,6343 + def __init__(201,6446 + def _getLogPrefix(206,6652 +class Connector(215,6896 + def __init__(216,6928 + def _makeTransport(225,7326 + +venv/lib/python2.7/site-packages/twisted/internet/_sslverify.py,3994 +class TLSVersion(24,569 +def _getExcludedTLSProtocols(50,1264 +class SimpleVerificationError(76,2059 +def simpleVerifyHostname(83,2162 +def _usablePyOpenSSL(110,3213 +def _selectVerifyImplementation(124,3542 +def _sessionCounter(181,5551 +class ProtocolNegotiationSupport(190,5766 +def protocolNegotiationMechanisms(213,6638 +class DistinguishedName(267,8036 + def __init__(311,9481 + def _copyFrom(316,9577 + def _copyInto(323,9773 + def __repr__(328,9894 + def __getattr__(332,9975 + def __setattr__(339,10129 + def inspect(348,10444 + def uniqueValues(356,10620 +class CertBase:CertBase374,11136 + def __init__(383,11376 + def _copyName(387,11445 + def getSubject(393,11593 + def __conform__(403,11834 +def _handleattrhelper(419,12362 +class Certificate(439,13126 + def __repr__(443,13196 + def __eq__(449,13444 + def __ne__(455,13586 + def load(460,13672 + def dumpPEM(473,14085 + def loadPEM(483,14280 + def peerFromTransport(493,14490 + def hostFromTransport(508,14897 + def getPublicKey(522,15309 + def dump(531,15495 + def serialNumber(535,15608 + def digest(544,15791 + def _inspect(558,16162 + def inspect(567,16532 + def getIssuer(576,16817 + def options(586,17054 +class CertificateRequest(591,17171 + def load(599,17402 + def dump(608,17782 +class PrivateCertificate(613,17904 + def __repr__(617,18000 + def _setPrivateKey(621,18103 + def newCertificate(629,18360 + def load(638,18654 + def inspect(642,18792 + def dumpPEM(647,18925 + def loadPEM(656,19177 + def fromCertificateAndKeyPair(666,19479 + def options(671,19662 + def certificateRequest(690,20339 + def signCertificateRequest(698,20588 + def signRequestObject(714,21153 +class PublicKey:PublicKey726,21691 + def __init__(739,22086 + def matches(747,22288 + def __repr__(760,22660 + def keyHash(764,22755 + def inspect(786,23565 +class KeyPair(791,23653 + def load(794,23697 + def dump(798,23814 + def __getstate__(802,23926 + def __setstate__(806,23983 + def inspect(810,24095 + def generate(823,24442 + def newCertificate(829,24596 + def requestObject(833,24736 + def certificateRequest(841,25024 + def signCertificateRequest(852,25428 + def verified(873,26380 + def signRequestObject(885,26859 + def selfSignedCert(906,27681 +class IOpenSSLTrustRoot(919,28152 + def _addCACertsToContext(927,28358 +class OpenSSLCertificateAuthorities(942,28776 + def __init__(948,28954 + def _addCACertsToContext(957,29250 +def trustRootFromCertificates(964,29407 +class OpenSSLDefaultPaths(998,30451 + def _addCACertsToContext(1005,30705 +def platformTrust(1010,30796 +def _tolerateErrors(1081,34260 + def infoCallback(1101,35114 +class ClientTLSOptions(1113,35450 + def __init__(1146,36779 + def clientConnectionForTLS(1172,37595 + def _identityVerifyingInfoCallback(1194,38437 +def optionsForClientTLS(1224,39601 +class OpenSSLCertificateOptions(1309,43474 + def __init__(1346,44867 + def __getstate__(1646,58750 + def __setstate__(1655,58915 + def getContext(1659,58982 + def _makeContext(1668,59194 + def _verifyCallback(1693,60252 +class OpenSSLCipher(1729,61579 + def __init__(1735,61720 + def __repr__(1744,61961 +def _expandCipherString(1752,62121 +class OpenSSLAcceptableCiphers(1789,63356 + def __init__(1793,63485 + def selectCiphers(1797,63552 + def fromOpenSSLCipherString(1804,63732 +class _ChooseDiffieHellmanEllipticCurve(1852,65542 + def __init__(1880,66369 + def _configureOpenSSL110(1899,67178 + def _configureOpenSSL102(1908,67409 + def _configureOpenSSL101(1924,67871 + def _configureOpenSSL101NoCurves(1938,68235 +class OpenSSLDiffieHellmanParameters(1949,68523 + def __init__(1954,68690 + def fromFile(1959,68779 +def _setAcceptableProtocols(1983,69550 + def protoSelectCallback(2000,70376 + def npnAdvertiseCallback(2030,71396 + +venv/lib/python2.7/site-packages/twisted/internet/process.py,2117 +def reapAllProcesses(57,1379 +def registerReapProcessHandler(68,1678 +def unregisterReapProcessHandler(92,2357 +def detectLinuxBrokenPipeBehavior(104,2719 +class ProcessWriter(132,3430 + def __init__(149,4055 + def fileno(181,5277 + def writeSomeData(188,5399 + def write(201,5836 + def doRead(206,5942 + def connectionLost(237,7207 +class ProcessReader(251,7692 + def __init__(260,7891 + def fileno(272,8222 + def writeSomeData(279,8345 + def doRead(287,8665 + def dataReceived(294,8828 + def loseConnection(298,8917 + def connectionLost(306,9197 +class _BaseProcess(316,9478 + def reapProcess(323,9612 + def _getReason(354,10681 + def signalProcess(365,11013 + def _resetSignalDisposition(387,11768 + def _fork(399,12333 + def _setupChild(501,16872 + def _execChild(508,17035 + def __repr__(526,17598 +class _FDDetector(535,17825 + def __init__(555,18598 + def _listOpenFDs(561,18769 + def _getImplementation(573,19099 + def _devFDImplementation(603,20357 + def _procFDImplementation(613,20652 + def _fallbackFDImplementation(622,20917 +def _listOpenFDs(646,21796 +class Process(656,21987 + def __init__(678,22646 + def pipe(716,24047 + def _setupChild(781,26862 + def writeToChild(874,30665 + def closeChildFD(878,30750 + def pauseProducing(887,31086 + def resumeProducing(893,31237 + def closeStdin(899,31409 + def closeStdout(906,31549 + def closeStderr(910,31607 + def loseConnection(914,31665 + def write(920,31777 + def registerProducer(930,32033 + def unregisterProducer(943,32414 + def writeSequence(950,32601 + def childDataReceived(960,32871 + def childConnectionLost(964,32967 + def maybeCallProcessEnded(976,33367 +class PTYProcess(992,33887 + def __init__(1000,34048 + def _setupChild(1049,35864 + def closeStdin(1098,37251 + def closeStdout(1104,37452 + def closeStderr(1108,37494 + def doRead(1112,37536 + def fileno(1121,37770 + def maybeCallProcessEnded(1128,37914 + def connectionLost(1139,38452 + def writeSomeData(1149,38746 + +venv/lib/python2.7/site-packages/twisted/internet/threads.py,213 +def deferToThreadPool(22,394 + def onResult(47,1317 +def deferToThread(58,1582 +def _runMultiple(75,2162 +def callMultipleInThread(83,2303 +def blockingCallFromThread(93,2573 + def _callFromThread(116,3567 + +venv/lib/python2.7/site-packages/twisted/internet/tksupport.py,101 +def install(45,1065 +def uninstall(52,1288 +def installTkFunctions(62,1469 +def getPassword(67,1578 + +venv/lib/python2.7/site-packages/twisted/internet/glib2reactor.py,72 +class Glib2Reactor(22,615 + def __init__(27,718 +def install(35,879 + +venv/lib/python2.7/site-packages/twisted/internet/wxsupport.py,98 +class wxRunner:wxRunner33,754 + def __init__(36,815 + def run(39,868 +def install(53,1191 + +venv/lib/python2.7/site-packages/twisted/internet/selectreactor.py,399 +def win32select(23,496 +class SelectReactor(55,1358 + def __init__(66,1732 + def _preenDescriptors(75,1966 + def doSelect(93,2689 + def _doReadOrWrite(147,4829 + def addReader(156,5105 + def addWriter(162,5268 + def removeReader(168,5433 + def removeWriter(174,5602 + def removeAll(180,5773 + def getReaders(184,5858 + def getWriters(188,5919 +def install(193,5982 + +venv/lib/python2.7/site-packages/twisted/internet/endpoints.py,4315 +class _WrappingProtocol(79,2788 + def __init__(85,2930 + def logPrefix(103,3613 + def connectionMade(112,3916 + def dataReceived(121,4249 + def fileDescriptorReceived(128,4433 + def connectionLost(135,4659 + def readConnectionLost(142,4853 + def writeConnectionLost(150,5063 + def handshakeCompleted(158,5276 +class _WrappingFactory(167,5476 + def __init__(182,6022 + def startedConnecting(192,6382 + def _canceller(200,6605 + def doStart(225,7647 + def doStop(232,7815 + def buildProtocol(239,7980 + def clientConnectionFailed(257,8572 +class StandardIOEndpoint(268,8888 + def __init__(279,9187 + def listen(286,9332 +class _IProcessTransportWithConsumerAndProducer(296,9653 +class _ProcessEndpointTransport(308,10187 +class _WrapIProtocol(322,10705 + def __init__(332,10987 + def makeConnection(344,11407 + def childDataReceived(355,11750 + def processEnded(371,12404 +class StandardErrorBehavior(388,12963 +class ProcessEndpoint(403,13336 + def __init__(411,13518 + def connect(433,14244 +class _TCPServerEndpoint(455,15077 + def __init__(460,15164 + def listen(479,15665 +class TCP4ServerEndpoint(492,16064 + def __init__(496,16188 +class TCP6ServerEndpoint(513,16669 + def __init__(517,16793 +class TCP4ClientEndpoint(535,17326 + def __init__(540,17429 + def connect(565,18185 +class TCP6ClientEndpoint(581,18670 + def __init__(601,19264 + def connect(615,19682 + def _nameResolution(630,20246 + def _resolvedHostConnect(639,20493 +class _SimpleHostnameResolver(654,20963 + def __init__(667,21384 + def resolveHostName(674,21550 + def cbDeliver(700,22422 + def ebLog(710,22848 +class HostnameEndpoint(724,23282 + def __init__(755,24558 + def __repr__(799,26216 + def _getNameResolverAndMaybeWarn(820,27064 + def _hostAsBytesAndText(846,28180 + def connect(891,30332 + class EndpointReceiver(912,31076 + def resolutionBegan(914,31142 + def addressResolved(917,31244 + def resolutionComplete(920,31354 + def resolvedAddressesToEndpoints(930,31718 + def _canceller(945,32430 + def startConnectionAttempts(955,32902 + def checkDone(982,34143 + def iterateEndpoint(990,34433 + def noLongerPending(1001,34865 + def succeeded(1005,35033 + def failed(1008,35156 + def cancelRemainingPending(1016,35402 + def _fallbackNameResolution(1028,35740 +class SSL4ServerEndpoint(1047,36367 + def __init__(1052,36482 + def listen(1076,37199 +class SSL4ClientEndpoint(1090,37694 + def __init__(1095,37808 + def connect(1125,38767 +class UNIXServerEndpoint(1142,39295 + def __init__(1146,39377 + def listen(1163,40082 +class UNIXClientEndpoint(1176,40539 + def __init__(1180,40621 + def connect(1201,41256 +class AdoptedStreamServerEndpoint(1219,41757 + def __init__(1230,42112 + def listen(1246,42590 +def _parseTCP(1266,43153 +def _parseUNIX(1293,44125 +def _parseSSL(1325,45278 +class _StandardIOParser(1413,48726 + def _parseServer(1421,48933 + def parseStreamServer(1431,49238 +class _SystemdParser(1439,49547 + def _parseServer(1452,49918 + def parseStreamServer(1480,51099 +class _TCP6ServerParser(1489,51477 + def _parseServer(1497,51762 + def parseStreamServer(1518,52424 +def _tokenize(1532,52849 +def _parse(1575,54212 + def add(1590,54854 +def _parseServer(1620,55557 +def _matchPluginToPrefix(1649,56550 +def serverFromString(1662,56920 +def quoteStringArgument(1736,59731 +def _parseClientTCP(1772,61082 +def _loadCAsFromDir(1812,61974 +def _parseTrustRootPath(1841,62889 +def _privateCertFromPaths(1857,63266 +def _parseClientSSLOptions(1883,64078 +def _parseClientSSL(1922,65543 +def _parseClientUNIX(1953,66725 +def clientFromString(1986,67594 +def connectProtocol(2071,70876 + class OneShotFactory(2087,71347 + def buildProtocol(2088,71382 +class _WrapperEndpoint(2095,71545 + def __init__(2100,71639 + def connect(2108,71857 +class _WrapperServerEndpoint(2119,72198 + def __init__(2124,72311 + def listen(2132,72535 +def wrapClientTLS(2142,72772 +def _parseClientTLS(2173,73812 +class _TLSClientEndpointParser(2232,76127 + def parseStreamClient(2243,76400 + +venv/lib/python2.7/site-packages/twisted/internet/_posixserialport.py,161 +class SerialPort(23,438 + def __init__(30,590 + def fileno(46,1268 + def writeSomeData(50,1323 + def doRead(57,1482 + def connectionLost(64,1654 + +venv/lib/python2.7/site-packages/twisted/internet/_threadedselect.py,954 +def dictRemove(75,2722 +def raiseException(82,2818 +class ThreadedSelectReactor(87,2883 + def __init__(92,3038 + def wakeUp(103,3405 + def callLater(107,3501 + def _sendToMain(112,3653 + def _sendToThread(117,3804 + def _preenDescriptorsInThread(120,3888 + def _workerInThread(135,4499 + def _doSelectInThread(146,4827 + def _process_Notify(186,6370 + def _process_Failure(201,6968 + def ensureWorkerThread(206,7077 + def doThreadIteration(211,7291 + def _interleave(219,7560 + def interleave(229,7910 + def mainWaker(243,8433 + def _mainLoopShutdown(250,8609 + def _doReadOrWrite(274,9427 + def addReader(288,9896 + def addWriter(294,10102 + def removeReader(300,10310 + def removeWriter(305,10493 + def removeAll(310,10678 + def getReaders(314,10761 + def getWriters(318,10828 + def stop(322,10896 + def run(331,11156 + def mainLoop(335,11299 +def install(345,11503 + +venv/lib/python2.7/site-packages/twisted/internet/utils.py,709 +def _callProtocolWithDeferred(22,399 +class _UnexpectedErrorOutput(33,692 + def __init__(44,1120 +class _BackRelay(50,1267 + def __init__(69,2274 + def errReceivedIsBad(77,2523 + def errReceivedIsGood(85,2852 + def outReceived(88,2919 + def processEnded(91,2980 +def getProcessOutput(99,3205 +class _ValueGetter(131,4561 + def __init__(133,4608 + def processEnded(136,4676 +def getProcessValue(140,4768 +class _EverythingGetter(146,5036 + def __init__(148,5088 + def processEnded(155,5310 +def getProcessOutputAndValue(166,5617 +def _resetWarningFilters(177,6175 +def runWithWarningsSuppressed(186,6376 +def suppressWarnings(210,7285 + def warningSuppressingWrapper(217,7576 + +venv/lib/python2.7/site-packages/twisted/internet/pyuisupport.py,43 +def _guiUpdate(16,250 +def install(25,441 + +venv/lib/python2.7/site-packages/twisted/internet/wxreactor.py,312 +class ProcessEventsTimer(42,1099 + def __init__(49,1348 + def Notify(54,1443 +class WxReactor(62,1578 + def registerWxApp(71,1760 + def _installSignalHandlersAgain(78,1899 + def stop(91,2264 + def _runInMainThread(101,2469 + def _stopWx(114,2786 + def run(124,3026 +def install(178,5034 + +venv/lib/python2.7/site-packages/twisted/runner/test/test_procmontap.py,289 +class ProcessMonitorTapTests(14,298 + def test_commandLineRequired(20,452 + def test_threshold(28,659 + def test_killTime(38,935 + def test_minRestartDelay(47,1199 + def test_maxRestartDelay(57,1499 + def test_parameterDefaults(67,1799 + def test_makeService(79,2170 + +venv/lib/python2.7/site-packages/twisted/runner/test/test_inetdconf.py,128 +class ServicesConfTests(12,199 + def setUp(20,359 + def test_parseDefaultFilename(36,949 + def test_parseFile(54,1477 + +venv/lib/python2.7/site-packages/twisted/runner/test/test_procmon.py,1851 +class DummyProcess(20,531 + def __init__(34,916 + def signalProcess(50,1360 + def processEnded(76,2275 +class DummyProcessReactor(89,2582 + def __init__(95,2799 + def spawnProcess(102,2927 +class ProcmonTests(118,3484 + def setUp(123,3573 + def test_reprLooksGood(134,3891 + def test_simpleReprLooksGood(146,4256 + def test_getStateIncludesProcesses(159,4687 + def test_getStateExcludesReactor(169,5065 + def test_addProcess(177,5313 + def test_addProcessDuplicateKeyError(192,5883 + def test_addProcessEnv(203,6302 + def test_addProcessCwd(216,6746 + def test_removeProcess(228,7142 + def test_removeProcessUnknownKeyError(240,7517 + def test_startProcess(249,7802 + def test_startProcessAlreadyStarted(262,8323 + def test_startProcessUnknownKeyError(272,8635 + def test_stopProcessNaturalTermination(280,8886 + def test_stopProcessForcedKill(307,9915 + def test_stopProcessUnknownKeyError(330,10866 + def test_stopProcessAlreadyStopped(338,11114 + def test_outputReceivedCompleteLine(348,11499 + def test_outputReceivedCompleteLineInvalidUTF8(370,12311 + def test_outputReceivedPartialLine(396,13296 + def test_connectionLostLongLivedProcess(419,14221 + def test_connectionLostMurderCancel(440,15067 + def test_connectionLostProtocolDeletion(463,16063 + def test_connectionLostMinMaxRestartDelay(477,16617 + def test_connectionLostBackoffDelayDoubles(494,17227 + def test_startService(509,17898 + def test_stopService(521,18273 + def test_restartAllRestartsOneProcess(544,19066 + def test_stopServiceCancelRestarts(560,19651 + def test_stopServiceCleanupScheduledRestarts(581,20415 +class DeprecationTests(606,21324 + def setUp(612,21472 + def test_toTuple(620,21663 + def test_processes(641,22465 + def test_getstate(657,23053 + +venv/lib/python2.7/site-packages/twisted/runner/procmon.py,702 +class _Process(17,442 + def toTuple(45,1256 +class DummyTransport:DummyTransport65,2008 +class LineLogger(71,2084 + def lineReceived(76,2161 +class LoggingProtocol(84,2362 + def connectionMade(90,2462 + def outReceived(96,2611 + def processEnded(103,2755 +class ProcessMonitor(109,2911 + def __init__(155,4736 + def processes(167,5051 + def __getstate__(178,5380 + def addProcess(191,5721 + def removeProcess(228,7380 + def startService(240,7693 + def stopService(249,7908 + def connectionLost(264,8340 + def startProcess(307,10167 + def _forceStopProcess(328,10890 + def stopProcess(338,11121 + def restartAll(358,11802 + def __repr__(369,12170 + +venv/lib/python2.7/site-packages/twisted/runner/procmontap.py,103 +class Options(13,290 + def parseArgs(48,1647 + def postOptions(55,1805 +def makeService(64,2000 + +venv/lib/python2.7/site-packages/twisted/runner/inetdtap.py,47 +class Options(24,687 +def makeService(49,1327 + +venv/lib/python2.7/site-packages/twisted/runner/inetd.py,113 +class InetdProtocol(32,652 + def connectionMade(34,762 +class InetdFactory(65,1807 + def __init__(69,1898 + +venv/lib/python2.7/site-packages/twisted/runner/inetdconf.py,499 +class InvalidConfError(10,192 +class InvalidInetdConfError(17,277 +class InvalidServicesConfError(24,371 +class UnknownService(31,466 +class SimpleConfFile:SimpleConfFile38,543 + def parseFile(51,837 + def parseLine(83,1723 + def parseFields(96,2075 +class InetdService:InetdService103,2161 + def __init__(117,2409 +class InetdConf(131,2795 + def __init__(138,2943 + def parseFields(147,3175 +class ServicesConf(175,4251 + def __init__(184,4444 + def parseFields(188,4497 + +venv/lib/python2.7/site-packages/twisted/persisted/test/test_styles.py,525 +class Foo:Foo14,250 + def method(18,295 +class Bar:Bar25,367 +def sampleFunction(32,415 +class UniversalPicklingErrorTests(43,523 + def raise_UniversalPicklingError(48,646 + def test_handledByPickleModule(55,795 + def test_handledBycPickleModule(64,1057 +class UnpickleMethodTests(79,1475 + def test_instanceBuildingNamePresent(84,1581 + def test_instanceBuildingNameNotPresent(95,1899 + def test_primeDirective(107,2297 + def expected(112,2447 + def test_lambdaRaisesPicklingError(130,2961 + +venv/lib/python2.7/site-packages/twisted/persisted/dirdbm.py,692 +class DirDBM:DirDBM42,734 + def __init__(50,934 + def _encode(79,2136 + def _decode(87,2372 + def _readFile(94,2545 + def _writeFile(105,2806 + def __len__(116,3070 + def __setitem__(123,3226 + def __getitem__(157,4249 + def __delitem__(177,4816 + def keys(196,5310 + def values(203,5484 + def items(214,5711 + def has_key(225,5960 + def setdefault(239,6351 + def get(253,6696 + def __contains__(269,7099 + def update(276,7223 + def copyTo(288,7586 + def clear(309,8147 + def close(317,8299 + def getModificationTime(323,8413 +class Shelf(340,8929 + def __setitem__(348,9157 + def __getitem__(362,9475 +def open(377,9861 + +venv/lib/python2.7/site-packages/twisted/persisted/styles.py,696 + class _UniversalPicklingError(38,713 +def pickleMethod(49,1058 +def _methodFunction(62,1487 +def unpickleMethod(83,2129 +def _pickleFunction(121,3458 +def _unpickleFunction(141,4128 +def pickleModule(162,4851 +def unpickleModule(166,4982 +def pickleStringO(181,5335 +def unpickleStringO(196,5734 +def pickleStringI(218,6320 +def unpickleStringI(235,6764 +class Ephemeral:Ephemeral268,7616 + def __reduce__(274,7749 + def __getstate__(281,7939 + def __setstate__(290,8252 +def doUpgrade(298,8438 +def requireUpgrade(305,8635 +def _aybabtu(314,8899 +class Versioned:Versioned331,9383 + def __setstate__(354,10157 + def __getstate__(358,10268 + def versionUpgrade(374,10930 + +venv/lib/python2.7/site-packages/twisted/persisted/sob.py,469 +class IPersistable(27,501 + def setStyle(31,602 + def save(37,730 +class Persistent:Persistent47,950 + def __init__(51,991 + def setStyle(55,1090 + def _getFilename(62,1251 + def _saveTemp(74,1683 + def _getStyle(78,1808 + def dumpFunc(83,1978 + def save(88,2111 +class _EverythingEphemeral(110,2924 + def __init__(114,2988 + def __getattr__(120,3151 +def load(131,3455 +def loadValueFromFile(164,4326 +def guessType(181,4812 + +venv/lib/python2.7/site-packages/twisted/persisted/crefutil.py,660 +class NotKnown:NotKnown17,342 + def __init__(18,358 + def addDependant(22,438 + def resolveDependants(28,602 + def __hash__(35,788 +class _Container(40,876 + def __init__(45,991 + def __setitem__(66,1663 +class _Tuple(79,2039 + def __init__(85,2174 +class _InstanceMethod(94,2368 + def __init__(95,2401 + def __call__(102,2624 + def __setitem__(109,2892 +class _DictKeyAndValue:_DictKeyAndValue115,3131 + def __init__(116,3155 + def __setitem__(118,3210 +class _Dereference(129,3561 + def __init__(130,3591 +class _Defer(138,3720 + def __init__(139,3754 + def __setitem__(146,3880 + def addDependant(153,4107 + +venv/lib/python2.7/site-packages/twisted/persisted/aot.py,1491 +class Named:Named38,824 + def __init__(39,837 +class Class(42,893 + def getSource(43,913 +class Function(46,978 + def getSource(47,1001 +class Module(50,1069 + def getSource(51,1090 +class InstanceMethod:InstanceMethod55,1157 + def __init__(56,1179 + def getSource(63,1476 +class _NoStateObj:_NoStateObj67,1602 +class Instance:Instance81,1834 + def __init__(82,1850 + def getSource(93,2248 +class Ref:Ref108,2870 + def __init__(110,2882 + def setRef(119,3111 + def setObj(124,3281 + def getSource(129,3443 +class Deref:Deref137,3720 + def __init__(138,3733 + def getSource(141,3789 +class Copyreg:Copyreg147,3883 + def __init__(148,3898 + def getSource(152,4000 +def getSource(162,4151 +class NonFormattableDict(167,4297 +def dictToKW(173,4427 +def prettify(188,4820 +def indentify(221,5788 +def unjellyFromAOT(243,6307 +def unjellyFromSource(249,6454 +class AOTUnjellier:AOTUnjellier279,7327 + def __init__(283,7445 + def unjellyLater(291,7649 + def unjellyInto(298,7814 + def callAfter(308,8140 + def unjellyAttribute(316,8382 + def unjellyAO(325,8761 + def unjelly(429,12526 +def jellyToAOT(445,12912 +def jellyToSource(449,13025 +def _classOfMethod(472,13567 +def _funcOfMethod(488,13919 +def _selfOfMethod(504,14288 +class AOTJellier:AOTJellier520,14633 + def __init__(521,14651 + def prepareForRef(527,14793 + def jellyToAO(532,14992 + def _stateFrom(585,17167 + def jelly(618,18363 + +venv/lib/python2.7/site-packages/twisted/words/test/test_xpath.py,1115 +class XPathTests(14,370 + def setUp(15,407 + def test_staticMethods(78,2767 + def test_locationFooBar(92,3390 + def test_locationFooBarFoo(99,3576 + def test_locationNoBar3(109,3974 + def test_locationAllChilds(116,4150 + def test_attribute(126,4559 + def test_attributeWithValueAny(133,4749 + def test_locationWithValueUnicode(141,5037 + def test_namespaceFound(149,5336 + def test_namespaceNotFound(156,5540 + def test_attributeWithValue(163,5757 + def test_queryForString(170,5976 + def test_queryForStringList(177,6203 + def test_queryForStringListAnyLocation(185,6487 + def test_queryForNodes(193,6783 + def test_textCondition(202,7131 + def test_textConditionUnicode(209,7343 + def test_textNotOperator(217,7644 + def test_anyLocationAndText(224,7839 + def test_anyLocation(235,8355 + def test_anyLocationQueryForString(246,8827 + def test_andOperator(254,9104 + def test_orOperator(262,9398 + def test_booleanOperatorsParens(270,9700 + def test_booleanOperatorsNoParens(279,10094 + def test_badXPathNoClosingBracket(289,10534 + +venv/lib/python2.7/site-packages/twisted/words/test/test_ircsupport.py,784 +class StubConversation(17,423 + def show(18,461 + def showMessage(22,496 +class StubGroupConversation(28,609 + def setTopic(29,657 + def show(34,762 + def showGroupMessage(38,797 +class StubChatUI(45,952 + def getConversation(46,978 + def getGroupConversation(50,1131 +class IRCProtoTests(55,1295 + def setUp(59,1372 + def test_login(66,1608 + def test_authenticate(78,2010 + def test_channels(92,2484 + def test_isupport(107,2979 + def test_nick(118,3405 + def test_part(131,3915 + def test_quit(146,4581 + def test_topic(161,5230 + def test_privmsg(173,5722 + def test_action(196,6739 + def test_rplNamreply(219,7743 + def test_rplTopic(245,8932 + def test_sendMessage(255,9292 + def test_sendGroupMessage(275,9982 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabbersaslmechanisms.py,507 +class PlainTests(15,337 + def test_getInitialResponse(19,461 +class AnonymousTests(28,694 + def test_getInitialResponse(32,826 +class DigestMD5Tests(41,1034 + def setUp(45,1166 + def test_getInitialResponse(50,1304 + def test_getResponse(57,1493 + def test_getResponseNonAsciiRealm(75,2200 + def test_getResponseNoRealm(92,2952 + def test_getResponseNoRealmIDN(103,3372 + def test_getResponseRspauth(117,4022 + def test_calculateResponse(127,4364 + def test_parse(150,5189 + +venv/lib/python2.7/site-packages/twisted/words/test/test_xmpproutertap.py,261 +class XMPPRouterTapTests(13,301 + def test_port(15,347 + def test_portDefault(24,571 + def test_secret(33,808 + def test_secretDefault(42,1048 + def test_verbose(51,1271 + def test_makeService(60,1485 + def test_makeServiceVerbose(77,2138 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabberxmlstream.py,5265 +class HashPasswordTests(30,781 + def test_basic(35,883 + def test_sidNotUnicode(43,1143 + def test_passwordNotUnicode(51,1410 + def test_unicodeSecret(59,1672 +class IQTests(68,1955 + def setUp(73,2072 + def testBasic(86,2672 + def testSend(91,2787 + def testResultResponse(101,3137 + def cb(102,3171 + def testErrorResponse(113,3423 + def testNonTrackedResponse(122,3650 + def cb(138,4249 + def testCleanup(147,4471 + def testDisconnectCleanup(161,4881 + def testNoModifyingDict(174,5235 + def eb(180,5412 + def testRequestTimingOut(190,5646 + def testRequestNotTimingOut(204,6031 + def testDisconnectTimeoutCancellation(218,6526 +class XmlStreamTests(235,6953 + def onStreamStart(237,6995 + def onStreamEnd(241,7066 + def onStreamError(245,7133 + def setUp(249,7204 + def test_sendHeaderBasic(267,7861 + def test_sendHeaderAdditionalNamespaces(282,8411 + def test_sendHeaderInitiating(299,9101 + def test_sendHeaderReceiving(313,9559 + def test_receiveStreamError(329,10099 + def test_sendStreamErrorInitiating(342,10587 + def test_sendStreamErrorInitiatingNoHeader(357,11074 + def test_sendStreamErrorReceiving(374,11682 + def test_sendStreamErrorReceivingNoHeader(389,12167 + def test_reset(406,12778 + def test_send(418,13074 + def test_authenticator(437,13659 + class TestAuthenticator:TestAuthenticator445,13889 + def connectionMade(446,13922 + def streamStarted(449,14010 + def associateWithStream(452,14116 +class TestError(469,14749 +class AuthenticatorTests(474,14789 + def setUp(475,14834 + def test_streamStart(480,14977 + def test_streamStartLegacy(498,15707 + def test_streamBadVersionOneDigit(511,16218 + def test_streamBadVersionNoNumber(524,16756 +class ConnectAuthenticatorTests(538,17288 + def setUp(540,17341 + def onAuthenticated(549,17734 + def onInitFailed(553,17809 + def testSucces(557,17883 + class Initializer:Initializer561,17995 + def initialize(562,18022 + def testFailure(573,18306 + class Initializer:Initializer577,18405 + def initialize(578,18432 + def test_streamStart(591,18847 +class ListenAuthenticatorTests(617,19927 + def setUp(622,20042 + def test_streamStart(627,20191 + def test_streamStartUnicodeSessionID(647,21032 +class TLSInitiatingInitializerTests(661,21558 + def setUp(662,21614 + def tearDown(678,22228 + def testWantedSupported(682,22292 + def testWantedNotSupportedNotRequired(705,23170 + def testWantedNotSupportedRequired(718,23480 + def testNotWantedRequired(732,23832 + def testNotWantedNotRequired(748,24317 + def testFailed(762,24762 +class TestFeatureInitializer(778,25225 + def start(781,25333 +class BaseFeatureInitiatingInitializerTests(786,25392 + def setUp(788,25457 + def testAdvertized(793,25611 + def testNotAdvertizedRequired(802,25907 + def testNotAdvertizedNotRequired(811,26207 +class ToResponseTests(821,26506 + def test_toResponse(823,26549 + def test_toResponseNoFrom(840,27246 + def test_toResponseNoTo(852,27686 + def test_toResponseNoAddressing(864,28142 + def test_noID(875,28543 + def test_noType(884,28829 +class DummyFactory(893,29121 + def __init__(897,29234 + def addBootstrap(901,29288 +class DummyXMPPHandler(906,29377 + def __init__(910,29514 + def makeConnection(916,29625 + def connectionMade(920,29691 + def connectionInitialized(924,29750 + def connectionLost(928,29823 +class FailureReasonXMPPHandler(933,29891 + def __init__(937,30019 + def connectionLost(941,30083 +class XMPPHandlerTests(947,30213 + def test_interface(952,30313 + def test_send(959,30506 + class DummyStreamManager(963,30626 + def __init__(964,30668 + def send(967,30735 + def test_makeConnection(976,31004 + class TestXMPPHandler(980,31143 + def connectionMade(981,31197 + def test_connectionLost(991,31500 +class XMPPHandlerCollectionTests(1003,31854 + def setUp(1008,31974 + def test_interface(1012,32057 + def test_addHandler(1019,32264 + def test_removeHandler(1029,32567 +class StreamManagerTests(1041,32914 + def setUp(1046,33018 + def test_basic(1051,33136 + def test_connected(1068,33841 + def test_connectedLogTrafficFalse(1083,34352 + def test_connectedLogTrafficTrue(1096,34789 + def test_authd(1110,35257 + def test_disconnected(1125,35769 + def test_disconnectedReason(1140,36289 + def test_addHandler(1152,36741 + def test_addHandlerInitialized(1165,37119 + def test_sendInitialized(1186,37797 + def test_sendNotConnected(1205,38559 + def test_sendNotInitialized(1236,39701 + def test_sendDisconnected(1255,40498 +class XmlStreamServerFactoryTests(1278,41203 + def setUp(1283,41341 + class TestAuthenticator(1287,41458 + def __init__(1288,41499 + def associateWithStream(1291,41569 + def authenticatorFactory(1294,41660 + def test_interface(1300,41816 + def test_buildProtocolAuthenticatorInstantiation(1307,41976 + def test_buildProtocolXmlStream(1321,42554 + def test_buildProtocolTwice(1329,42801 + +venv/lib/python2.7/site-packages/twisted/words/test/test_irc.py,9492 +class IRCTestCase(21,529 + def assertEqualBufferValue(22,558 +class ModeParsingTests(43,1233 + def test_emptyModes(50,1375 + def test_emptyModeSequence(57,1563 + def test_malformedModes(69,2110 + def test_nullModes(78,2412 + def test_singleMode(87,2702 + def test_singleDirection(102,3211 + def test_multiDirection(119,3845 + def test_consecutiveDirection(130,4218 + def test_mismatchedParams(144,4784 + def test_parameters(159,5343 +class MiscTests(198,6831 + def test_foldr(202,6916 + def insertTop(212,7231 +class FormattedTextTests(222,7435 + def assertAssembledEqually(226,7547 + def assertAssemblesTo(237,8036 + def test_parseEmpty(251,8563 + def test_assembleEmpty(258,8740 + def test_assembleNormal(276,9314 + def test_assembleBold(287,9597 + def test_assembleUnderline(298,9891 + def test_assembleReverseVideo(309,10206 + def test_assembleForegroundColor(320,10534 + def test_assembleBackgroundColor(332,10914 + def test_assembleColor(345,11369 + def test_assembleNested(358,11818 + def test_parseUnformattedText(375,12375 + def test_colorFormatting(385,12642 + def test_weirdColorFormatting(401,13197 + def test_clearColorFormatting(439,14656 + def test_resetFormatting(452,15068 + def test_stripFormatting(467,15585 +class FormattingStateAttributeTests(482,16040 + def test_equality(486,16169 +class QuotingTests(524,17492 + def test_lowquoteSanity(525,17525 + def test_ctcpquoteSanity(533,17735 +class Dispatcher(542,17948 + def disp_working(548,18110 + def disp_unknown(555,18238 +class DispatcherTests(563,18399 + def test_dispatch(567,18497 + def test_dispatchUnknown(577,18743 + def test_dispatchMissingUnknown(588,19035 +class ServerSupportedFeatureTests(599,19358 + def test_intOrDefault(603,19486 + def test_splitParam(616,19985 + def test_splitParamArgs(644,21156 + def test_splitParamArgsProcessor(657,21672 + def test_parsePrefixParam(670,22178 + def test_parseChanModesParam(685,22853 + def test_parse(720,24049 + def _parse(749,25247 + def _parseFeature(765,25759 + def _testIntOrDefaultFeature(774,26057 + def _testFeatureDefault(789,26495 + def test_support_CHANMODES(805,27106 + def test_support_IDCHAN(837,28156 + def test_support_MAXLIST(847,28446 + def test_support_NETWORK(864,29091 + def test_support_SAFELIST(874,29359 + def test_support_STATUSMSG(884,29646 + def test_support_TARGMAX(894,29945 + def test_support_NICKLEN(917,30753 + def test_support_CHANNELLEN(928,31205 + def test_support_CHANTYPES(939,31649 + def test_support_KICKLEN(951,31974 + def test_support_PREFIX(959,32229 + def test_support_TOPICLEN(982,32954 + def test_support_MODES(990,33205 + def test_support_EXCEPTS(1001,33654 + def test_support_INVEX(1015,34084 +class IRCClientWithoutLogin(1030,34510 +class CTCPTests(1035,34578 + def setUp(1039,34694 + def test_ERRMSG(1049,35030 + def test_noNumbersVERSION(1073,35804 + def test_fullVERSION(1090,36517 + def test_noDuplicateCTCPDispatch(1111,37459 + def testCTCP(1115,37594 + def test_noDefaultDispatch(1129,38020 + def unknownQuery(1133,38154 +class NoticingClient(1159,39061 + def __init__(1190,40170 + def __getattribute__(1199,40576 + def makeMethod(1210,40994 + def method(1211,41033 +def pop(1228,41785 +class ClientImplementationTests(1239,41949 + def setUp(1240,41995 + def _serverTestImpl(1249,42265 + def testYourHost(1267,42759 + def testCreated(1272,42941 + def testMyInfo(1277,43110 + def testLuserClient(1286,43448 + def _sendISUPPORT(1292,43645 + def test_ISUPPORT(1314,44751 + def testBounce(1322,44939 + def testLuserChannels(1328,45104 + def testLuserOp(1335,45311 + def testLuserMe(1342,45505 + def test_receivedMOTD(1348,45675 + def test_withoutMOTDSTART(1370,46522 + def _clientTestImpl(1388,47115 + def testPrivmsg(1405,47639 + def test_getChannelModeParams(1422,48370 + def removeFeature(1432,48828 + def test_getUserModeParams(1460,49885 + def _sendModeChange(1471,50298 + def _parseModeChange(1482,50631 + def _checkModeChange(1498,51194 + def test_modeMissingDirection(1507,51488 + def test_noModeParameters(1516,51775 + def test_oneModeParameter(1527,52128 + def test_mixedModes(1538,52496 + def test_tooManyModeParameters(1551,53058 + def test_tooFewModeParameters(1564,53545 + def test_userMode(1577,54024 + def getUserModeParams(1589,54593 + def test_heartbeat(1599,54926 + def _createHeartbeat(1606,55252 + def test_heartbeatDisabled(1633,56349 +class BasicServerFunctionalityTests(1645,56726 + def setUp(1646,56776 + def check(1653,56952 + def test_sendMessage(1666,57336 + def test_sendCommand(1676,57684 + def test_sendUnicodeCommand(1689,58164 + def test_sendMessageNoCommand(1698,58455 + def test_sendCommandNoCommand(1708,58791 + def test_sendMessageInvalidCommand(1718,59134 + def test_sendCommandInvalidCommand(1730,59540 + def test_sendCommandWithPrefix(1740,59880 + def test_sendCommandWithTags(1750,60262 + def test_sendCommandValidateEmptyTags(1781,61589 + def test_sendCommandValidateNoneTags(1795,62055 + def test_sendCommandValidateTagsWithSpaces(1810,62536 + def test_sendCommandValidateTagsWithInvalidChars(1823,62993 + def test_sendCommandValidateTagValueEscaping(1836,63468 + def testPrivmsg(1858,64229 + def testNotice(1863,64416 + def testAction(1868,64598 + def testJoin(1873,64780 + def testPart(1878,64916 + def testWhois(1883,65052 +class DummyClient(1906,65998 + def __init__(1911,66166 + def connectionMade(1915,66216 + def _truncateLine(1920,66315 + def lineReceived(1927,66503 + def sendLine(1933,66697 +class ClientInviteTests(1938,66776 + def setUp(1942,66865 + def test_channelCorrection(1949,67018 + def test_invite(1958,67326 +class ClientMsgTests(1968,67593 + def setUp(1972,67719 + def test_singleLine(1977,67815 + def test_invalidMaxLength(1985,68046 + def test_multipleLine(1994,68408 + def test_sufficientWidth(2008,68867 + def test_newlinesAtStart(2025,69509 + def test_newlinesAtEnd(2034,69766 + def test_newlinesWithinMessage(2043,70015 + def test_consecutiveNewlines(2055,70331 + def assertLongMessageSplitting(2067,70648 + def test_splitLongMessagesWithDefault(2095,71710 + def test_splitLongMessagesWithOverride(2107,72230 + def test_newlinesBeforeLineBreaking(2119,72735 + def test_lineBreakOnWordBoundaries(2134,73279 + def test_splitSanity(2149,73821 + def test_splitDelimiters(2162,74278 + def test_splitValidatesLength(2175,74750 + def test_say(2184,75056 +class ClientTests(2195,75407 + def setUp(2200,75565 + def getLastLine(2217,76164 + def test_away(2227,76453 + def test_back(2240,76826 + def test_whois(2252,77131 + def test_whoisWithServer(2262,77391 + def test_register(2273,77764 + def test_registerWithPassword(2292,78466 + def test_registerWithTakenNick(2313,79256 + def test_overrideAlterCollidedNick(2335,80163 + def test_nickChange(2349,80705 + def test_erroneousNick(2364,81287 + def test_describe(2395,82721 + def test_noticedDoesntPrivmsg(2412,83282 + def privmsg(2417,83442 + def test_ping(2424,83694 +class CollectorClient(2456,84915 + def __init__(2460,85045 + def fake_method(2469,85310 + def inner(2473,85431 +class DccTests(2480,85602 + def setUp(2484,85679 + def test_dccSend(2492,85920 + def test_dccSendNotImplemented(2502,86292 + def test_dccSendMalformedRequest(2511,86568 + def test_dccSendIndecipherableAddress(2521,86949 + def test_dccSendIndecipherablePort(2531,87368 + def test_dccAccept(2541,87792 + def test_dccAcceptMalformedRequest(2550,88118 + def test_dccResume(2561,88524 + def test_dccResumeMalformedRequest(2570,88838 + def test_dccChat(2581,89244 + def test_dccChatMalformedRequest(2591,89615 + def test_dccChatIndecipherablePort(2602,90008 +class ServerToClientTests(2613,90433 + def setUp(2617,90560 + def test_irc_JOIN(2625,90862 + def test_irc_PART(2637,91346 + def test_irc_QUIT(2649,91824 + def test_irc_NOTICE(2661,92285 + def test_irc_KICK(2672,92734 + def test_irc_TOPIC(2689,93471 + def test_irc_RPL_TOPIC(2700,93869 + def test_irc_RPL_NOTOPIC(2712,94297 +class CTCPQueryTests(2722,94618 + def setUp(2726,94711 + def test_ctcpQuery_PING(2732,94869 + def test_ctcpQuery_FINGER(2742,95220 + def test_ctcpQuery_SOURCE(2753,95622 + def test_ctcpQuery_USERINFO(2765,96090 + def test_ctcpQuery_CLIENTINFO(2776,96495 + def test_ctcpQuery_TIME(2790,97130 + def test_ctcpQuery_DCC(2799,97422 +class DccChatFactoryTests(2812,97867 + def test_buildProtocol(2816,97956 +class DccDescribeTests(2829,98415 + def test_address(2833,98498 +class DccFileReceiveTests(2842,98742 + def makeConnectedDccFileReceive(2846,98831 + def allDataReceivedForProtocol(2875,99896 + def test_resumeFromResumeOffset(2889,100285 + def test_resumeFromResumeOffsetInTheMiddleOfAlreadyWrittenData(2903,100783 + def test_setOverwrite(2920,101487 + def test_fileDoesNotExist(2934,101969 + def test_resumeWhenFileDoesNotExist(2947,102375 + def test_fileAlreadyExistsNoOverwrite(2961,102796 + def test_failToOpenLocalFile(2972,103107 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabberjstrports.py,100 +class JabberStrPortsPlaceHolderTests(16,329 + def test_parse(21,430 + def test_client(31,777 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabbererror.py,1078 +class BaseErrorTests(21,558 + def test_getElementPlain(23,600 + def test_getElementText(32,899 + def test_getElementTextLang(42,1297 + def test_getElementAppCondition(52,1711 +class StreamErrorTests(62,2109 + def test_getElementPlain(64,2153 + def test_getElementConditionNamespace(72,2420 + def test_getElementTextNamespace(80,2748 +class StanzaErrorTests(90,3046 + def test_typeRemoteServerTimeout(96,3143 + def test_getElementPlain(105,3413 + def test_getElementType(116,3768 + def test_getElementConditionNamespace(127,4140 + def test_getElementTextNamespace(136,4469 + def test_toResponse(145,4771 +class ParseErrorTests(170,5805 + def setUp(176,5901 + def test_empty(180,5977 + def test_condition(191,6322 + def test_text(200,6614 + def test_textLang(211,6968 + def test_appCondition(222,7343 + def test_appConditionMultiple(231,7660 +class ExceptionFromStanzaTests(242,8049 + def test_basic(244,8101 + def test_legacy(285,9682 +class ExceptionFromStreamErrorTests(313,10755 + def test_basic(315,10812 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabberclient.py,1109 +class CheckVersionInitializerTests(26,864 + def setUp(27,919 + def testSupported(33,1071 + def testNotSupported(41,1244 +class InitiatingInitializerHarness(51,1550 + def setUp(64,2094 + def waitFor(72,2353 +class IQAuthInitializerTests(92,3055 + def setUp(97,3194 + def testPlainText(104,3448 + def onAuthGet(113,3725 + def onAuthSet(136,4496 + def testDigest(159,5318 + def onAuthGet(169,5650 + def onAuthSet(192,6415 + def testFailRequestFields(220,7410 + def onAuthGet(224,7546 + def testFailAuth(245,8237 + def onAuthGet(250,8340 + def onAuthSet(273,9109 +class BindInitializerTests(296,9817 + def setUp(301,9952 + def testBasic(307,10154 + def onBind(311,10269 + def cb(318,10572 + def testFailure(328,10876 + def onBind(332,10990 +class SessionInitializerTests(343,11303 + def setUp(348,11444 + def testSuccess(353,11582 + def onSession(358,11705 + def testFailure(367,11966 + def onSession(371,12085 +class XMPPAuthenticatorTests(382,12408 + def testBasic(386,12532 + +venv/lib/python2.7/site-packages/twisted/words/test/test_service.py,1616 +class RealmTests(20,550 + def _entityCreationTest(21,587 + def testUserCreation(53,1871 + def testGroupCreation(57,1953 + def testUserRetrieval(61,2037 + def testUserAddition(80,2772 + def testGroupRetrieval(97,3411 + def testGroupAddition(110,3797 + def testGroupUsernameCollision(119,4082 + def testEnumeration(131,4529 +class TestCaseUserAgg(145,4910 + def __init__(146,4941 + def write(155,5339 +class IRCProtocolTests(159,5411 + def setUp(165,5635 + def _assertGreeting(180,6204 + def _login(197,6838 + def _loggedInUser(204,7064 + def _response(211,7278 + def testPASSLogin(228,7924 + def test_nickServLogin(233,8038 + def testFailedLogin(254,8871 + def testLogout(264,9282 + def testJoin(275,9647 + def test_joinTopicless(330,11627 + def testLeave(351,12375 + def testGetTopic(411,14287 + def testSetTopic(446,15563 + def testGroupMessage(490,16973 + def testPrivateMessage(516,17742 + def testOper(545,18697 + def testGetUserMode(556,18975 + def testSetUserMode(569,19373 + def testGetGroupMode(580,19663 + def testSetGroupMode(595,20067 + def testWho(610,20471 + def testList(653,22065 + def testWhois(697,23407 +class TestMind(753,25499 + def __init__(754,25531 + def remote_userJoined(760,25664 + def remote_userLeft(764,25753 + def remote_receive(768,25856 + def remote_groupMetaUpdate(772,25975 +class PBProtocolTests(777,26129 + def setUp(778,26171 + def _protocolFactory(795,26893 + def tearDown(800,27020 + def _loggedInAvatar(808,27293 + def testGroups(820,27729 + +venv/lib/python2.7/site-packages/twisted/words/test/test_irc_service.py,799 +class IRCUserTests(14,382 + def setUp(19,466 + def test_sendMessage(34,1089 + def test_utf8Messages(45,1515 + def test_invalidEncodingNick(60,2168 + def response(70,2536 + def scanResponse(82,2930 + def test_sendNickSendsGreeting(98,3434 + def test_fullLogin(114,4186 + def test_PART(141,5280 + def test_NAMES(163,6147 +class MocksyIRCUser(176,6504 + def __init__(177,6534 + def sendMessage(182,6645 +class IRCUserBadEncodingTests(188,6747 + def setUp(195,6998 + def assertChokesOnBadBytes(199,7060 + def test_JOIN(216,7640 + def test_NAMES(224,7856 + def test_TOPIC(232,8075 + def test_LIST(240,8294 + def test_MODE(250,8530 + def test_PRIVMSG(258,8739 + def test_WHOIS(266,8957 + def test_PART(276,9191 + def test_WHO(286,9428 + +venv/lib/python2.7/site-packages/twisted/words/test/test_xishutil.py,1201 +class CallbackTracker:CallbackTracker18,388 + def __init__(26,563 + def call(31,637 +class OrderedCallbackTracker:OrderedCallbackTracker37,726 + def __init__(42,829 + def call1(46,882 + def call2(50,954 + def call3(54,1026 +class EventDispatcherTests(59,1099 + def testStuff(64,1197 + def test_addObserverTwice(101,2260 + def test_addObserverInDispatch(121,2855 + def onMessage(129,3086 + def test_addOnetimeObserverInDispatch(144,3406 + def onMessage(152,3651 + def testOnetimeDispatch(167,3980 + def testDispatcherResult(179,4296 + def testOrderedXPathDispatch(193,4671 + def test_cleanUpRemoveEventObserver(214,5558 + def test_cleanUpRemoveXPathObserver(229,6000 + def test_cleanUpOnetimeEventObserver(245,6458 + def test_cleanUpOnetimeXPathObserver(259,6847 + def test_observerRaisingException(274,7256 + class OrderedCallbackList(282,7528 + def __init__(283,7585 + class TestError(286,7665 + def raiseError(289,7719 +class XmlPipeTests(314,8434 + def setUp(319,8543 + def test_sendFromSource(323,8604 + def cb(327,8733 + def test_sendFromSink(337,9002 + def cb(341,9129 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabbersasl.py,1003 +class DummySASLMechanism(17,491 + def __init__(35,1018 + def getInitialResponse(38,1107 + def getResponse(41,1178 +class DummySASLInitiatingInitializer(46,1282 + def setMechanism(60,1747 +class SASLInitiatingInitializerTests(65,1844 + def setUp(70,1966 + def test_onFailure(83,2517 + def test_sendAuthInitialResponse(99,3185 + def test_sendAuthNoInitialResponse(112,3620 + def test_sendAuthEmptyInitialResponse(122,3896 + def test_onChallenge(132,4186 + def test_onChallengeResponse(145,4597 + def test_onChallengeEmpty(160,5119 + def test_onChallengeIllegalPadding(172,5480 + def test_onChallengeIllegalCharacters(184,5883 + def test_onChallengeMalformed(196,6292 +class SASLInitiatingInitializerSetMechanismTests(208,6663 + def setUp(213,6810 + def _setMechanism(227,7359 + def test_anonymous(239,7761 + def test_plain(250,8066 + def test_digest(261,8368 + def test_notAcceptable(272,8681 + def test_notAcceptableWithoutUser(284,9049 + +venv/lib/python2.7/site-packages/twisted/words/test/test_basechat.py,204 +class ChatUITests(12,210 + def setUp(16,314 + def test_contactChangedNickNoKey(23,601 + def test_contactChangedNickNoConversation(37,1145 + def test_contactChangedNickHasConversation(52,1696 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabberjid.py,963 +class JIDParsingTests(13,257 + def test_parse(14,299 + def test_noHost(42,1486 + def test_doubleAt(48,1645 + def test_multipleAt(57,1912 + def test_prepCaseMapUser(69,2322 + def test_prepCaseMapHost(76,2557 + def test_prepNoCaseMapResource(83,2792 +class JIDTests(92,3166 + def test_noneArguments(94,3202 + def test_attributes(100,3368 + def test_userhost(109,3661 + def test_userhostOnlyHost(116,3854 + def test_userhostJID(123,4076 + def test_userhostJIDNoResource(131,4318 + def test_fullHost(138,4545 + def test_fullHostResource(145,4768 + def test_fullUserHost(152,5012 + def test_fullAll(159,5240 + def test_equality(166,5462 + def test_equalityWithNonJIDs(175,5702 + def test_inequality(182,5888 + def test_inequalityWithNonJIDs(190,6097 + def test_hashable(197,6286 + def test_unicode(205,6501 + def test_repr(212,6715 +class InternJIDTests(219,6940 + def test_identity(220,6981 + +venv/lib/python2.7/site-packages/twisted/words/test/test_domish.py,2354 +class ElementTests(18,421 + def test_interface(23,510 + def test_escaping(30,693 + def test_namespace(39,978 + def test_elementInit(47,1195 + def test_childOps(75,2123 + def test_characterData(109,3186 + def test_characterDataNativeString(121,3517 + def test_characterDataUnicode(133,3853 + def test_characterDataBytes(145,4191 + def test_characterDataMixed(157,4546 + def test_addContent(168,4893 + def test_addContentNativeStringASCII(177,5173 + def test_addContentBytes(186,5472 + def test_addContentBytesNonASCII(197,5858 + def test_addElementContent(208,6267 + def test_elements(217,6570 + def test_elementsWithQN(236,7137 +class DomishStreamTestsMixin:DomishStreamTestsMixin256,7745 + def setUp(264,8023 + def _docStarted(274,8370 + def _docEnded(278,8461 + def doTest(281,8517 + def testHarness(284,8576 + def testBasic(293,8943 + def testNoRootNS(309,9652 + def testNoDefaultNS(316,9872 + def testChildDefaultNS(325,10225 + def testEmptyChildNS(332,10453 + def test_namespaceWithWhitespace(341,10702 + def testChildPrefix(353,11140 + def testUnclosedElement(360,11408 + def test_namespaceReuse(364,11580 +class DomishExpatStreamTests(391,12679 +class DomishSuxStreamTests(405,13063 +class SerializerTests(414,13301 + def testNoNamespace(415,13343 + def testDefaultNamespace(420,13524 + def testOtherNamespace(424,13668 + def testChildDefaultNamespace(429,13888 + def testChildSameNamespace(434,14076 + def testChildSameDefaultNamespace(439,14273 + def testChildOtherDefaultNamespace(444,14475 + def testOnlyChildDefaultNamespace(449,14708 + def testOnlyChildDefaultNamespace2(454,14909 + def testChildInDefaultNamespace(459,15083 + def testQualifiedAttribute(464,15325 + def testQualifiedAttributeDefaultNS(469,15552 + def testTwoChilds(474,15805 + def testXMLNamespace(482,16286 + def testQualifiedAttributeGivenListOfPrefixes(488,16561 + def testNSPrefix(494,16851 + def testDefaultNSPrefix(502,17183 + def testPrefixScope(511,17569 + def testLocalPrefixes(518,17809 + def testLocalPrefixesWithChild(522,17991 + def test_prefixesReuse(528,18278 + def testRawXMLSerialization(552,19279 + def testRawXMLWithUnicodeSerialization(560,19660 + def testUnicodeSerialization(565,19876 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabberxmppstringprep.py,286 +class DeprecationTests(11,211 + def test_crippled(15,341 +class XMPPStringPrepTests(32,1006 + def testResourcePrep(47,1764 + def testNodePrep(88,4393 + def test_nodeprepUnassignedInUnicode32(94,4613 + def testNamePrep(101,4830 + def test_nameprepTrailingDot(111,5355 + +venv/lib/python2.7/site-packages/twisted/words/test/test_xmlstream.py,935 +class XmlStreamTests(15,342 + def setUp(16,383 + def loseConnection(24,625 + def test_send(32,840 + def test_receiveRoot(42,1127 + def streamStartEvent(48,1287 + def test_receiveBadXML(58,1621 + def streamErrorEvent(65,1797 + def streamEndEvent(68,1875 + def test_streamEnd(87,2575 + def streamEndEvent(93,2708 +class DummyProtocol(107,3171 + def __init__(115,3469 +class BootstrapMixinTests(124,3643 + def setUp(131,3814 + def test_installBootstraps(135,3887 + def cb(141,4037 + def test_addAndRemoveBootstrap(152,4334 + def cb(159,4486 +class GenericXmlStreamFactoryTestsMixin(173,4837 + def setUp(178,4962 + def test_buildProtocolInstallsBootstraps(182,5037 + def cb(188,5214 + def test_buildProtocolStoresFactory(199,5462 +class XmlStreamFactoryMixinTests(208,5692 + def setUp(213,5828 + def test_buildProtocolFactoryArguments(218,5969 + +venv/lib/python2.7/site-packages/twisted/words/test/test_basesupport.py,411 +class DummyAccount(8,192 + def _startLogOn(16,392 + def _loginFailed(26,692 + def _cb_logOn(30,834 +class DummyUI(34,975 + def registerAccountClient(40,1123 +class ClientMsgTests(43,1207 + def makeUI(44,1248 + def makeAccount(47,1296 + def test_connect(50,1396 + def check(60,1701 + def test_failedConnect(68,1982 + def err(78,2299 + def test_alreadyConnecting(88,2753 + +venv/lib/python2.7/site-packages/twisted/words/test/test_jabbercomponent.py,1537 +class DummyTransport:DummyTransport19,531 + def __init__(20,553 + def write(23,609 +class ComponentInitiatingInitializerTests(26,670 + def setUp(27,732 + def testHandshake(43,1429 +class ComponentAuthTests(65,2041 + def authPassed(66,2086 + def testAuth(69,2154 +class ServiceTests(95,2979 + def test_interface(100,3071 +class JabberServiceHarness(109,3275 + def __init__(110,3322 + def componentConnected(115,3482 + def componentDisconnected(118,3571 + def transportConnected(121,3655 +class JabberServiceManagerTests(125,3745 + def testSM(126,3797 +class RouterTests(160,4800 + def test_addRoute(165,4890 + def test_route(183,5450 + def test_routeDefault(203,6150 +class ListenComponentAuthenticatorTests(227,7001 + def setUp(232,7135 + def loseConnection(239,7365 + def test_streamStarted(246,7528 + def addOnetimeObserver(252,7676 + def test_streamStartedWrongNamespace(271,8390 + def test_streamStartedNoTo(287,8985 + def test_onElement(302,9524 + def test_onElementNotHandshake(316,9951 + def test_onHandshake(333,10478 + def authenticated(339,10630 + def test_onHandshakeWrongHash(351,11026 + def authenticated(358,11200 +class XMPPComponentServerFactoryTests(373,11624 + def setUp(378,11754 + def test_makeConnection(386,12084 + def test_makeConnectionLogTraffic(398,12566 + def test_onError(409,12982 + class TestError(416,13221 + def test_connectionInitialized(424,13461 + def test_connectionLost(434,13855 + +venv/lib/python2.7/site-packages/twisted/words/test/test_tap.py,221 +class WordsTapTests(10,185 + def setUp(20,459 + def tearDown(30,696 + def test_hostname(37,811 + def test_passwd(46,1065 + def test_auth(55,1294 + def _loginTest(64,1522 + def _gotAvatar(76,2011 + +venv/lib/python2.7/site-packages/twisted/words/im/baseaccount.py,285 +class AccountManager:AccountManager9,96 + def __init__(18,427 + def getSnapShot(21,479 + def isEmpty(34,952 + def getConnectionInfo(37,1015 + def addAccount(43,1208 + def delAccount(46,1297 + def connect(49,1376 + def disconnect(55,1553 + def quit(59,1674 + +venv/lib/python2.7/site-packages/twisted/words/im/interfaces.py,1464 +class IAccount(21,571 + def __init__(29,848 + def isOnline(40,1202 + def logOn(47,1293 + def logOff(56,1475 + def getGroup(61,1536 + def getPerson(66,1623 +class IClient(73,1716 + def __init__(77,1805 + def joinGroup(85,2093 + def leaveGroup(91,2237 + def getGroupConversation(97,2383 + def getPerson(101,2442 +class IPerson(106,2483 + def __init__(108,2510 + def isOnline(119,2767 + def getStatus(127,2869 + def getIdleTime(135,2990 + def sendMessage(141,3089 +class IGroup(151,3254 + def __init__(162,3589 + def setTopic(173,3853 + def sendGroupMessage(181,3976 + def join(195,4316 + def leave(201,4383 +class IConversation(208,4454 + def __init__(213,4546 + def show(219,4639 + def hide(225,4737 + def sendText(231,4805 + def showMessage(235,4854 + def changedNick(239,4906 +class IGroupConversation(246,5044 + def show(248,5082 + def hide(254,5180 + def sendText(260,5248 + def showGroupMessage(264,5297 + def setGroupMembers(268,5362 + def setTopic(274,5497 + def memberJoined(283,5713 + def memberChangedNick(292,5936 + def memberLeft(302,6198 +class IChatUI(312,6431 + def registerAccountClient(314,6458 + def unregisterAccountClient(322,6626 + def getContactsList(330,6810 + def getConversation(338,7014 + def getGroupConversation(351,7425 + def getPerson(364,7889 + def getGroup(377,8131 + def contactChangedNick(390,8368 + +venv/lib/python2.7/site-packages/twisted/words/im/basechat.py,1115 +class ContactsList:ContactsList12,246 + def __init__(31,893 + def setContactStatus(42,1177 + def registerAccountClient(59,1840 + def unregisterAccountClient(70,2202 + def contactChangedNick(83,2604 +class Conversation:Conversation106,3357 + def __init__(116,3684 + def show(128,4057 + def hide(135,4218 + def sendText(142,4376 + def showMessage(152,4612 + def contactChangedNick(165,5006 +class GroupConversation:GroupConversation179,5365 + def __init__(192,5798 + def show(205,6192 + def hide(212,6358 + def sendText(219,6521 + def showGroupMessage(229,6722 + def setGroupMembers(245,7213 + def setTopic(255,7474 + def memberJoined(269,7873 + def memberChangedNick(281,8227 + def memberLeft(297,8681 +class ChatUI:ChatUI310,9041 + def __init__(336,10082 + def registerAccountClient(345,10307 + def unregisterAccountClient(360,10842 + def getContactsList(372,11249 + def getConversation(382,11505 + def getGroupConversation(412,12630 + def getPerson(443,13820 + def getGroup(466,14597 + def contactChangedNick(492,15540 + +venv/lib/python2.7/site-packages/twisted/words/im/locals.py,147 +class Enum:Enum5,74 + def __init__(8,104 + def __repr__(11,163 + def __str__(14,241 +class StatusEnum(18,292 +class OfflineError(25,409 + +venv/lib/python2.7/site-packages/twisted/words/im/basesupport.py,985 +class AbstractGroup:AbstractGroup22,488 + def __init__(23,509 + def getGroupCommands(27,605 + def getTargetCommands(35,841 + def join(46,1244 + def leave(51,1381 + def __repr__(56,1520 + def __str__(59,1600 +class AbstractPerson:AbstractPerson62,1687 + def __init__(63,1709 + def getPersonCommands(68,1843 + def getIdleTime(76,2083 + def __repr__(82,2181 + def __str__(85,2277 +class AbstractClientMixin:AbstractClientMixin88,2364 + def __init__(95,2552 + def connectionMade(106,2902 + def connectionLost(109,2978 + def unregisterAsAccountClient(114,3165 +class AbstractAccount(120,3322 + def __init__(155,4325 + def upgrateToVersion2(166,4650 + def __getstate__(172,4838 + def isOnline(181,5095 + def logOn(184,5150 + def getGroup(207,6059 + def getPerson(219,6388 + def _startLogOn(231,6728 + def _cb_logOn(240,6938 + def _loginFailed(246,7081 + def _clientLost(258,7396 + def __repr__(264,7547 + +venv/lib/python2.7/site-packages/twisted/words/im/ircsupport.py,1053 +class IRCPerson(16,400 + def imperson_whois(18,446 + def isOnline(25,640 + def getStatus(29,688 + def setStatus(33,737 + def sendMessage(38,857 +class IRCGroup(51,1296 + def imgroup_testAction(52,1339 + def imtarget_kick(56,1388 + def setTopic(65,1680 + def sendGroupMessage(71,1843 + def leave(83,2330 +class IRCProto(91,2539 + def __init__(92,2603 + def getGroupConversation(101,2904 + def getPerson(107,3125 + def connectionMade(111,3204 + def setNick(132,3888 + def kickedFrom(138,4023 + def userKicked(146,4250 + def noticed(150,4325 + def privmsg(154,4451 + def action(166,4916 + def irc_RPL_NAMREPLY(177,5323 + def irc_RPL_ENDOFNAMES(198,6026 + def irc_RPL_TOPIC(204,6238 + def irc_333(208,6329 + def irc_TOPIC(214,6509 + def irc_JOIN(221,6712 + def irc_PART(232,7075 + def irc_QUIT(241,7404 + def irc_NICK(249,7684 + def irc_unknown(260,8078 + def joinGroup(265,8163 +class IRCAccount(272,8294 + def __init__(278,8427 + def _startLogOn(287,8833 + +venv/lib/python2.7/site-packages/twisted/words/im/pbsupport.py,1329 +class TwistedWordsPerson(23,499 + def __init__(26,641 + def isOnline(30,786 + def getStatus(34,893 + def sendMessage(37,946 + def metadataFailed(48,1389 + def setStatus(52,1557 +class TwistedWordsGroup(57,1711 + def __init__(58,1763 + def sendGroupMessage(62,1899 + def setTopic(75,2453 + def metadataFailed(81,2654 + def joining(86,2893 + def leaving(89,2941 + def leave(92,2989 +class TwistedWordsClient(98,3154 + def __init__(102,3385 + def getPerson(111,3790 + def getGroup(114,3869 + def getGroupConversation(117,3946 + def addContact(120,4056 + def remote_receiveGroupMembers(123,4145 + def remote_receiveGroupMessage(127,4321 + def remote_memberJoined(131,4564 + def remote_memberLeft(135,4723 + def remote_notifyStatusChanged(139,4861 + def remote_receiveDirectMessage(142,4976 + def remote_receiveContactList(145,5148 + def remote_setGroupMetadata(149,5294 + def joinGroup(153,5488 + def leaveGroup(157,5659 + def _cbGroupJoined(161,5830 + def _cbGroupLeft(166,6064 + def connected(171,6263 +class PBAccount(186,6650 + def __init__(191,6798 + def logOn(206,7487 + def registerMany(218,8053 + def _startLogOn(231,8489 + def _cbConnected(238,8739 + def _cbIdent(246,9036 + def _ebConnected(259,9587 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/ijabber.py,627 +class IInitializer(10,157 +class IInitiatingInitializer(20,363 + def initialize(27,553 +class IIQResponseTracker(36,723 +class IXMPPHandler(58,1586 + def setHandlerParent(69,1928 + def disownHandlerParent(77,2076 + def makeConnection(85,2230 + def connectionMade(100,2637 + def connectionInitialized(110,2933 + def connectionLost(120,3240 +class IXMPPHandlerCollection(132,3524 + def __iter__(139,3669 + def addHandler(145,3764 + def removeHandler(153,3888 +class IService(162,4019 + def componentConnected(170,4268 + def componentDisconnected(183,4693 + def transportConnected(192,4956 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/xmlstream.py,2558 +def hashPassword(57,1792 +class Authenticator:Authenticator75,2377 + def __init__(98,3246 + def connectionMade(102,3302 + def streamStarted(116,3729 + def associateWithStream(144,4828 +class ConnectAuthenticator(162,5336 + def __init__(169,5461 + def connectionMade(173,5533 + def initializeStream(179,5718 + def remove_first(195,6441 + def do_next(200,6550 + def streamStarted(227,7367 + def onFeatures(245,8049 +class ListenAuthenticator(261,8574 + def associateWithStream(268,8697 + def streamStarted(279,9049 +class FeatureNotAdvertized(301,9781 +class BaseFeatureInitiatingInitializer(310,9991 + def __init__(327,10522 + def initialize(331,10580 + def start(350,11164 +class TLSError(359,11317 +class TLSFailed(366,11387 +class TLSRequired(373,11481 +class TLSNotSupported(383,11718 +class TLSInitiatingInitializer(393,11956 + def onProceed(411,12636 + def onFailure(424,13014 + def start(429,13156 +class XmlStream(463,14400 + def __init__(504,16056 + def _callLater(516,16372 + def reset(521,16512 + def onStreamError(533,16866 + def sendHeader(548,17384 + def sendFooter(577,18282 + def sendStreamError(584,18400 + def send(607,19047 + def connectionMade(624,19701 + def onDocumentStart(634,19961 +class XmlStreamFactory(665,21232 + def __init__(676,21551 +class XmlStreamServerFactory(682,21701 + def __init__(695,22132 + def buildProtocol(700,22285 +class TimeoutError(715,22716 +def upgradeWithIQResponseTracker(723,22860 + def callback(732,23213 + def disconnected(752,23706 +class IQ(774,24455 + def __init__(790,24961 + def send(804,25405 + def onTimeout(827,26202 + def cancelTimeout(833,26415 +def toResponse(846,26647 +class XMPPHandler(881,27651 + def __init__(889,27874 + def setHandlerParent(894,27957 + def disownHandlerParent(899,28065 + def makeConnection(904,28177 + def connectionMade(909,28271 + def connectionInitialized(917,28456 + def connectionLost(926,28703 + def send(936,28931 +class XMPPHandlerCollection(956,29740 + def __init__(968,30096 + def __iter__(972,30149 + def addHandler(979,30275 + def removeHandler(988,30480 +class StreamManager(996,30616 + def __init__(1019,31508 + def addHandler(1032,31989 + def _connected(1048,32524 + def logDataIn(1056,32822 + def logDataOut(1059,32889 + def _authd(1072,33153 + def initializationFailed(1091,33662 + def _disconnected(1105,34154 + def send(1122,34675 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/sasl_mechanisms.py,579 +class ISASLMechanism(20,456 + def getInitialResponse(23,554 + def getResponse(32,756 +class Anonymous(45,1028 + def getInitialResponse(53,1197 +class Plain(59,1283 + def __init__(67,1465 + def getInitialResponse(84,1920 +class DigestMD5(92,2147 + def __init__(100,2348 + def getInitialResponse(130,3424 + def getResponse(134,3480 + def _parse(154,4064 + def _unparse(198,5503 + def _calculateResponse(223,6326 + def H(232,6664 + def HEX(235,6718 + def KD(238,6778 + def _genResponse(252,7175 + def _gen_nonce(290,8518 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/jid.py,349 +class InvalidFormat(17,576 +def parse(22,704 +def prep(68,2233 +def internJID(110,3345 +class JID(124,3597 + def __init__(132,3765 + def userhost(146,4169 + def userhostJID(160,4526 + def full(178,5078 + def __eq__(195,5563 + def __ne__(210,6065 + def __hash__(223,6407 + def __unicode__(233,6768 + def __repr__(246,7025 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/sasl.py,476 +def get_mechanisms(19,447 +class SASLError(31,762 +class SASLNoAcceptableMechanism(37,833 +class SASLAuthError(43,956 + def __init__(47,1036 + def __str__(51,1113 +class SASLIncorrectEncodingError(55,1204 +def fromBase64(76,2108 +class SASLInitiatingInitializer(97,2762 + def setMechanism(111,3356 + def start(140,4507 + def sendAuth(154,4965 + def sendResponse(172,5489 + def onChallenge(186,5843 + def onSuccess(202,6296 + def onFailure(218,6849 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/component.py,1316 +def componentFactory(33,1246 +class ComponentInitiatingInitializer(45,1644 + def __init__(54,1907 + def initialize(58,1994 + def _cbHandshake(72,2485 +class ConnectComponentAuthenticator(80,2739 + def __init__(88,3027 + def associateWithStream(100,3491 +class ListenComponentAuthenticator(108,3694 + def __init__(120,4011 + def associateWithStream(125,4127 + def streamStarted(136,4466 + def onElement(164,5497 + def onHandshake(180,6086 +class Service(202,6967 + def componentConnected(207,7060 + def componentDisconnected(210,7112 + def transportConnected(213,7163 + def send(216,7215 +class ServiceManager(234,7966 + def __init__(244,8369 + def getFactory(271,9440 + def _connected(274,9498 + def _authd(280,9668 + def _disconnected(291,10020 + def send(300,10281 +def buildServiceManager(317,10838 +class Router(330,11146 + def __init__(351,11899 + def addRoute(355,11950 + def removeRoute(373,12625 + def route(387,13080 +class XMPPComponentServerFactory(405,13524 + def __init__(418,13848 + def authenticatorFactory(422,13956 + def onConnectionMade(434,14372 + def logDataIn(443,14604 + def logDataOut(446,14689 + def onAuthenticated(456,14953 + def onError(470,15416 + def onConnectionLost(474,15489 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/xmpp_stringprep.py,804 +class ILookupTable(29,636 + def lookup(34,728 +class IMappingTable(41,825 + def map(46,919 +class LookupTableFromFunction:LookupTableFromFunction54,1027 + def __init__(56,1059 +class LookupTable:LookupTable62,1172 + def __init__(64,1192 + def lookup(67,1252 +class MappingTableFromFunction:MappingTableFromFunction73,1340 + def __init__(75,1373 +class EmptyMappingTable:EmptyMappingTable81,1486 + def __init__(83,1512 + def map(86,1608 +class Profile:Profile94,1731 + def __init__(95,1746 + def prepare(103,2082 + def map(114,2453 + def check_prohibiteds(130,2808 + def check_unassigneds(136,3027 + def check_bidirectionals(141,3209 +class NamePrep:NamePrep159,3821 + def prepare(188,5162 + def check_prohibiteds(204,5532 + def nameprep(209,5704 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/client.py,901 +def basicClientFactory(21,754 +class IQ(25,873 + def __init__(37,1312 + def addCallback(52,1793 + def send(59,2007 + def _resultEvent(75,2614 +class IQAuthInitializer(81,2715 + def __init__(101,3427 + def initialize(105,3485 + def _cbAuthQuery(117,3860 + def _ebAuthQuery(139,4682 + def _cbAuth(150,5010 + def _ebAuth(154,5052 +class BasicAuthenticator(161,5228 + def __init__(200,6883 + def associateWithStream(205,7043 + def registerAccount(220,7513 + def _registerResultEvent(235,7990 +class CheckVersionInitializer(245,8275 + def __init__(250,8411 + def initialize(254,8469 +class BindInitializer(260,8601 + def start(270,8908 + def onBind(281,9247 +class SessionInitializer(287,9369 + def start(298,9694 +def XMPPClientFactory(305,9844 +class XMPPAuthenticator(327,10526 + def __init__(363,12301 + def associateWithStream(369,12462 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/error.py,374 +class BaseError(66,2681 + def __init__(89,3586 + def __str__(97,3835 + def getElement(107,4076 +class StreamError(129,4745 + def getElement(138,4933 +class StanzaError(155,5357 + def __init__(171,5849 + def getElement(191,6397 + def toResponse(208,6853 +def _parseError(236,7956 +def exceptionFromStreamError(274,9071 +def exceptionFromStanza(294,9588 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/jstrports.py,85 +def _parseTCPSSL(13,323 +def _parseUNIX(17,475 +def parse(26,648 +def client(30,791 + +venv/lib/python2.7/site-packages/twisted/words/protocols/irc.py,7773 +class IRCBadMessage(62,1785 +class IRCPasswordMismatch(65,1827 +class IRCBadModes(70,1877 +def parsemsg(77,2005 +def split(105,2624 +def _intOrDefault(126,3164 +class UnhandledCommand(143,3551 +class _CommandDispatcherMixin(150,3682 + def dispatch(166,4237 + def _getMethodName(170,4346 + def _getMethod(173,4436 +def parseModes(189,4851 +class IRC(248,6701 + def connectionMade(258,6847 + def sendLine(264,6985 + def sendMessage(272,7234 + def sendCommand(303,8482 + def _stringTags(349,10266 + def _validateTags(368,10787 + def _escapeTagValue(383,11293 + def dataReceived(402,11856 + def handleCommand(429,12818 + def irc_unknown(454,13599 + def privmsg(463,13890 + def notice(481,14525 + def action(503,15370 + def topic(521,15991 + def topicAuthor(550,17110 + def names(576,18034 + def who(612,19327 + def whois(641,20611 + def join(695,22894 + def part(709,23308 + def channelMode(730,23989 +class ServerSupportedFeatures(751,24684 + def __init__(762,25024 + def _splitParamArgs(777,25645 + def _parse(800,26365 + def _unescapeParamValue(810,26625 + def _unescape(819,26871 + def _splitParam(837,27427 + def _parsePrefixParam(853,27807 + def _parseChanModesParam(876,28650 + def getFeature(891,29210 + def hasFeature(910,29720 + def parse(919,29915 + def isupport_unknown(937,30513 + def isupport_CHANLIMIT(944,30653 + def isupport_CHANMODES(951,30845 + def isupport_CHANNELLEN(975,31622 + def isupport_CHANTYPES(982,31824 + def isupport_EXCEPTS(989,31956 + def isupport_IDCHAN(999,32202 + def isupport_INVEX(1009,32448 + def isupport_KICKLEN(1019,32695 + def isupport_MAXLIST(1026,32864 + def isupport_MODES(1035,33142 + def isupport_NETWORK(1043,33364 + def isupport_NICKLEN(1050,33481 + def isupport_PREFIX(1057,33672 + def isupport_SAFELIST(1067,33947 + def isupport_STATUSMSG(1075,34169 + def isupport_TARGMAX(1083,34371 + def isupport_TOPICLEN(1091,34597 +class IRCClient(1099,34756 + def _reallySendLine(1220,39184 + def sendLine(1227,39437 + def _sendLine(1235,39665 + def connectionLost(1244,39957 + def _createHeartbeat(1249,40082 + def _sendHeartbeat(1256,40238 + def stopHeartbeat(1263,40414 + def startHeartbeat(1275,40691 + def created(1296,41296 + def yourHost(1304,41540 + def myInfo(1312,41786 + def luserClient(1329,42301 + def bounce(1338,42586 + def isupport(1347,42837 + def luserChannels(1356,43126 + def luserOp(1363,43289 + def luserMe(1370,43432 + def privmsg(1381,43733 + def joined(1387,43887 + def left(1395,44087 + def noticed(1404,44281 + def modeChanged(1419,44862 + def pong(1446,45939 + def signedOn(1452,46063 + def kickedFrom(1458,46185 + def nickChanged(1464,46323 + def userJoined(1473,46516 + def userLeft(1479,46653 + def userQuit(1485,46788 + def userKicked(1491,46937 + def action(1497,47107 + def topicUpdated(1503,47253 + def userRenamed(1511,47451 + def receivedMOTD(1519,47631 + def join(1535,48078 + def leave(1552,48633 + def kick(1569,49193 + def invite(1591,49916 + def topic(1607,50339 + def mode(1630,51209 + def say(1665,52510 + def _safeMaximumLineLength(1687,53449 + def msg(1710,54395 + def notice(1746,55669 + def away(1761,56081 + def back(1771,56304 + def whois(1779,56442 + def register(1794,56850 + def setNick(1813,57545 + def quit(1824,57807 + def describe(1837,58118 + def ping(1854,58574 + def dccSend(1878,59402 + def dccResume(1892,59989 + def dccAcceptResume(1900,60220 + def irc_ERR_NICKNAMEINUSE(1911,60602 + def alterCollidedNick(1920,60891 + def irc_ERR_ERRONEUSNICKNAME(1934,61351 + def irc_ERR_PASSWDMISMATCH(1949,61900 + def irc_RPL_WELCOME(1956,62082 + def irc_JOIN(1967,62382 + def irc_PART(1978,62680 + def irc_QUIT(1989,62974 + def irc_MODE(1997,63152 + def irc_PING(2028,64219 + def irc_PRIVMSG(2034,64370 + def irc_NOTICE(2058,64973 + def irc_NICK(2078,65469 + def irc_KICK(2088,65758 + def irc_TOPIC(2102,66201 + def irc_RPL_TOPIC(2111,66457 + def irc_RPL_NOTOPIC(2121,66778 + def irc_RPL_MOTDSTART(2127,66963 + def irc_RPL_MOTD(2132,67126 + def irc_RPL_ENDOFMOTD(2140,67346 + def irc_RPL_CREATED(2150,67641 + def irc_RPL_YOURHOST(2153,67721 + def irc_RPL_MYINFO(2156,67803 + def irc_RPL_BOUNCE(2162,67976 + def irc_RPL_ISUPPORT(2165,68054 + def irc_RPL_LUSERCLIENT(2174,68470 + def irc_RPL_LUSEROP(2177,68558 + def irc_RPL_LUSERCHANNELS(2183,68704 + def irc_RPL_LUSERME(2189,68862 + def irc_unknown(2192,68942 + def ctcpQuery(2199,69101 + def ctcpUnknownQuery(2217,69728 + def ctcpQuery_ACTION(2227,70038 + def ctcpQuery_PING(2230,70133 + def ctcpQuery_FINGER(2234,70270 + def ctcpQuery_VERSION(2249,70751 + def ctcpQuery_SOURCE(2261,71276 + def ctcpQuery_USERINFO(2274,71984 + def ctcpQuery_CLIENTINFO(2282,72325 + def ctcpQuery_ERRMSG(2313,73627 + def ctcpQuery_TIME(2320,73963 + def ctcpQuery_DCC(2329,74350 + def dcc_SEND(2360,75379 + def dcc_ACCEPT(2385,76133 + def dcc_RESUME(2400,76580 + def dcc_CHAT(2415,77021 + def dccDoSend(2433,77628 + def dccDoResume(2460,78489 + def dccDoAcceptResume(2482,79246 + def dccDoChat(2504,79943 + def ctcpMakeReply(2518,80394 + def ctcpMakeQuery(2529,80750 + def ctcpReply(2541,81209 + def ctcpReply_PING(2552,81580 + def ctcpUnknownReply(2561,81917 + def badMessage(2587,82709 + def quirkyMessage(2609,83416 + def connectionMade(2621,83698 + def dataReceived(2627,83876 + def lineReceived(2634,84082 + def getUserModeParams(2649,84602 + def getChannelModeParams(2659,84817 + def handleCommand(2681,85568 + def __getstate__(2706,86349 +def dccParseAddress(2713,86497 +class DccFileReceiveBasic(2732,86999 + def __init__(2746,87445 + def dataReceived(2755,87765 +class DccSendProtocol(2767,88183 + def __init__(2797,89047 + def connectionMade(2801,89148 + def dataReceived(2805,89231 + def sendBlock(2824,89988 + def connectionLost(2834,90320 +class DccSendFactory(2840,90457 + def __init__(2842,90528 + def buildProtocol(2845,90584 +def fileSize(2851,90706 +class DccChat(2895,91759 + def __init__(2916,92512 + def dataReceived(2933,93090 + def lineReceived(2945,93456 +class DccChatFactory(2951,93656 + def __init__(2954,93739 + def buildProtocol(2959,93848 + def clientConnectionFailed(2965,93999 + def clientConnectionLost(2968,94117 +def dccDescribe(2972,94234 +class DccFileReceive(3028,95569 + def __init__(3073,97231 + def set_directory(3085,97658 + def set_filename(3108,98595 + def set_overwrite(3119,98893 + def connectionMade(3132,99211 + def dataReceived(3156,100244 + def connectionLost(3162,100412 + def __str__(3192,101550 + def __repr__(3202,101892 +class _CharacterAttributes(3226,102532 +class _FormattingState(3295,104234 + def __init__(3313,104663 + def toMIRCControlCodes(3323,104998 +def _foldr(3349,105847 +class _FormattingParser(3367,106269 + def __init__(3412,107736 + def process(3421,107934 + def complete(3431,108131 + def emit(3443,108426 + def state_TEXT(3462,109032 + def state_COLOR_FOREGROUND(3487,109791 + def state_COLOR_BACKGROUND(3524,111300 +def parseFormattedText(3552,112282 +def assembleFormattedText(3572,112720 +def stripFormatting(3629,114218 +def ctcpExtract(3651,114690 +def lowQuote(3709,116146 +def lowDequote(3714,116255 + def sub(3715,116274 +def ctcpQuote(3739,116748 +def ctcpDequote(3744,116854 + def sub(3745,116874 +def ctcpStringify(3755,117100 + +venv/lib/python2.7/site-packages/twisted/words/xish/xpathparser.py,1087 +class SyntaxError(51,1559 + def __init__(53,1666 + def __str__(59,1842 +class NoMoreTokens(63,1983 +class Token(67,2090 + def __init__(73,2186 + def __repr__(79,2342 +class Scanner(93,2762 + def __init__(105,3221 + def stack_input(152,4773 + def get_pos(183,5845 + def print_line_with_pointer(196,6207 + def grab_input(258,8079 + def getchar(276,8692 + def token(284,8856 + def peek(351,11342 + def scan(364,11912 +class Parser(381,12608 + def __init__(386,12687 + def _stack(389,12753 + def _peek(394,12941 + def _scan(399,13164 +class Context(403,13312 + def __init__(411,13506 + def __str__(428,13994 +def print_error(434,14146 +def wrap_error_reporter(461,15080 +class XPathParserScanner(477,15666 + def __init__(501,16618 +class XPathParser(504,16725 + def XPATH(506,16774 + def PATH(516,17215 + def PREDICATE(539,18255 + def EXPR(549,18686 + def BOOLOP(559,19102 + def FACTOR(569,19501 + def TERM(581,19985 + def VALUE(591,20404 + def CMP(615,21620 + def STR(625,22018 +def parse(636,22417 + +venv/lib/python2.7/site-packages/twisted/words/xish/xmlstream.py,684 +class XmlStream(46,1563 + def __init__(54,1952 + def _initializeStream(60,2116 + def connectionMade(73,2584 + def dataReceived(82,2897 + def connectionLost(98,3503 + def onDocumentStart(112,3905 + def onElement(119,4136 + def onDocumentEnd(127,4354 + def setDispatchFn(134,4591 + def resetDispatchFn(138,4720 + def send(142,4878 +class BootstrapMixin(171,5767 + def __init__(190,6518 + def installBootstraps(194,6573 + def addBootstrap(205,6903 + def removeBootstrap(216,7223 +class XmlStreamFactoryMixin(228,7547 + def __init__(241,7998 + def buildProtocol(247,8133 +class XmlStreamFactory(261,8515 + def buildProtocol(269,8733 + +venv/lib/python2.7/site-packages/twisted/words/xish/domish.py,1970 +def _splitPrefix(20,614 +class _ListSerializer:_ListSerializer34,1050 + def __init__(36,1147 + def getValue(45,1475 + def getPrefix(48,1540 + def prefixInScope(54,1761 + def serialize(61,1980 +def escapeToXml(155,4956 +def unescapeFromXml(173,5518 +def generateOnlyInterface(181,5753 +def generateElementsQNamed(188,5910 +def generateElementsNamed(194,6138 +class SerializedXML(202,6359 +class Namespace:Namespace207,6460 + def __init__(209,6545 + def __getattr__(211,6598 + def __getitem__(213,6658 +class IElement(216,6719 + def toXml(233,7354 + def addElement(261,8498 + def addChild(285,9423 + def addContent(299,9956 +class Element(313,10349 + def __init__(414,14593 + def __getattr__(436,15507 + def __getitem__(449,15972 + def __delitem__(452,16052 + def __setitem__(455,16130 + def __unicode__(458,16218 + def __bytes__(467,16436 + def _dqa(478,16676 + def getAttribute(485,16873 + def hasAttribute(489,17049 + def compareAttribute(493,17198 + def swapAttributeValues(500,17429 + def addChild(507,17624 + def addContent(514,17824 + def addElement(524,18121 + def addRawXml(541,18608 + def addUniqueId(545,18784 + def elements(553,19036 + def toXml(573,19772 + def firstChildElement(580,20135 +class ParserError(587,20286 +def elementStream(591,20383 + class SuxElementStream(610,20853 + def __init__(611,20896 + def parse(622,21258 + def findUri(629,21434 + def gotTagStart(638,21789 + def gotText(701,24033 + def gotCData(707,24244 + def gotComment(713,24456 + def gotEntityReference(723,24728 + def gotTagEnd(732,25137 +class ExpatElementStream:ExpatElementStream777,26886 + def __init__(778,26912 + def parse(795,27607 + def _onStartElement(801,27758 + def _onEndElement(832,28806 + def _onCdata(848,29313 + def _onStartNamespace(852,29421 + def _onEndNamespace(860,29672 + +venv/lib/python2.7/site-packages/twisted/words/xish/utility.py,585 +class _MethodWrapper(16,348 + def __init__(20,440 + def __call__(26,574 +class CallbackList:CallbackList34,758 + def __init__(56,1778 + def addCallback(60,1832 + def removeCallback(80,2519 + def callback(91,2737 + def isEmpty(118,3626 +class EventDispatcher:EventDispatcher129,3799 + def __init__(170,5744 + def _getEventAndObservers(179,6081 + def addOnetimeObserver(195,6583 + def addObserver(205,6941 + def _addObserver(229,8134 + def removeObserver(252,9028 + def dispatch(284,10224 +class XmlPipe(343,12076 + def __init__(371,13254 + +venv/lib/python2.7/site-packages/twisted/words/xish/xpath.py,1657 +class LiteralValue(20,431 + def value(21,460 +class IndexValue:IndexValue25,509 + def __init__(26,527 + def value(29,595 +class AttribValue:AttribValue33,665 + def __init__(34,684 + def value_ns(39,836 + def value(42,891 +class CompareValue:CompareValue49,1057 + def __init__(50,1077 + def _compareEqual(58,1289 + def _compareNotEqual(61,1385 +class BooleanValue:BooleanValue65,1485 + def __init__(75,1866 + def _booleanAnd(83,2072 + def _booleanOr(91,2345 +def Function(100,2616 +class _not_Function:_not_Function109,2792 + def __init__(110,2813 + def setParams(113,2868 + def value(116,2940 +class _text_Function:_text_Function120,3015 + def setParams(121,3037 + def value(124,3076 +class _Location:_Location128,3134 + def __init__(129,3151 + def matchesPredicates(134,3272 + def matches(144,3516 + def queryForString(157,3822 + def queryForNodes(167,4133 + def queryForStringList(177,4437 +class _AnyLocation:_AnyLocation190,4839 + def __init__(191,4859 + def matchesPredicates(196,4979 + def listParents(202,5129 + def isRootMatch(207,5298 + def findFirstRootMatch(218,5692 + def matches(243,6712 + def queryForString(256,7127 + def queryForNodes(260,7276 + def queryForStringList(270,7565 +class XPathQuery:XPathQuery279,7862 + def __init__(280,7880 + def __hash__(288,8278 + def matches(291,8343 + def queryForString(294,8420 + def queryForNodes(299,8573 + def queryForStringList(307,8776 +def internQuery(318,9014 +def matches(324,9198 +def queryForStringList(328,9276 +def queryForString(332,9376 +def queryForNodes(336,9468 + +venv/lib/python2.7/site-packages/twisted/words/service.py,4281 +class Group(46,1429 + def __init__(47,1450 + def _ebUserCall(56,1624 + def _cbUserCall(60,1711 + def add(67,1923 + def remove(81,2498 + def size(97,3030 + def receive(101,3098 + def setMetadata(113,3542 + def iterusers(124,3901 +class User(130,4020 + def __init__(134,4074 + def loggedIn(140,4190 + def join(146,4310 + def cbJoin(147,4337 + def leave(153,4487 + def cbLeave(154,4528 + def send(160,4691 + def itergroups(165,4831 + def logout(169,4892 +class IRCUser(178,5050 + def connectionMade(198,5557 + def connectionLost(204,5722 + def sendMessage(211,5902 + def userJoined(227,6446 + def userLeft(233,6600 + def receive(240,6801 + def groupMetaUpdate(257,7374 + def irc_PASS(272,7820 + def irc_NICK(286,8107 + def irc_USER(323,9122 + def irc_NICKSERV_PRIVMSG(335,9477 + def logInAs(358,10146 + def _cbLogin(390,11200 + def _ebLogin(403,11601 + def irc_PING(426,12344 + def irc_QUIT(436,12563 + def _channelMode(445,12722 + def _userMode(454,12979 + def irc_MODE(469,13410 + def ebGroup(488,14005 + def ebUser(499,14428 + def irc_USERHOST(511,14761 + def irc_PRIVMSG(522,14943 + def cbTarget(544,15695 + def ebTarget(548,15826 + def irc_JOIN(556,16024 + def cbGroup(575,16621 + def cbJoin(576,16649 + def ebGroup(585,16986 + def irc_PART(593,17208 + def cbGroup(619,17966 + def cbLeave(620,17994 + def ebGroup(624,18152 + def irc_NAMES(634,18441 + def cbGroup(656,19215 + def ebGroup(662,19388 + def irc_TOPIC(673,19672 + def _sendTopic(698,20350 + def _getTopic(710,20785 + def ebGroup(714,21027 + def _setTopic(723,21307 + def cbGroup(727,21467 + def ebSet(733,21669 + def ebGroup(741,21951 + def list(750,22223 + def irc_LIST(763,22686 + def cbGroups(801,24149 + def gotSize(802,24179 + def _channelWho(811,24543 + def _userWho(816,24732 + def irc_WHO(821,24862 + def ebGroup(851,26007 + def ebUser(859,26337 + def irc_WHOIS(869,26645 + def cbUser(875,26787 + def ebUser(883,27110 + def irc_OPER(905,27756 +class IRCFactory(914,27954 + def __init__(925,28312 +class PBMind(936,28582 + def __init__(937,28614 + def jellyFor(940,28652 + def remote_userJoined(946,28861 + def remote_userLeft(949,28921 + def remote_receive(952,28987 + def remote_groupMetaUpdate(955,29059 +class PBMindReference(960,29158 + def receive(961,29201 + def groupMetaUpdate(972,29584 + def userJoined(978,29763 + def userLeft(984,29965 +class PBGroup(993,30248 + def __init__(994,30281 + def processUniqueID(1000,30412 + def jellyFor(1004,30519 + def remote_leave(1014,30857 + def remote_send(1018,30953 +class PBGroupReference(1023,31072 + def unjellyFor(1024,31116 + def leave(1031,31419 + def send(1034,31502 +class PBUser(1038,31633 + def __init__(1039,31665 + def processUniqueID(1044,31792 +class ChatAvatar(1049,31931 + def __init__(1050,31967 + def jellyFor(1054,32030 + def remote_join(1061,32248 + def cbGroup(1062,32286 + def cbJoin(1063,32314 +class AvatarReference(1073,32670 + def join(1074,32713 + def quit(1077,32795 +class WordsRealm(1087,33080 + def __init__(1090,33131 + def userFactory(1094,33188 + def groupFactory(1098,33249 + def logoutFactory(1102,33312 + def logout(1103,33356 + def requestAvatar(1110,33541 + def gotAvatar(1114,33695 + def lookupUser(1134,34389 + def lookupGroup(1138,34457 + def addUser(1142,34527 + def addGroup(1160,35074 + def getGroup(1175,35501 + def ebGroup(1177,35569 + def getUser(1184,35795 + def ebUser(1186,35861 + def createUser(1193,36081 + def cbLookup(1194,36113 + def ebLookup(1196,36204 + def createGroup(1207,36474 + def cbLookup(1208,36507 + def ebLookup(1210,36600 +class InMemoryWordsRealm(1221,36874 + def __init__(1222,36912 + def itergroups(1228,37056 + def addUser(1232,37138 + def addGroup(1239,37348 + def lookupUser(1246,37567 + def lookupGroup(1256,37828 + +venv/lib/python2.7/site-packages/twisted/words/tap.py,128 +class Options(18,447 + def __init__(37,1120 + def opt_group(41,1230 + def opt_passwd(46,1383 +def makeService(54,1643 + +venv/lib/python2.7/site-packages/twisted/words/xmpproutertap.py,46 +class Options(10,267 +def makeService(23,571 + +venv/lib/python2.7/site-packages/twisted/words/iwords.py,713 +class IProtocolPlugin(8,168 + def getFactory(14,380 +class IGroup(25,786 + def add(28,873 + def remove(34,984 + def size(41,1145 + def receive(49,1404 + def setMetadata(70,2066 + def iterusers(76,2194 +class IChatClient(81,2287 + def receive(87,2511 + def groupMetaUpdate(108,3434 + def userJoined(119,3705 + def userLeft(130,3969 +class IUser(143,4297 + def loggedIn(154,4908 + def send(161,5159 + def join(168,5354 + def leave(175,5515 + def itergroups(182,5690 +class IChatService(189,5819 + def itergroups(200,6298 + def getGroup(207,6517 + def createGroup(219,6959 + def lookupGroup(230,7308 + def getUser(242,7676 + def createUser(254,8112 + +venv/lib/python2.7/site-packages/twisted/words/ewords.py,185 +class WordsError(8,158 + def __str__(9,187 +class NoSuchUser(12,283 +class DuplicateUser(16,324 +class NoSuchGroup(20,368 +class DuplicateGroup(24,410 +class AlreadyLoggedIn(28,455 + +venv/lib/python2.7/site-packages/twisted/names/test/test_resolve.py,129 +class ResolverChainTests(14,257 + def test_emptyResolversList(19,363 + def test_emptyResolversListLookupAllRecords(30,706 + +venv/lib/python2.7/site-packages/twisted/names/test/test_srvconnect.py,796 +class FakeResolver(26,689 + def __init__(39,1127 + def _lookup(44,1268 +class DummyFactory(56,1602 + def __init__(60,1733 + def clientConnectionFailed(63,1785 +class SRVConnectorTests(68,1874 + def setUp(73,1977 + def _randint(83,2354 + def test_interface(103,2891 + def test_SRVPresent(110,3057 + def test_SRVNotPresent(126,3725 + def test_SRVNoResult(138,4110 + def test_SRVNoResultUnknownServiceDefaultPort(150,4472 + def test_SRVNoResultUnknownServiceNoDefaultPort(167,5155 + def test_SRVBadResult(181,5699 + def test_SRVNoService(196,6295 + def test_SRVLookupName(212,6945 + def test_unicodeDomain(223,7284 + def test_pickServerWeights(234,7668 + def test_pickServerSamePriorities(268,8756 + def test_srvDifferentPriorities(287,9440 + +venv/lib/python2.7/site-packages/twisted/names/test/test_server.py,4322 +class RaisedArguments(19,442 + def __init__(23,555 +def raiser(29,650 +class NoResponseDNSServerFactory(39,894 + def allowQuery(48,1238 + def sendReply(62,1616 +class RaisingDNSServerFactory(73,1920 + class AllowQueryArguments(82,2206 + def allowQuery(87,2335 +class RaisingProtocol(103,2772 + class WriteMessageArguments(108,2923 + def writeMessage(113,3054 +class NoopProtocol(127,3359 + def writeMessage(131,3482 +class RaisingResolver(144,3757 + class QueryArguments(149,3908 + def query(155,4033 +class RaisingCache(169,4324 + class CacheResultArguments(174,4488 + def cacheResult(180,4619 +def assertLogMessage(194,4922 +class DNSServerFactoryTests(229,6054 + def test_resolverType(233,6160 + def test_resolverDefaultEmpty(243,6424 + def test_authorities(253,6692 + def test_caches(266,7137 + def test_clients(279,7566 + def test_resolverOrder(292,7998 + class DummyAuthority(298,8248 + class DummyCache(301,8304 + class DummyClient(304,8356 + def test_cacheDefault(315,8671 + def test_cacheOverride(322,8853 + def test_canRecurseDefault(333,9211 + def test_canRecurseOverride(342,9511 + def test_verboseDefault(351,9789 + def test_verboseOverride(358,9975 + def test_interface(366,10242 + def test_defaultProtocol(373,10445 + def test_buildProtocolProtocolOverride(380,10656 + class FakeProtocol(386,10900 + def fakeProtocolFactory(393,11053 + def test_verboseLogQuiet(408,11443 + def test_verboseLogVerbose(422,11762 + def test_messageReceivedLoggingNoQuery(435,12082 + def test_messageReceivedLogging1(450,12568 + def test_messageReceivedLogging2(467,13156 + def test_messageReceivedTimestamp(485,13799 + def test_messageReceivedAllowQuery(499,14226 + def test_allowQueryFalse(519,14945 + class SendReplyException(525,15183 + class RaisingDNSServerFactory(528,15246 + def allowQuery(529,15310 + def sendReply(532,15391 + def _messageReceivedTest(545,15798 + def fakeHandler(563,16457 + def test_queryMessageReceived(573,16834 + def test_inverseQueryMessageReceived(582,17134 + def test_statusMessageReceived(591,17459 + def test_notifyMessageReceived(600,17764 + def test_updateMessageReceived(609,18069 + def test_connectionTracking(620,18448 + def test_handleQuery(638,19178 + def test_handleQueryCallback(658,19837 + class FakeResolver(669,20283 + def query(670,20319 + def fakeGotResolverResponse(675,20464 + def test_handleQueryErrback(694,21050 + class FakeResolver(705,21491 + def query(706,21527 + def fakeGotResolverError(711,21669 + def test_gotResolverResponse(730,22253 + def test_gotResolverResponseCallsResponseFromMessage(752,23040 + def test_responseFromMessageNewMessage(776,23810 + def test_responseFromMessageRecursionAvailable(788,24231 + def test_responseFromMessageTimeReceived(806,24910 + def test_responseFromMessageMaxSize(820,25418 + def test_messageFactory(834,25898 + def test_responseFromMessageCallsMessageFactory(842,26149 + def test_responseFromMessageAuthoritativeMessage(867,27069 + def test_gotResolverResponseLogging(883,27705 + def test_gotResolverResponseCaching(901,28309 + def test_gotResolverErrorCallsResponseFromMessage(927,29278 + def _assertMessageRcodeForError(950,30003 + def test_gotResolverErrorDomainError(977,31105 + def test_gotResolverErrorAuthoritativeDomainError(985,31409 + def test_gotResolverErrorOtherError(995,31773 + def test_gotResolverErrorLogging(1006,32178 + def test_gotResolverErrorResetsResponseAttributes(1019,32610 + def test_gotResolverResponseResetsResponseAttributes(1042,33531 + def test_sendReplyWithAddress(1067,34493 + def test_sendReplyWithoutAddress(1087,35149 + def test_sendReplyLoggingNoAnswers(1106,35755 + def test_sendReplyLoggingWithAnswers(1124,36343 + def test_handleInverseQuery(1149,37366 + def test_handleInverseQueryLogging(1164,37894 + def test_handleStatus(1179,38360 + def test_handleStatusLogging(1194,38870 + def test_handleNotify(1209,39319 + def test_handleNotifyLogging(1224,39829 + def test_handleOther(1239,40278 + def test_handleOtherLogging(1254,40785 + +venv/lib/python2.7/site-packages/twisted/names/test/test_hosts.py,931 +class GoodTempPathMixin(19,515 + def path(20,548 +class SearchHostsFileTests(25,626 + def test_findAddress(30,829 + def test_notFoundAddress(42,1186 + def test_firstAddress(53,1535 + def test_searchFileForAliases(65,1939 +class SearchHostsFileForAllTests(84,2742 + def test_allAddresses(89,2950 + def test_caseInsensitively(104,3454 + def test_readError(114,3778 +class HostsTests(124,4044 + def setUp(128,4176 + def test_defaultPath(144,4512 + def test_getHostByName(153,4791 + def test_lookupAddress(168,5330 + def resolved(174,5559 + def test_lookupIPV6Address(186,5978 + def resolved(192,6226 + def test_lookupAllRecords(204,6657 + def resolved(210,6892 + def test_notImplemented(220,7195 + def test_query(225,7367 + def test_lookupAddressNotFound(232,7603 + def test_lookupIPV6AddressNotFound(242,7964 + def test_lookupAllRecordsNotFound(251,8258 + +venv/lib/python2.7/site-packages/twisted/names/test/test_examples.py,331 +class ExampleTestBase(17,338 + def setUp(33,1139 + def tearDown(70,2400 + def test_shebang(80,2686 + def test_usageConsistency(88,2927 + def test_usageConsistencyOnError(108,3627 +class TestDnsTests(136,4642 +class GetHostByNameTests(145,4803 +class DnsServiceTests(154,4982 +class MultiReverseLookupTests(163,5154 + +venv/lib/python2.7/site-packages/twisted/names/test/test_dns.py,13393 +class Ord2ByteTests(37,1109 + def test_ord2byte(41,1198 +class Str2TimeTests(50,1452 + def test_nonString(54,1539 + def test_seconds(62,1747 + def test_minutes(71,2027 + def test_hours(79,2277 + def test_days(87,2526 + def test_weeks(95,2774 + def test_years(103,3026 + def test_invalidPrefix(111,3282 +class NameTests(119,3483 + def test_nonStringName(124,3674 + def test_unicodeName(134,4006 + def test_decode(144,4322 + def test_encode(154,4629 + def test_encodeWithCompression(165,4971 + def test_unknown(193,6090 + def test_decodeWithCompression(252,8307 + def test_rejectCompressionLoop(284,9578 + def test_equality(295,9943 + def test_inequality(308,10310 +class RoundtripDNSTests(319,10588 + def test_name(326,10769 + def test_query(338,11076 + def test_resourceRecordHeader(359,11883 + def test_resources(380,12587 + def test_hashable(403,13386 + def test_Charstr(414,13682 + def _recordRoundtripTest(430,14072 + def test_SOA(445,14512 + def test_A(457,14927 + def test_NULL(466,15213 + def test_WKS(475,15515 + def test_AAAA(484,15822 + def test_A6(493,16119 + def test_SRV(502,16419 + def test_NAPTR(512,16774 + def test_AFSDB(539,17835 + def test_RP(549,18183 + def test_HINFO(559,18527 + def test_MINFO(568,18848 + def test_MX(578,19192 + def test_TXT(588,19524 +class MessageTests(622,20309 + def test_authenticDataDefault(627,20420 + def test_authenticDataOverride(634,20602 + def test_authenticDataEncode(642,20869 + def test_authenticDataDecode(653,21167 + def test_checkingDisabledDefault(664,21456 + def test_checkingDisabledOverride(671,21647 + def test_checkingDisabledEncode(680,21942 + def test_checkingDisabledDecode(691,22252 + def test_reprDefaults(702,22553 + def test_reprFlagsIfSet(713,22857 + def test_reprNonDefautFields(729,23353 + def test_reprNonDefaultSections(746,23774 + def test_emptyMessage(768,24346 + def test_emptyQuery(777,24599 + def test_NULL(807,25796 + def test_lookupRecordTypeDefault(827,26444 + def test_nonAuthoritativeMessage(839,26918 + def test_authoritativeMessage(865,27894 +class MessageComparisonTests(893,28887 + def messageFactory(898,29077 + def test_id(926,30008 + def test_answer(938,30327 + def test_opCode(950,30662 + def test_recDes(962,31001 + def test_recAv(974,31336 + def test_auth(986,31666 + def test_rCode(998,31991 + def test_trunc(1010,32325 + def test_maxSize(1022,32655 + def test_authenticData(1034,32999 + def test_checkingDisabled(1046,33369 + def test_queries(1058,33754 + def test_answers(1070,34171 + def test_authority(1085,34771 + def test_additional(1103,35482 +class TestController(1119,36106 + def __init__(1127,36328 + def messageReceived(1134,36467 +class DatagramProtocolTests(1142,36666 + def setUp(1147,36787 + def test_truncatedPacket(1159,37200 + def test_simpleQuery(1169,37546 + def cb(1178,37944 + def test_queryTimeout(1185,38162 + def test_writeError(1197,38566 + def writeError(1203,38809 + def test_listenError(1211,39060 + def startListeningError(1217,39308 + def test_receiveMessageNotInLiveMessages(1227,39697 +class TestTCPController(1243,40315 + def __init__(1251,40632 + def connectionMade(1256,40726 + def connectionLost(1260,40804 +class DNSProtocolTests(1265,40883 + def setUp(1270,40991 + def test_connectionTracking(1281,41355 + def test_queryTimeout(1293,41852 + def test_simpleQuery(1305,42234 + def cb(1314,42610 + def test_writeError(1323,42858 + def writeError(1329,43093 + def test_receiveMessageNotInLiveMessages(1337,43316 +class ReprTests(1354,43930 + def test_ns(1358,44046 + def test_md(1368,44341 + def test_mf(1378,44642 + def test_cname(1388,44941 + def test_mb(1398,45252 + def test_mg(1408,45544 + def test_mr(1418,45846 + def test_ptr(1428,46149 + def test_dname(1438,46445 + def test_a(1448,46775 + def test_soa(1459,47102 + def test_null(1472,47591 + def test_wks(1482,47880 + def test_aaaa(1493,48264 + def test_a6(1504,48619 + def test_srv(1515,48995 + def test_naptr(1525,49353 + def test_afsdb(1539,49842 + def test_rp(1549,50152 + def test_hinfo(1559,50488 + def test_minfo(1569,50790 + def test_mx(1582,51208 + def test_txt(1592,51519 + def test_spf(1602,51806 + def test_unknown(1612,52093 +class EqualityTests(1623,52389 + def _equalityTest(1627,52539 + def test_charstr(1632,52720 + def test_name(1641,52984 + def _simpleEqualityTest(1650,53231 + def test_rrheader(1670,53852 + def test_ns(1714,55893 + def test_md(1722,56099 + def test_mf(1730,56305 + def test_cname(1738,56511 + def test_mb(1746,56726 + def test_mg(1754,56932 + def test_mr(1762,57138 + def test_ptr(1770,57344 + def test_dname(1778,57553 + def test_a(1786,57765 + def test_soa(1803,58270 + def test_null(1851,60707 + def test_wks(1868,61243 + def test_aaaa(1895,62263 + def test_a6(1912,62775 + def test_srv(1942,64054 + def test_naptr(1974,65412 + def test_afsdb(2017,67695 + def test_rp(2039,68503 + def test_hinfo(2061,69459 + def test_minfo(2083,70256 + def test_mx(2105,71137 + def test_txt(2127,71930 + def test_spf(2149,72730 + def test_unknown(2171,73526 +class RRHeaderTests(2194,74290 + def test_negativeTTL(2199,74392 + def test_nonIntegralTTL(2209,74707 + def test_nonNumericTTLRaisesTypeError(2222,75120 +class NameToLabelsTests(2234,75494 + def test_empty(2239,75616 + def test_onlyDot(2247,75827 + def test_withoutTrailingDot(2255,76056 + def test_withTrailingDot(2263,76302 + def test_subdomain(2271,76543 + def test_casePreservation(2281,76855 +def assertIsSubdomainOf(2292,77118 +def assertIsNotSubdomainOf(2311,77676 +class IsSubdomainOfTests(2330,78238 + def test_identical(2335,78362 + def test_parent(2343,78566 + def test_distantAncestor(2351,78810 + def test_superdomain(2359,79060 + def test_sibling(2367,79301 + def test_unrelatedCommonSuffix(2375,79538 + def test_subdomainWithTrailingDot(2383,79792 + def test_superdomainWithTrailingDot(2392,80087 + def test_bothWithTrailingDot(2401,80385 + def test_emptySubdomain(2410,80673 + def test_emptySuperdomain(2418,80902 + def test_caseInsensitiveComparison(2426,81133 +class OPTNonStandardAttributes(2437,81434 + def bytes(2446,81734 + def object(2478,82779 +class OPTHeaderTests(2493,83145 + def test_interface(2497,83271 + def test_name(2504,83435 + def test_nameReadonly(2512,83653 + def test_type(2521,83886 + def test_typeReadonly(2529,84074 + def test_udpPayloadSize(2538,84288 + def test_udpPayloadSizeOverride(2546,84520 + def test_extendedRCODE(2554,84757 + def test_extendedRCODEOverride(2561,84932 + def test_version(2569,85161 + def test_versionOverride(2576,85318 + def test_dnssecOK(2584,85523 + def test_dnssecOKOverride(2591,85684 + def test_options(2599,85892 + def test_optionsOverride(2606,86059 + def test_encode(2615,86310 + def test_encodeWithOptions(2629,86678 + def test_decode(2658,87543 + def test_decodeAllExpectedBytes(2672,87981 + def test_decodeOnlyExpectedBytes(2686,88390 + def test_decodeDiscardsName(2701,88885 + def test_decodeRdlengthTooShort(2715,89369 + def test_decodeRdlengthTooLong(2732,89912 + def test_decodeWithOptions(2750,90453 + def test_fromRRHeader(2781,91325 + def test_repr(2809,92268 + def test_equalityUdpPayloadSize(2826,92734 + def test_equalityExtendedRCODE(2837,93092 + def test_equalityVersion(2848,93438 + def test_equalityDnssecOK(2859,93754 + def test_equalityOptions(2870,94091 +class OPTVariableOptionTests(2882,94504 + def test_interface(2886,94632 + def test_constructorArguments(2893,94812 + def test_repr(2903,95129 + def test_equality(2916,95445 + def test_encode(2932,95975 + def test_decode(2949,96460 +class RaisedArgs(2967,96948 + def __init__(2972,97100 +class MessageEmpty(2984,97369 + def bytes(2990,97519 + def kwargs(3010,98162 +class MessageTruncated(3031,98645 + def bytes(3036,98766 + def kwargs(3056,99408 +class MessageNonAuthoritative(3076,99854 + def bytes(3081,99967 + def kwargs(3108,100854 +class MessageAuthoritative(3127,101341 + def bytes(3132,101447 + def kwargs(3159,102335 +class MessageComplete:MessageComplete3178,102821 + def bytes(3185,103016 + def kwargs(3240,105029 +class MessageEDNSQuery(3292,106734 + def bytes(3297,106833 + def kwargs(3331,107909 +class MessageEDNSComplete(3353,108454 + def bytes(3360,108657 + def kwargs(3424,110978 +class MessageEDNSExtendedRCODE(3481,112821 + def bytes(3486,112952 + def kwargs(3515,113688 +class MessageComparable(3542,114374 + def __init__(3552,114770 + def __getattr__(3556,114839 +def verifyConstructorArgument(3561,114917 +class ConstructorTestsMixin(3607,116287 + def _verifyConstructorArgument(3612,116443 + def _verifyConstructorFlag(3627,117121 +class CommonConstructorTestsMixin(3642,117713 + def test_id(3653,118202 + def test_answer(3661,118419 + def test_opCode(3669,118642 + def test_auth(3678,118918 + def test_trunc(3686,119135 + def test_recDes(3694,119355 + def test_recAv(3702,119578 + def test_rCode(3710,119798 + def test_maxSize(3718,120026 + def test_queries(3726,120265 + def test_answers(3733,120434 + def test_authority(3740,120603 + def test_additional(3747,120778 +class EDNSMessageConstructorTests(3755,120957 +class MessageConstructorTests(3766,121310 +class EDNSMessageSpecificsTests(3777,121648 + def test_ednsVersion(3787,121952 + def test_dnssecOK(3796,122212 + def test_authenticData(3804,122441 + def test_checkingDisabled(3812,122685 + def test_queriesOverride(3820,122938 + def test_answersOverride(3831,123238 + def test_authorityOverride(3846,123681 + def test_additionalOverride(3863,124192 + def test_reprDefaults(3878,124646 + def test_reprFlagsIfSet(3889,124968 + def test_reprNonDefautFields(3906,125546 + def test_reprNonDefaultSections(3925,126063 + def test_fromStrCallsMessageFactory(3947,126648 + class FakeMessageFactory(3953,126900 + def fromStr(3957,127008 + def test_fromStrCallsFromMessage(3976,127597 + class FakeMessageFactory(3982,127813 + def fromStr(3986,127915 + def fakeFromMessage(3996,128188 + def test_toStrCallsToMessage(4006,128479 + def fakeToMessage(4011,128645 + def test_toStrCallsToMessageToStr(4021,128911 + class FakeMessage(4028,129157 + def toStr(4032,129249 + def fakeToMessage(4040,129443 +class EDNSMessageEqualityTests(4051,129643 + def test_id(4061,129961 + def test_answer(4073,130280 + def test_opCode(4085,130634 + def test_auth(4097,131010 + def test_trunc(4109,131354 + def test_recDes(4121,131703 + def test_recAv(4133,132057 + def test_rCode(4145,132406 + def test_ednsVersion(4157,132743 + def test_dnssecOK(4169,133110 + def test_authenticData(4181,133469 + def test_checkingDisabled(4193,133859 + def test_maxSize(4205,134264 + def test_queries(4217,134617 + def test_answers(4229,135039 + def test_authority(4244,135644 + def test_additional(4262,136360 +class StandardEncodingTestsMixin(4278,136989 + class under 4288,137432 + def test_emptyMessageEncode(4290,137470 + def test_emptyMessageDecode(4299,137702 + def test_completeQueryEncode(4309,137971 + def test_completeQueryDecode(4318,138225 + def test_NULL(4328,138509 + def test_nonAuthoritativeMessageEncode(4347,139127 + def test_nonAuthoritativeMessageDecode(4357,139460 + def test_authoritativeMessageEncode(4369,139865 + def test_authoritativeMessageDecode(4379,140189 + def test_truncatedMessageEncode(4391,140595 + def test_truncatedMessageDecode(4401,140898 +class EDNSMessageStandardEncodingTests(4413,141226 +class MessageStandardEncodingTests(4423,141528 + def messageFactory(4430,141794 +class EDNSMessageEDNSEncodingTests(4466,142964 + def test_ednsMessageDecodeStripsOptRecords(4474,143202 + def test_ednsMessageDecodeMultipleOptRecords(4485,143560 + def test_fromMessageCopiesSections(4505,144163 + def test_toMessageCopiesSections(4528,145051 + def test_optHeaderPosition(4538,145349 + def test_ednsDecode(4574,146478 + def test_ednsEncode(4586,146875 + def test_extendedRcodeEncode(4597,147269 + def test_extendedRcodeDecode(4608,147674 + def test_extendedRcodeZero(4620,148054 +class ResponseFromMessageTests(4637,148552 + def test_responseFromMessageResponseType(4641,148673 + def test_responseType(4653,149138 + class SuppliedClass(4657,149264 + def test_responseId(4670,149587 + def test_responseAnswer(4682,149934 + def test_responseQueries(4695,150345 + def test_responseKwargs(4711,150840 +class Foo(4725,151227 + def __init__(4731,151452 + def __repr__(4748,151953 +class CompactReprTests(4762,152354 + def test_defaults(4767,152484 + def test_flagsIfSet(4778,152809 + def test_nonDefautFields(4792,153175 + def test_nonDefaultSections(4809,153594 + +venv/lib/python2.7/site-packages/twisted/names/test/test_cache.py,273 +class CachingTests(20,347 + def test_interface(25,441 + def test_lookup(32,626 + def test_constructorExpires(40,913 + def test_normalLookup(67,1931 + def cbLookup(86,2686 + def test_cachedResultExpires(95,3010 + def test_expiredTTLLookup(120,3868 + +venv/lib/python2.7/site-packages/twisted/names/test/test_rootresolve.py,1749 +def getOnePayload(26,819 +def getOneAddress(35,1063 +class RootResolverTests(44,1293 + def _queryTest(48,1390 + def test_filteredQuery(92,2966 + def test_unfilteredQuery(107,3585 + def _respond(123,4202 + def _getResolver(149,5428 + def query(162,6003 + def test_lookupAddress(175,6491 + def test_lookupChecksClass(202,7538 + def test_missingGlue(231,8631 + def test_missingName(259,9699 + def test_answerless(276,10215 + def test_delegationLookupError(293,10740 + def test_delegationLookupEmpty(314,11461 + def test_lookupNameservers(334,12161 + def getOneName(351,12793 + def test_returnCanonicalName(359,13021 + def test_followCanonicalName(382,13926 + def test_detectCanonicalNameLoop(408,14932 + def test_boundedQueries(427,15626 +class ResolverFactoryArguments(478,17720 + def __init__(483,17876 +def raisingResolverFactory(495,18139 +class RootResolverResolverFactoryTests(510,18564 + def test_resolverFactoryArgumentPresent(514,18679 + def test_resolverFactoryArgumentAbsent(523,19021 + def test_resolverFactoryOnlyExpectedArguments(533,19342 +class StubResolver(571,20372 + def __init__(577,20589 + def getHostByName(588,20913 +class BootstrapTests(612,21507 + def test_returnsDeferredResolver(616,21598 + def test_resolves13RootServers(625,21896 + def test_becomesResolver(637,22278 + def test_resolverReceivesRootHints(650,22766 + def test_continuesWhenSomeRootHintsFail(662,23233 + def checkHints(676,23771 + def test_continuesWhenAllRootHintsFail(681,23908 + def checkHints(695,24426 + def test_passesResolverFactory(702,24608 +class StubDNSDatagramProtocol:StubDNSDatagramProtocol720,25182 + def query(725,25379 + +venv/lib/python2.7/site-packages/twisted/names/test/test_common.py,437 +class ExceptionForCodeTests(22,692 + def setUp(26,806 + def test_eformat(30,893 + def test_eserver(38,1108 + def test_ename(46,1323 + def test_enotimp(53,1520 + def test_erefused(61,1751 + def test_other(69,1981 +class QueryTests(78,2211 + def test_resolverBaseProvidesIResolver(83,2304 + def test_typeToMethodDispatch(90,2486 + def test_typeToMethodResult(104,3017 + def test_unknownQueryType(120,3621 + +venv/lib/python2.7/site-packages/twisted/names/test/test_client.py,4907 +class FakeResolver(40,1099 + def _lookup(42,1134 +class StubPort(61,1781 + def stopListening(71,2071 +class StubDNSDatagramProtocol(76,2136 + def __init__(84,2392 + def query(89,2480 +class GetResolverTests(100,2801 + def test_interface(107,2945 + def test_idempotent(116,3216 +class CreateResolverTests(128,3517 + def _hostsTest(135,3686 + def test_defaultHosts(141,3899 + def test_overrideHosts(152,4269 + def _resolvConfTest(163,4654 + def test_reactor(173,5014 + def test_defaultResolvConf(186,5489 + def test_overrideResolvConf(197,5899 + def test_defaultServers(208,6322 + def test_overrideServers(223,6955 + def test_cache(239,7654 +class ResolverTests(252,8029 + def test_clientProvidesIResolver(257,8120 + def test_clientResolverProvidesIResolver(265,8314 + def test_noServers(272,8490 + def test_missingConfiguration(280,8730 + def test_closesResolvConf(290,9116 + class StubResolver(298,9430 + def _openFile(299,9475 + def test_domainEmptyArgument(306,9708 + def test_searchEmptyArgument(316,10054 + def test_datagramQueryServerOrder(326,10403 + def test_singleConcurrentRequest(361,11901 + def cbFinished(389,13092 + def test_multipleConcurrentRequests(397,13363 + def test_multipleSequentialRequests(425,14398 + def test_multipleConcurrentFailure(450,15270 + class ExpectedException(465,15863 + def test_connectedProtocol(475,16175 + def test_resolverUsesOnlyParameterizedReactor(496,17004 + def test_differentProtocol(508,17486 + class FakeProtocol(517,17820 + def __init__(518,17856 + def query(521,17933 + def test_ipv6Resolver(531,18301 + def test_disallowedPort(545,18754 + class FakeReactor(552,18985 + def listenUDP(553,19020 + def test_differentProtocolAfterTimeout(565,19404 + class FakeProtocol(575,19808 + def __init__(576,19844 + def query(579,19921 + def test_protocolShutDown(588,20221 + class FakeProtocol(598,20572 + def __init__(599,20608 + def query(602,20685 + def test_protocolShutDownAfterTimeout(614,21091 + class FakeProtocol(626,21580 + def __init__(627,21616 + def query(630,21693 + def test_protocolShutDownAfterFailure(642,22107 + class ExpectedException(648,22355 + class FakeProtocol(655,22541 + def __init__(656,22577 + def query(659,22654 + def test_tcpDisconnectRemovesFromConnections(673,23163 + def test_singleTCPQueryErrbackOnConnectionFailure(688,23763 + class SentinelException(702,24341 + def test_multipleTCPQueryErrbackOnConnectionFailure(711,24570 + class SentinelException(725,25139 + def test_reentrantTCPQueryErrbackOnConnectionFailure(736,25461 + def reissue(752,25974 + def test_pendingEmptiedInPlaceOnError(785,27063 + class SentinelException(803,27671 +class ClientTests(815,27998 + def setUp(817,28037 + def tearDown(825,28276 + def checkResult(832,28462 + def checkGetHostByName(841,28785 + def test_getHostByName(847,28971 + def test_lookupAddress(855,29226 + def test_lookupIPV6Address(865,29612 + def test_lookupAddress6(873,29828 + def test_lookupNameservers(881,30036 + def test_lookupCanonicalName(889,30250 + def test_lookupAuthority(897,30471 + def test_lookupMailBox(905,30682 + def test_lookupMailGroup(913,30888 + def test_lookupMailRename(921,31098 + def test_lookupNull(929,31310 + def test_lookupWellKnownServices(937,31512 + def test_lookupPointer(945,31739 + def test_lookupHostInfo(953,31946 + def test_lookupMailboxInfo(961,32157 + def test_lookupMailExchange(969,32374 + def test_lookupText(977,32590 + def test_lookupSenderPolicy(985,32791 + def test_lookupResponsibility(993,33008 + def test_lookupAFSDatabase(1001,33228 + def test_lookupService(1009,33445 + def test_lookupZone(1018,33653 + def test_lookupAllRecords(1027,33856 + def test_lookupNamingAuthorityPointer(1036,34078 + def test_query(1045,34318 +class FilterAnswersTests(1059,34759 + def setUp(1064,34939 + def test_truncatedMessage(1070,35152 + def queryTCP(1078,35378 + def _rcodeTest(1092,35878 + def test_formatError(1098,36022 + def test_serverError(1106,36270 + def test_nameError(1113,36465 + def test_notImplementedError(1120,36650 + def test_refusedError(1127,36869 + def test_refusedErrorUnknown(1134,37079 +class FakeDNSDatagramProtocol(1143,37318 + def __init__(1144,37357 + def query(1148,37444 + def removeResend(1152,37629 +class RetryLogicTests(1158,37719 + def test_roundRobinBackoff(1168,37938 + def _cbRoundRobinBackoff(1185,38636 + def _ebRoundRobinBackoff(1189,38751 +class ThreadedResolverTests(1211,39482 + def test_deprecated(1215,39588 + +venv/lib/python2.7/site-packages/twisted/names/test/test_names.py,3352 +def justPayload(35,952 +class NoFileAuthority(38,1022 + def __init__(39,1070 +class ServerDNSTests(156,5153 + def setUp(161,5253 + def tearDown(192,6446 + def namesTest(206,6933 + def checkResults(221,7580 + def test_addressRecord1(229,7811 + def test_addressRecord2(237,8052 + def test_addressRecord3(246,8371 + def test_authority(254,8675 + def test_mailExchangeRecord(262,8879 + def test_nameserver(274,9357 + def test_HINFO(282,9596 + def test_PTR(290,9892 + def test_CNAME(298,10148 + def test_MB(305,10395 + def test_MG(313,10633 + def test_MR(321,10870 + def test_MINFO(329,11113 + def test_SRV(337,11381 + def test_AFSDB(344,11647 + def test_RP(352,11916 + def test_TXT(360,12181 + def test_spf(371,12585 + def test_WKS(384,13043 + def test_someRecordsWithTTLs(393,13363 + def test_AAAA(406,13849 + def test_A6(413,14119 + def test_zoneTransfer(423,14541 + def test_zoneTransferConnectionFails(437,15030 + def test_similarZonesDontInterfere(447,15411 + def test_NAPTR(455,15688 +class HelperTests(467,16059 + def test_serialGenerator(468,16097 +class AXFRTests(477,16316 + def setUp(478,16352 + def _makeMessage(507,17823 + def test_bindAndTNamesStyle(511,18018 + def _gotResults(519,18334 + def test_DJBStyle(522,18400 +class ResolvConfHandlingTests(534,18784 + def test_missing(535,18834 + def test_empty(541,19035 +class AuthorityTests(550,19274 + def test_domainErrorForNameWithCommonSuffix(556,19442 + def test_recordMissing(570,20076 + def test_unknownTypeNXDOMAIN(598,21152 + def test_unknownTypeMissing(611,21663 + def _referralTest(623,22111 + def test_referral(647,23074 + def test_allRecordsReferral(657,23431 +class AdditionalProcessingTests(665,23619 + def _lookupSomeRecords(673,23880 + def assertRecordsMatch(712,25544 + def _additionalTest(734,26467 + def _additionalMXTest(764,27594 + def test_mailExchangeAdditionalA(775,27921 + def test_mailExchangeAdditionalAAAA(783,28156 + def test_mailExchangeAdditionalBoth(791,28400 + def _additionalNSTest(799,28668 + def test_nameserverAdditionalA(810,28981 + def test_nameserverAdditionalAAAA(818,29214 + def test_nameserverAdditionalBoth(826,29456 + def _answerCNAMETest(834,29722 + def test_canonicalNameAnswerA(858,30589 + def test_canonicalNameAnswerAAAA(866,30819 + def test_canonicalNameAnswerBoth(874,31058 +class NoInitialResponseTests(883,31322 + def test_noAnswer(885,31372 + def query(891,31584 + def queryProtocol(896,31775 +class SecondaryAuthorityServiceTests(920,32711 + def test_constructAuthorityFromHost(926,32929 + def test_constructAuthorityFromHostAndPort(948,33862 +class SecondaryAuthorityTests(973,34939 + def test_defaultPort(979,35152 + def test_explicitPort(990,35543 + def test_transfer(1002,35999 + def test_lookupAddress(1033,37198 +class BindAuthorityTests(1101,39493 + def loadBindString(1105,39610 + def setUp(1121,40037 + def test_ttl(1125,40116 + def test_originFromFile(1136,40409 + def test_aRecords(1148,40677 + def test_aaaaRecords(1166,41156 + def test_mxRecords(1182,41517 + def test_cnameRecords(1197,41889 + def test_invalidRecordClass(1212,42246 + def test_invalidDirectives(1225,42640 + +venv/lib/python2.7/site-packages/twisted/names/test/test_rfc1982.py,1371 +class SerialNumberTests(19,336 + def test_serialBitsDefault(24,428 + def test_serialBitsOverride(31,607 + def test_repr(39,872 + def test_str(50,1157 + def test_int(58,1357 + def test_hash(66,1557 + def test_convertOtherSerialBitsMismatch(75,1868 + def test_eq(90,2276 + def test_eqForeignType(97,2450 + def test_ne(105,2690 + def test_neForeignType(113,2928 + def test_le(121,3168 + def test_leForeignType(129,3397 + def test_ge(137,3637 + def test_geForeignType(145,3866 + def test_lt(153,4106 + def test_ltForeignType(160,4273 + def test_gt(168,4511 + def test_gtForeignType(175,4678 + def test_add(183,4918 + def test_addForeignType(190,5124 + def test_addOutOfRangeHigh(198,5359 + def test_maxVal(209,5687 + def test_fromRFC4034DateString(221,6127 + def test_toRFC4034DateString(233,6566 + def test_unixEpoch(244,6917 + def test_Y2106Problem(255,7193 + def test_Y2038Problem(265,7433 +def assertUndefinedComparison(284,7926 +class SerialNumber2BitTests(318,8918 + def test_maxadd(328,9303 + def test_add(336,9558 + def test_gt(346,9997 + def test_undefined(356,10339 +class SerialNumber8BitTests(371,10831 + def test_maxadd(382,11193 + def test_add(390,11452 + def test_gt(403,11909 + def test_surprisingAddition(419,12677 + def test_undefined(435,13420 + +venv/lib/python2.7/site-packages/twisted/names/test/test_util.py,327 +class MemoryDatagramTransport(23,513 + def __init__(39,1247 + def getHost(47,1472 + def connect(55,1654 + def write(64,1901 + def stopListening(77,2283 + def setBroadcastAllowed(85,2439 + def getBroadcastAllowed(92,2580 +class MemoryReactor(104,2793 + def __init__(115,3167 + def listenUDP(120,3249 + +venv/lib/python2.7/site-packages/twisted/names/test/test_tap.py,237 +class OptionsTests(21,592 + def test_malformedSecondary(26,746 + def test_secondary(44,1470 + def test_secondaryExplicitPort(56,1912 + def test_secondaryAuthorityServices(67,2322 + def test_recursiveConfiguration(86,3190 + +venv/lib/python2.7/site-packages/twisted/names/cache.py,229 +class CacheResolver(17,324 + def __init__(25,526 + def __setstate__(40,959 + def __getstate__(52,1296 + def _lookup(59,1445 + def lookupAllRecords(87,2571 + def cacheResult(91,2693 + def clearEntry(123,3710 + +venv/lib/python2.7/site-packages/twisted/names/common.py,1036 +class ResolverBase:ResolverBase33,795 + def __init__(52,1420 + def exceptionForCode(58,1573 + def query(68,1866 + def _lookup(81,2338 + def lookupAddress(85,2460 + def lookupIPV6Address(89,2569 + def lookupAddress6(93,2685 + def lookupMailExchange(97,2796 + def lookupNameservers(101,2911 + def lookupCanonicalName(105,3025 + def lookupMailBox(109,3144 + def lookupMailGroup(113,3254 + def lookupMailRename(117,3366 + def lookupPointer(121,3479 + def lookupAuthority(125,3590 + def lookupNull(129,3703 + def lookupWellKnownServices(133,3812 + def lookupService(137,3933 + def lookupHostInfo(141,4044 + def lookupMailboxInfo(145,4158 + def lookupText(149,4275 + def lookupSenderPolicy(153,4383 + def lookupResponsibility(157,4499 + def lookupAFSDatabase(161,4616 + def lookupZone(165,4733 + def lookupNamingAuthorityPointer(169,4842 + def lookupAllRecords(173,4970 + def getHostByName(178,5114 + def _cbRecords(185,5329 +def extractRecord(194,5585 + +venv/lib/python2.7/site-packages/twisted/names/server.py,555 +class DNSServerFactory(28,692 + def __init__(70,2394 + def _verboseLog(106,3878 + def buildProtocol(117,4226 + def connectionMade(123,4337 + def connectionLost(133,4599 + def sendReply(144,4905 + def _responseFromMessage(182,6324 + def gotResolverResponse(264,9294 + def gotResolverError(308,11054 + def handleQuery(346,12526 + def handleInverseQuery(388,14224 + def handleStatus(416,15256 + def handleNotify(444,16275 + def handleOther(472,17294 + def messageReceived(501,18367 + def allowQuery(565,21202 + +venv/lib/python2.7/site-packages/twisted/names/tap.py,251 +class Options(19,397 + def __init__(41,1103 + def opt_pyzone(49,1280 + def opt_bindzone(55,1532 + def opt_secondary(62,1786 + def opt_verbose(82,2538 + def postOptions(87,2636 +def _buildResolvers(115,3649 +def makeService(138,4357 + +venv/lib/python2.7/site-packages/twisted/names/hosts.py,258 +def searchFileForAll(20,483 +def searchFileFor(55,1407 +class Resolver(75,1952 + def __init__(79,2057 + def _aRecords(85,2209 + def _aaaaRecords(98,2624 + def _respond(111,3052 + def lookupAddress(131,3828 + def lookupIPV6Address(139,4060 + +venv/lib/python2.7/site-packages/twisted/names/secondary.py,501 +class SecondaryAuthorityService(19,545 + def __init__(24,629 + def fromServerAddressAndDomains(39,1087 + def getAuthority(63,2038 + def startService(66,2118 + def stopService(76,2478 +class SecondaryAuthority(83,2600 + def __init__(104,3181 + def fromServerAddressAndDomain(119,3688 + def transfer(141,4535 + def _lookup(158,4994 + def _cbZone(164,5234 + def _ebZone(174,5555 + def update(179,5711 + def _cbTransferred(183,5814 + def _ebTransferred(187,5888 + +venv/lib/python2.7/site-packages/twisted/names/client.py,1999 +class Resolver(41,1062 + def __init__(68,1997 + def __getstate__(127,4171 + def __setstate__(134,4312 + def _openFile(139,4417 + def maybeParseConfig(147,4616 + def parseConfig(173,5535 + def pickServer(195,6326 + def _connectedProtocol(215,6872 + def connectionMade(231,7386 + def connectionLost(241,7687 + def messageReceived(249,7920 + def _query(253,8072 + def cbQueried(270,8739 + def queryUDP(277,8891 + def _reissue(309,9947 + def queryTCP(339,11250 + def filterAnswers(363,12082 + def _lookup(383,12937 + def cbResult(404,13809 + def lookupZone(417,14177 + def eliminateTimeout(432,14780 + def _timeoutZone(441,15060 + def _cbLookupZone(448,15322 +class AXFRController:AXFRController454,15436 + def __init__(457,15482 + def connectionMade(465,15669 + def connectionLost(472,15934 + def messageReceived(477,16033 +class ThreadedResolver(504,17075 + def __init__(505,17122 +class DNSClientFactory(517,17540 + def __init__(518,17588 + def clientConnectionLost(523,17708 + def clientConnectionFailed(527,17778 + def buildProtocol(554,18805 +def createResolver(561,18930 +def getResolver(604,20458 +def getHostByName(623,20873 +def query(647,21587 +def lookupAddress(652,21669 +def lookupIPV6Address(657,21765 +def lookupAddress6(662,21869 +def lookupMailExchange(667,21967 +def lookupNameservers(672,22073 +def lookupCanonicalName(677,22177 +def lookupMailBox(682,22285 +def lookupMailGroup(687,22381 +def lookupMailRename(692,22481 +def lookupPointer(697,22583 +def lookupAuthority(702,22679 +def lookupNull(707,22779 +def lookupWellKnownServices(712,22869 +def lookupService(717,22985 +def lookupHostInfo(722,23081 +def lookupMailboxInfo(727,23179 +def lookupText(732,23283 +def lookupSenderPolicy(737,23373 +def lookupResponsibility(742,23479 +def lookupAFSDatabase(747,23589 +def lookupZone(752,23693 +def lookupAllRecords(757,23783 +def lookupNamingAuthorityPointer(762,23885 + +venv/lib/python2.7/site-packages/twisted/names/error.py,346 +class DomainError(14,274 +class AuthoritativeDomainError(22,436 +class DNSQueryTimeoutError(31,665 + def __init__(37,825 +class DNSFormatError(43,913 +class DNSServerError(50,1043 +class DNSNameError(57,1173 +class DNSNotImplementedError(64,1299 +class DNSQueryRefusedError(71,1437 +class DNSUnknownError(78,1574 +class ResolverError(85,1682 + +venv/lib/python2.7/site-packages/twisted/names/_rfc1982.py,417 +class SerialNumber(30,856 + def __init__(59,1987 + def _convertOther(79,2699 + def __str__(101,3527 + def __int__(110,3734 + def __eq__(118,3903 + def __ne__(128,4161 + def __lt__(137,4370 + def __gt__(153,4840 + def __le__(170,5337 + def __ge__(182,5635 + def __add__(194,5936 + def __hash__(230,7304 + def fromRFC4034DateString(240,7507 + def toRFC4034DateString(262,8418 + +venv/lib/python2.7/site-packages/twisted/names/root.py,669 +class _DummyController:_DummyController22,462 + def messageReceived(28,675 +class Resolver(33,729 + def __init__(43,1144 + def _roots(74,2472 + def _query(82,2694 + def _lookup(114,3901 + def _discoverAuthority(129,4483 + def _discoveredAuthority(162,5725 + def findAnswerOrCName(193,7018 + def cbResolved(224,8373 + def getOneAddress(263,9923 +def makePlaceholder(277,10429 + def placeholder(278,10466 +class DeferredResolver:DeferredResolver283,10618 + def __init__(284,10642 + def gotRealResolver(288,10770 + def __getattr__(295,10976 +def bootstrap(303,11232 + def buildResolver(327,12238 + +venv/lib/python2.7/site-packages/twisted/names/resolve.py,207 +class FailureHandler:FailureHandler20,503 + def __init__(21,525 + def __call__(27,668 +class ResolverChain(35,941 + def __init__(39,1050 + def _lookup(48,1285 + def lookupAllRecords(87,2772 + +venv/lib/python2.7/site-packages/twisted/names/authority.py,614 +def getSerial(22,462 +class FileAuthority(59,1461 + def __init__(79,2112 + def __setstate__(85,2248 + def _additionalRecords(89,2315 + def _lookup(120,3675 + def lookupZone(219,7759 + def _cbAllRecords(250,8929 +class PySourceAuthority(261,9202 + def loadFile(265,9320 + def wrapRecord(278,9732 + def setupConfigNamespace(282,9831 +class BindAuthority(293,10132 + def loadFile(300,10332 + def stripComments(318,10861 + def collapseContinuations(334,11235 + def parseLines(361,12031 + def addRecord(391,12911 + def class_IN(426,13879 + def parseRecordLine(456,14685 + +venv/lib/python2.7/site-packages/twisted/names/dns.py,5401 + def _ord2bytes(67,1946 + def _nicebytes(78,2187 + def _nicebyteslist(89,2448 +def randomSource(105,2845 +class IRecord(197,4512 +def _nameToLabels(212,4893 +def _isSubdomainOf(232,5356 +def str2time(263,6416 +def readPrecisely(299,7827 +class IEncodable(306,7942 + def encode(312,8076 + def decode(326,8526 +class Charstr(344,9089 + def __init__(346,9113 + def encode(352,9290 + def decode(366,9682 + def __eq__(382,10142 + def __ne__(388,10289 + def __hash__(394,10436 + def __str__(398,10495 +class Name:Name407,10675 + def __init__(415,10882 + def encode(427,11221 + def decode(462,12437 + def __eq__(501,13717 + def __ne__(507,13873 + def __hash__(513,14029 + def __str__(517,14086 +class Query:Query527,14272 + def __init__(544,14594 + def encode(560,14960 + def decode(565,15109 + def __hash__(571,15283 + def __cmp__(575,15376 + def __str__(583,15628 + def __repr__(589,15869 +class _OPTHeader(595,15996 + def __init__(623,16965 + def name(660,18290 + def type(673,18669 + def encode(684,18929 + def decode(714,19864 + def fromRRHeader(738,20555 +class _OPTVariableOption(772,21671 + def __init__(788,22113 + def encode(800,22362 + def decode(817,22954 +class RRHeader(836,23516 + def __init__(871,24373 + def encode(908,25465 + def decode(920,25895 + def isAuthoritative(928,26149 + def __str__(932,26207 +class SimpleRecord(943,26580 + def __init__(960,27048 + def encode(969,27271 + def decode(973,27361 + def __hash__(978,27466 +class Record_NS(983,27547 +class Record_MD(992,27669 +class Record_MF(1005,27841 +class Record_CNAME(1018,28011 +class Record_MB(1027,28146 +class Record_MG(1038,28304 +class Record_MR(1049,28460 +class Record_PTR(1060,28622 +class Record_DNAME(1069,28741 +class Record_A(1086,29215 + def __init__(1103,29628 + def encode(1117,30062 + def decode(1121,30144 + def __hash__(1125,30237 + def __str__(1129,30297 + def dottedQuad(1134,30416 +class Record_SOA(1140,30525 + def __init__(1185,32218 + def encode(1201,32821 + def decode(1213,33148 + def __hash__(1221,33447 +class Record_NULL(1230,33640 + def __init__(1246,34033 + def encode(1251,34147 + def decode(1255,34229 + def __hash__(1259,34327 +class Record_WKS(1265,34422 + def __init__(1295,35341 + def encode(1309,35818 + def decode(1315,35984 + def __hash__(1321,36201 +class Record_AAAA(1327,36323 + def __init__(1349,36964 + def encode(1361,37346 + def decode(1365,37428 + def __hash__(1369,37522 +class Record_A6(1375,37617 + def __init__(1410,38650 + def encode(1428,39282 + def decode(1437,39571 + def __eq__(1446,39922 + def __hash__(1455,40257 + def __str__(1459,40361 +class Record_SRV(1469,40590 + def __init__(1509,42202 + def encode(1521,42567 + def decode(1527,42770 + def __hash__(1534,43010 +class Record_NAPTR(1540,43145 + def __init__(1594,45403 + def encode(1609,45932 + def decode(1618,46247 + def __hash__(1631,46681 +class Record_AFSDB(1639,46875 + def __init__(1665,47808 + def encode(1675,48102 + def decode(1680,48249 + def __hash__(1686,48434 +class Record_RP(1692,48546 + def __init__(1716,49287 + def encode(1729,49630 + def decode(1734,49761 + def __hash__(1741,49923 +class Record_HINFO(1747,50027 + def __init__(1767,50522 + def encode(1772,50644 + def decode(1777,50820 + def __eq__(1784,51077 + def __hash__(1792,51347 +class Record_MINFO(1798,51465 + def __init__(1830,52584 + def encode(1842,52968 + def decode(1847,53106 + def __hash__(1853,53274 +class Record_MX(1859,53385 + def __init__(1881,54038 + def encode(1890,54348 + def decode(1895,54494 + def __hash__(1900,54672 +class Record_TXT(1906,54783 + def __init__(1922,55216 + def encode(1928,55373 + def decode(1933,55502 + def __hash__(1948,55969 +class UnknownRecord(1954,56068 + def __init__(1971,56591 + def encode(1976,56695 + def decode(1984,56886 + def __hash__(1994,57220 +class Record_SPF(1999,57290 +def _responseFromMessage(2015,57727 +def _getDisplayableArguments(2043,58632 +def _compactRepr(2080,60283 +class Message(2132,61878 + def __init__(2185,63709 + def __repr__(2266,67080 + def addQuery(2285,67704 + def encode(2301,68070 + def decode(2333,69318 + def parseRecords(2366,70339 + def lookupRecordType(2398,71384 + def toStr(2412,71822 + def fromStr(2424,72075 +class _EDNSMessage(2436,72311 + def __init__(2484,73911 + def __repr__(2609,79176 + def _toMessage(2620,79584 + def toStr(2660,80912 + def _fromMessage(2670,81134 + def fromStr(2731,83303 +class DNSMixin(2748,83786 + def __init__(2758,84071 + def pickID(2766,84322 + def callLater(2776,84532 + def _query(2783,84731 + def _clearFailed(2818,85874 +class DNSDatagramProtocol(2829,86147 + def stopProtocol(2835,86274 + def startProtocol(2843,86460 + def writeMessage(2850,86613 + def startListening(2858,86818 + def datagramReceived(2861,86909 + def removeResend(2894,88059 + def query(2903,88273 + def writeMessage(2927,88999 +class DNSProtocol(2933,89136 + def writeMessage(2940,89263 + def connectionMade(2949,89492 + def connectionLost(2957,89701 + def dataReceived(2965,89891 + def query(2997,90922 + +venv/lib/python2.7/site-packages/twisted/names/srvconnect.py,664 +class _SRVConnector_ClientFactoryWrapper:_SRVConnector_ClientFactoryWrapper17,427 + def __init__(18,469 + def startedConnecting(22,605 + def clientConnectionFailed(25,716 + def clientConnectionLost(28,824 + def __getattr__(31,928 +class SRVConnector:SRVConnector37,1050 + def __init__(56,1682 + def connect(90,3008 + def _ebGotServers(113,3912 + def _cbGotServers(123,4232 + def _ebServiceUnknown(140,4914 + def pickServer(154,5460 + def _reallyConnect(216,7815 + def stopConnecting(231,8387 + def disconnect(238,8577 + def getDestination(245,8783 + def connectionFailed(249,8891 + def connectionLost(253,9020 + +venv/lib/python2.7/site-packages/twisted/spread/test/test_pbfailure.py,2441 +class AsynchronousException(15,377 +class SynchronousException(23,567 +class AsynchronousError(31,729 +class SynchronousError(39,910 +class JellyError(47,1063 +class SecurityError(52,1137 +class SimpleRoot(63,1367 + def remote_asynchronousException(64,1394 + def remote_synchronousException(71,1605 + def remote_asynchronousError(78,1799 + def remote_synchronousError(85,1994 + def remote_unknownError(92,2172 + class UnknownError(96,2284 + def remote_jelly(101,2396 + def remote_security(105,2452 + def remote_deferredJelly(109,2514 + def remote_deferredSecurity(116,2662 + def raiseJelly(123,2816 + def raiseSecurity(127,2901 +class SaveProtocolServerFactory(132,2990 + def clientConnectionMade(139,3183 +class PBConnTestCase(147,3339 + def setUp(150,3406 + def _setUpServer(155,3485 + def _setUpClient(161,3742 + def tearDown(167,3961 + def _tearDownServer(175,4232 + def _tearDownClient(179,4331 +class PBFailureTests(185,4442 + def _exceptionTest(189,4526 + def eb(190,4586 + def gotRootObject(198,4943 + def test_asynchronousException(206,5122 + def test_synchronousException(215,5443 + def test_asynchronousError(224,5720 + def test_synchronousError(233,6011 + def _success(242,6283 + def _addFailingCallbacks(247,6404 + def _testImpl(253,6615 + def gotRootObj(260,6943 + def gotFailure(263,7098 + def test_jellyFailure(272,7402 + def failureJelly(277,7601 + def test_deferredJellyFailure(285,7858 + def failureDeferredJelly(290,8057 + def test_unjellyableFailure(298,8340 + def failureUnjellyable(304,8566 + def test_unknownFailure(312,8833 + def failureUnknown(317,9026 + def test_securityFailure(324,9263 + def failureSecurity(330,9526 + def test_deferredSecurity(338,9799 + def failureDeferredSecurity(344,10053 + def test_noSuchMethodFailure(353,10382 + def failureNoSuch(358,10581 + def test_copiedFailureLogging(365,10826 + def connected(375,11166 + def exception(379,11294 + def test_throwExceptionIntoGenerator(388,11514 + def generatorFunc(397,11914 +class PBFailureUnsafeTests(415,12541 +class DummyInvoker(421,12658 +class FailureJellyingTests(430,12824 + def test_unjelliedFailureCheck(434,12940 + def test_twiceUnjelliedFailureCheck(449,13608 + def test_printTracebackIncludesValue(472,14661 + +venv/lib/python2.7/site-packages/twisted/spread/test/test_jelly.py,2422 +class TestNode(19,381 + def __init__(25,520 +class A:A36,750 + def amethod(41,793 +def afunc(48,893 +class B:B55,982 + def bmethod(60,1025 +class C:C67,1125 + def cmethod(72,1168 +class D(79,1268 +class E(86,1331 + def __init__(93,1431 + def __getstate__(98,1511 + def __setstate__(102,1585 +class SimpleJellyTest:SimpleJellyTest108,1679 + def __init__(109,1702 + def isTheSameAs(113,1771 +class JellyTests(118,1855 + def _testSecurity(129,2212 + def test_methodsNotSelfIdentity(149,2868 + def test_newStyle(167,3374 + def test_newStyleWithSlots(184,3795 + def test_typeOldStyle(197,4137 + def test_typeNewStyle(207,4386 + def test_typeBuiltin(217,4634 + def test_dateTime(227,4875 + def test_decimal(242,5370 + def test_decimalUnjelly(258,5930 + def test_decimalSecurity(278,6781 + def test_set(288,7137 + def test_frozenset(300,7522 + def test_setSecurity(312,7925 + def test_frozensetSecurity(322,8260 + def test_oldSets(332,8619 + def test_oldImmutableSets(352,9410 + def test_simple(374,10318 + def test_identity(386,10656 + def test_unicode(402,11039 + def test_stressReferences(409,11213 + def test_moreReferences(419,11508 + def test_typeSecurity(428,11693 + def test_newStyleClasses(437,11953 + def test_lotsaTypes(442,12050 + def test_setState(455,12489 + class TupleState:TupleState457,12544 + def __init__(458,12570 + def __getstate__(460,12644 + def __setstate__(462,12717 + def __hash__(464,12798 + def test_classSecurity(475,13147 + def test_unjellyable(504,14085 + class JellyableTestClass(509,14246 + def test_persistentStorage(519,14623 + def persistentStore(521,14685 + def persistentLoad(526,14846 + def test_newStyleClassesAttributes(546,15424 + def _check_newstyle(558,15720 + def test_referenceable(567,16025 +class JellyDeprecationTests(587,16724 + def test_deprecatedInstanceAtom(592,16827 + def test_deprecatedUnjellyingInstanceAtom(608,17396 +class ClassA(628,18065 + def __init__(629,18107 +class ClassB(634,18166 + def __init__(635,18208 +class CircularReferenceTests(640,18263 + def test_simpleCircle(645,18402 + def test_circleWithInvoker(653,18688 + class DummyInvokerClass:DummyInvokerClass654,18726 + def test_set(667,19189 + def test_frozenset(680,19576 + +venv/lib/python2.7/site-packages/twisted/spread/test/test_pb.py,8541 +class Dummy(37,1142 + def view_doNothing(38,1168 +class DummyPerspective(45,1344 + def perspective_getDummyViewPoint(49,1459 +class DummyRealm(55,1558 + def requestAvatar(56,1584 +class IOPump:IOPump62,1789 + def __init__(68,1957 + def flush(75,2143 + def stop(89,2571 + def pump(97,2734 +def connectServerAndClient(124,3459 + def maybeDisconnect(154,4577 + def disconnectClientFactory(158,4720 +class _ReconnectingFakeConnectorState(176,5364 + def __init__(185,5651 + def notifyOnConnect(189,5714 + def notifyAll(203,6090 +class _ReconnectingFakeConnector(212,6268 + def __init__(218,6429 + def connect(231,6841 +def connectedServerAndClient(240,7049 +class SimpleRemote(256,7593 + def remote_thunk(257,7631 + def remote_knuth(261,7711 +class NestedRemote(265,7772 + def remote_getSimple(266,7810 +class SimpleCopy(270,7874 + def __init__(271,7905 +class SimpleLocalCopy(277,8011 +class SimpleFactoryCopy(283,8116 + def __init__(289,8274 +def createFactoryCopy(294,8369 +class NestedCopy(314,9077 + def remote_getCopy(315,9113 + def remote_getFactory(318,9172 +class SimpleCache(323,9255 + def __init___(324,9288 +class NestedComplicatedCache(330,9395 + def __init__(331,9443 + def remote_getCache(334,9516 +class VeryVeryComplicatedCacheable(338,9571 + def __init__(339,9621 + def setFoo4(344,9705 + def getStateToCacheAndObserveFor(348,9792 + def stoppedObserving(354,9984 +class RatherBaroqueCache(361,10184 + def observe_foo(362,10226 + def observe_end(365,10288 +class SimpleLocalCache(371,10431 + def setCopyableState(372,10471 + def checkMethod(375,10547 + def checkSelf(378,10601 + def check(381,10647 +class NestedCache(387,10745 + def __init__(388,10782 + def remote_getCache(391,10838 + def remote_putCache(394,10901 +class Observable(398,10974 + def __init__(399,11010 + def remote_observe(402,11063 + def remote_unobserve(405,11134 + def notify(408,11207 +class DeferredRemote(413,11329 + def __init__(414,11369 + def runMe(417,11415 + def dontRunMe(421,11488 + def remote_doItLater(424,11564 +class Observer(435,11834 + def remote_notify(438,11900 +class NewStyleCopy(444,12051 + def __init__(445,12107 +class NewStyleCopy2(450,12209 + def __new__(455,12319 + def __init__(461,12459 +class NewStyleCacheCopy(467,12581 + def getStateToCacheAndObserveFor(468,12644 +class Echoer(474,12807 + def remote_echo(475,12830 + def remote_echoWithKeywords(479,12881 +class CachedReturner(483,12956 + def __init__(484,12987 + def remote_giveMeCache(486,13045 +class NewStyleTests(490,13111 + def setUp(492,13163 + def tearDown(505,13639 + class variables.508,13753 + def test_newStyle(515,13898 + def cb(522,14140 + def test_alloc(529,14362 + def cb(538,14692 + def test_newStyleWithKeywords(550,15167 + def cb(559,15520 +class ConnectionNotifyServerFactory(571,15906 + def __init__(585,16365 + def clientConnectionMade(593,16542 +class NewStyleCachedTests(604,16831 + def setUp(605,16877 + def gotRoot(617,17356 + def tearDown(624,17562 + def test_newStyleCache(633,17823 + def cb(640,18135 +class BrokerTests(658,18737 + def tearDown(661,18799 + def thunkErrorBad(668,18972 + def thunkResultGood(671,19082 + def thunkErrorGood(674,19156 + def thunkResultBad(677,19204 + def test_reference(680,19311 + class X(683,19399 + def remote_catch(684,19434 + class Y(687,19509 + def remote_throw(688,19544 + def test_result(704,20023 + def refcountResult(722,20767 + def test_tooManyRefs(725,20841 + def test_copy(742,21517 + def test_observe(755,22007 + def test_defer(775,22655 + def test_refcount(791,23237 + def test_cache(818,24087 + def test_publishable(889,26875 + def gotCopy(917,28035 + def test_factoryCopy(921,28099 +def finishedCallback(941,28662 +class Pagerizer(947,28789 + def __init__(948,28824 + def remote_getPages(951,28935 +class FilePagerizer(957,29129 + def __init__(960,29186 + def remote_getPages(964,29340 +class PagingTests(971,29568 + def setUp(976,29666 + def test_pagingWithCallback(985,29881 + def test_pagingWithoutCallback(1005,30684 + def test_emptyFilePaging(1020,31190 + def test_filePagingWithCallback(1042,31931 + def test_filePagingWithoutCallback(1065,32929 +class DumbPublishable(1083,33540 + def getStateToPublish(1084,33584 +class DumbPub(1088,33658 + def activated(1089,33698 +class GetPublisher(1093,33757 + def __init__(1094,33795 + def remote_getPub(1097,33866 +class DisconnectionTests(1103,33974 + def error(1108,34070 + def gotDisconnected(1112,34173 + def objectDisconnected(1118,34295 + def test_badSerialization(1125,34482 + def test_disconnection(1135,34818 +class FreakOut(1171,36078 +class BadCopyable(1175,36116 + def getStateToCopyFor(1176,36148 +class BadCopySet(1180,36211 + def remote_setBadCopy(1181,36247 +class LocalRemoteTest(1185,36306 + def sync_add1(1188,36378 + def async_add(1191,36428 + def async_fail(1194,36485 +class MyPerspective(1200,36573 + def __init__(1210,36845 + def perspective_getAvatarId(1214,36914 + def perspective_getViewPoint(1221,37083 + def perspective_add(1225,37149 + def logout(1234,37440 +class TestRealm(1239,37495 + def requestAvatar(1255,38041 +class MyView(1274,38779 + def view_check(1276,38807 +class LeakyRealm(1281,38889 + def __init__(1286,39022 + def requestAvatar(1296,39262 +class NewCredLeakTests(1303,39474 + def test_logoutLeak(1307,39575 + def setMindRef(1316,39989 + def cbResponse(1327,40357 + def connectionLost(1333,40601 +class NewCredTests(1351,41234 + def setUp(1355,41345 + def establishClientAndServer(1367,41771 + def completeClientLostConnection(1400,43025 + def test_getRootObject(1420,43863 + def gotRootObject(1429,44196 + def disconnect(1433,44323 + def test_deadReferenceError(1448,44740 + def gotRootObject(1456,45043 + def lostConnection(1460,45196 + def test_clientConnectionLost(1475,45618 + class ReconnectOnce(1481,45868 + def clientConnectionLost(1484,45957 + def gotRootObject(1498,46503 + def disconnected(1507,46812 + def gotAnotherRootObject(1510,46903 + def test_immediateClose(1523,47444 + def test_loginConnectionRefused(1534,47904 + def test_loginLogout(1550,48531 + def cbLogin(1569,49346 + def cbDisconnect(1574,49547 + def cbLogout(1581,49743 + def test_logoutAfterDecref(1597,50248 + class EventPerspective(1605,50559 + def __init__(1609,50702 + def logout(1612,50766 + def cbLoggedIn(1623,51116 + def cbLoggedOut(1629,51354 + def test_concurrentLogin(1647,51953 + def cbLoggedIn(1661,52593 + def cbAvatarIds(1667,52839 + def test_badUsernamePasswordLogin(1679,53108 + def cleanup(1696,53802 + def test_anonymousLogin(1707,54057 + def cbLoggedIn(1716,54433 + def test_anonymousLoginNotPermitted(1727,54691 + def cleanup(1737,55094 + def test_anonymousLoginWithMultipleCheckers(1748,55352 + def cbLogin(1758,55810 + def test_authenticatedLoginWithMultipleCheckers(1770,56063 + def cbLogin(1781,56557 + def test_view(1793,56813 + def cbLogin(1803,57174 + def cbView(1807,57298 +class NonSubclassingPerspective:NonSubclassingPerspective1821,57566 + def __init__(1822,57599 + def perspectiveMessageReceived(1826,57681 + def logout(1832,57944 +class NSPTests(1837,57999 + def setUp(1842,58172 + def test_NSP(1855,58759 + def cleanup(1867,59333 +class IForwarded(1876,59537 + def forwardMe(1881,59643 + def forwardDeferred(1886,59724 +class Forwarded:Forwarded1893,59838 + def forwardMe(1905,60131 + def dontForwardMe(1911,60256 + def forwardDeferred(1918,60451 +class SpreadUtilTests(1925,60576 + def test_sync(1930,60673 + def test_async(1938,60904 + def test_asyncFail(1950,61258 + def eb(1956,61437 + def test_remoteMethod(1962,61631 + def test_localAsyncForwarder(1970,61856 +class PBWithSecurityOptionsTests(1988,62371 + def test_clientDefaultSecurityOptions(1993,62474 + def test_serverDefaultSecurityOptions(2003,62793 + def test_clientSecurityCustomization(2013,63120 + def test_serverSecurityCustomization(2024,63493 + +venv/lib/python2.7/site-packages/twisted/spread/test/test_banana.py,1344 +class MathTests(23,555 + def test_int2b128(24,591 +def selectDialect(36,947 +def encode(52,1494 +class BananaTestBase(75,2147 + def setUp(82,2339 + def putResult(91,2635 + def tearDown(101,2882 +class BananaTests(107,3001 + def test_string(112,3079 + def test_unsupportedUnicode(118,3236 + def test_unsupportedBuiltinType(129,3606 + def test_unsupportedUserType(142,4052 + def _unsupportedTypeTest(151,4411 + def test_int(168,5140 + def test_largeLong(181,5634 + def _getSmallest(204,6532 + def test_encodeTooLargeLong(217,7003 + def test_decodeTooLargeLong(226,7298 + def _getLargest(241,7815 + def test_encodeTooSmallLong(245,7880 + def test_decodeTooSmallLong(254,8181 + def test_integer(269,8704 + def test_negative(275,8863 + def test_float(281,9025 + def test_list(287,9185 + def test_partial(295,9447 + def feed(309,9953 + def test_oversizedList(320,10208 + def test_oversizedString(326,10397 + def test_crashString(332,10590 + def test_crashNegativeLong(351,11405 + def test_sizedIntegerTypes(364,11940 +class DialectTests(395,13382 + def test_dialectNotSet(403,13624 + def test_receivePb(413,13912 + def test_receiveIllegalPb(422,14179 + def test_sendPb(431,14509 +class GlobalCoderTests(442,14805 + def test_statelessDecode(446,14936 + +venv/lib/python2.7/site-packages/twisted/spread/util.py,951 +class LocalMethod:LocalMethod20,385 + def __init__(21,404 + def __call__(25,494 +class LocalAsRemote:LocalAsRemote29,594 + def callRemote(35,733 + def remoteMethod(56,1540 +class LocalAsyncForwarder:LocalAsyncForwarder60,1615 + def __init__(65,1722 + def _callMethod(71,1993 + def callRemote(74,2102 +class Pager:Pager86,2557 + def __init__(90,2634 + def stillPaging(105,3151 + def sendNextPage(115,3499 + def nextPage(121,3674 + def stopPaging(127,3829 +class StringPager(134,3954 + def __init__(138,4049 + def nextPage(144,4281 +class FilePager(153,4543 + def __init__(158,4646 + def startProducing(163,4834 + def registerProducer(167,5000 + def unregisterProducer(172,5157 + def write(175,5221 + def sendNextPage(178,5284 +class CallbackPageCollector(190,5607 + def __init__(196,5846 + def remote_gotPage(200,5938 + def remote_endedPaging(203,6007 +def getAllPages(207,6077 + +venv/lib/python2.7/site-packages/twisted/spread/interfaces.py,104 +class IJellyable(11,148 + def jellyFor(12,177 +class IUnjellyable(19,265 + def unjellyFor(20,296 + +venv/lib/python2.7/site-packages/twisted/spread/jelly.py,2570 +def _createBlank(149,4207 +def _newInstance(168,4860 + def defaultSetter(179,5220 +def _maybeClass(187,5387 +def setUnjellyableForClass(200,5692 +def setUnjellyableFactoryForClass(226,6547 +def setUnjellyableForClassTree(247,7216 +def getInstanceState(289,8668 +def setInstanceState(303,9058 +class Unpersistable:Unpersistable316,9372 + def __init__(322,9505 + def __repr__(329,9672 +class Jellyable:Jellyable335,9779 + def getStateFor(341,9907 + def jellyFor(345,9974 +class Unjellyable:Unjellyable358,10329 + def setStateFor(364,10462 + def unjellyFor(368,10539 +class _Jellier:_Jellier380,10857 + def __init__(385,10952 + def _cook(401,11428 + def prepare(432,12877 + def preserve(457,14052 + def _checkMutable(474,14625 + def jelly(483,14857 + def _jellyIterable(583,19723 + def jelly_decimal(601,20136 + def unpersistable(618,20585 +class _Unjellier:_Unjellier633,21025 + def __init__(635,21044 + def unjellyFull(643,21269 + def _maybePostUnjelly(650,21403 + def unjelly(664,21837 + def _genericUnjelly(694,23149 + def _unjelly_None(712,23770 + def _unjelly_unicode(716,23826 + def _unjelly_decimal(720,23905 + def _unjelly_boolean(734,24235 + def _unjelly_datetime(742,24471 + def _unjelly_date(746,24571 + def _unjelly_time(750,24663 + def _unjelly_timedelta(754,24755 + def unjellyInto(760,24961 + def _unjelly_dereference(768,25146 + def _unjelly_reference(778,25388 + def _unjelly_tuple(793,25814 + def _unjelly_list(805,26125 + def _unjellySetOrFrozenset(812,26284 + def _unjelly_set(833,26885 + def _unjelly_frozenset(840,27043 + def _unjelly_dictionary(847,27225 + def _unjelly_module(856,27442 + def _unjelly_class(868,27895 + def _unjelly_function(885,28593 + def _unjelly_persistent(896,29004 + def _unjelly_instance(904,29239 + def _unjelly_unpersistable(925,29979 + def _unjelly_method(929,30093 +class InsecureJelly(955,30940 +class DummySecurityOptions:DummySecurityOptions963,31143 + def isModuleAllowed(969,31306 + def isClassAllowed(977,31527 + class is 981,31715 + def isTypeAllowed(986,31785 +class SecurityOptions:SecurityOptions995,31993 + def __init__(1004,32271 + def allowBasicTypes(1020,32850 + def allowTypes(1028,33062 + def allowInstancesOf(1041,33439 + def allowModules(1057,34017 + def isModuleAllowed(1072,34472 + def isClassAllowed(1083,34819 + class is 1087,35002 + def isTypeAllowed(1092,35099 +def jelly(1108,35515 +def unjelly(1121,35947 + +venv/lib/python2.7/site-packages/twisted/spread/publish.py,501 +class Publishable(21,378 + def __init__(24,486 + def republish(28,588 + def view_getStateToPublish(33,736 + def getStateToPublishFor(37,867 + def getStateToPublish(42,1039 + def getStateToCacheAndObserveFor(47,1241 +class RemotePublished(63,1815 + def getFileName(68,1977 + def setCopyableState(72,2130 + def __getstate__(89,2745 + def _cbGotUpdate(100,3076 + def activated(112,3477 + def callWhenActivated(117,3636 +def whenReady(125,3919 +def _pubReady(140,4394 + +venv/lib/python2.7/site-packages/twisted/spread/pb.py,4093 +class ProtocolError(81,2792 +class DeadReferenceError(88,2916 +class Error(96,3091 +class RemoteError(108,3417 + def __init__(127,4104 +class RemoteMethod:RemoteMethod135,4303 + def __init__(139,4396 + def __cmp__(147,4580 + def __hash__(151,4661 + def __call__(155,4730 +class PBConnectionLost(164,4976 +class IPerspective(169,5023 + def perspectiveMessageReceived(184,5581 +class Avatar:Avatar212,6613 + def perspectiveMessageReceived(228,7174 +class AsReferenceable(253,8001 + def __init__(258,8105 +class RemoteReference(266,8300 + def __init__(285,8974 + def notifyOnDisconnect(298,9380 + def dontNotifyOnDisconnect(311,9835 + def _disconnected(322,10175 + def jellyFor(331,10416 + def unjellyFor(342,10825 + def callRemote(347,11001 + def remoteMethod(369,11951 + def __cmp__(378,12128 + def __hash__(389,12432 + def __del__(396,12524 +class Local:Local405,12756 + def __init__(410,12832 + def __repr__(419,13022 + def incref(423,13117 + def decref(433,13332 +class CopyableFailure(445,13558 + def getStateToCopy(453,13771 +class CopiedFailure(475,14498 + def printTraceback(491,14964 + def throwExceptionIntoGenerator(502,15364 +def failure2Copyable(522,16094 +class Broker(529,16253 + def __init__(538,16386 + def resumeProducing(577,18121 + def pauseProducing(591,18645 + def stopProducing(596,18755 + def registerPageProducer(601,18864 + def expressionReceived(607,19044 + def proto_version(628,19634 + def sendCall(642,20017 + def proto_didNotUnderstand(651,20222 + def connectionReady(664,20633 + def connectionFailed(678,21008 + def connectionLost(690,21287 + def notifyOnDisconnect(730,22696 + def notifyOnFail(739,22914 + def notifyOnConnect(748,23126 + def dontNotifyOnDisconnect(763,23477 + def localObjectForID(774,23734 + def registerReference(793,24244 + def setNameForLocal(822,25267 + def remoteForName(839,25721 + def cachedRemotelyAs(855,26180 + def remotelyCachedForLUID(872,26734 + def cacheRemotely(881,26956 + def cacheLocally(904,27825 + def cachedLocallyAs(912,28011 + def serialize(917,28123 + def unserialize(957,29585 + def newLocalID(972,30025 + def newRequestID(981,30208 + def _sendMessage(990,30405 + def proto_message(1024,31727 + def proto_cachemessage(1028,31931 + def _recvMessage(1032,32139 + def _sendAnswer(1084,34453 + def proto_answer(1094,34728 + def _sendFailureOrError(1108,35143 + def _sendFailure(1122,35566 + def _sendError(1134,35874 + def proto_error(1154,36703 + def sendDecRef(1166,37023 + def proto_decref(1175,37213 + def decCacheRef(1194,37842 + def proto_decache(1203,38035 + def proto_uncache(1230,39072 +def respond(1246,39532 +def challenge(1267,39987 +class PBClientFactory(1280,40210 + def __init__(1292,40525 + def buildProtocol(1307,41044 + def _reset(1316,41283 + def _failAll(1322,41417 + def clientConnectionFailed(1329,41575 + def clientConnectionLost(1333,41664 + def clientConnectionMade(1346,42068 + def getRootObject(1355,42324 + def disconnect(1368,42663 + def _cbSendUsername(1380,43021 + def _cbResponse(1385,43199 + def _cbLoginAnonymous(1390,43387 + def login(1409,44118 +class PBServerFactory(1435,44926 + def __init__(1452,45483 + def buildProtocol(1470,46168 + def clientConnectionMade(1480,46491 +class IUsernameMD5Password(1486,46600 + def checkPassword(1498,47008 + def checkMD5Password(1513,47512 +class _PortalRoot:_PortalRoot1531,48071 + def __init__(1536,48149 + def rootObject(1540,48212 +class _JellyableAvatarMixin:_JellyableAvatarMixin1547,48347 + def _cbLogin(1552,48494 + def maybeLogout(1567,49113 +class _PortalWrapper(1580,49392 + def __init__(1585,49525 + def remote_login(1590,49625 + def remote_loginAnonymous(1600,49874 +class _PortalAuthChallenger(1618,50453 + def __init__(1622,50584 + def remote_respond(1629,50773 + def checkPassword(1636,50964 + def checkMD5Password(1646,51224 + +venv/lib/python2.7/site-packages/twisted/spread/banana.py,514 +class BananaError(26,695 +def int2b128(29,735 +def b1282int(39,973 +def setPrefixLimit(73,1734 +class Banana(93,2290 + def setPrefixLimit(110,2779 + def connectionReady(123,3164 + def _selectDialect(129,3292 + def callExpressionReceived(134,3402 + def connectionMade(161,4598 + def gotItem(168,4787 + def dataReceived(177,4970 + def expressionReceived(253,7969 + def __init__(303,9353 + def sendEncoded(310,9555 + def _encode(327,10027 +def encode(379,11917 +def decode(387,12094 + +venv/lib/python2.7/site-packages/twisted/spread/flavors.py,1608 +class NoSuchMethod(50,1603 +class IPBRoot(54,1692 + def rootObject(57,1784 +class Serializable(61,1866 + def processUniqueID(81,2799 +class Referenceable(91,3126 + def remoteMessageReceived(104,3570 + def jellyFor(131,4683 +class Root(142,4943 + def rootObject(151,5257 +class ViewPoint(161,5566 + def __init__(201,7472 + def processUniqueID(207,7657 + def remoteMessageReceived(212,7839 +class Viewable(236,8769 + def jellyFor(245,9133 +class Copyable(252,9354 + def getStateToCopy(264,9819 + def getStateToCopyFor(273,10060 + def getTypeToCopy(284,10362 + def getTypeToCopyFor(294,10687 + def jellyFor(303,10962 +class Cacheable(320,11547 + def getStateToCacheAndObserveFor(332,11977 + def jellyFor(348,12669 + def stoppedObserving(370,13596 +class RemoteCopy(379,13843 + def setCopyableState(392,14398 + def unjellyFor(405,14914 +class RemoteCache(413,15150 + def remoteMessageReceived(426,15657 + def jellyFor(445,16405 + def unjellyFor(454,16763 + def __cmp__(479,17854 + def __hash__(487,18115 + def __del__(495,18259 + def _borgify(506,18554 +def unjellyCached(533,19716 +def unjellyLCache(539,19897 +def unjellyLocal(546,20087 +class RemoteCacheMethod:RemoteCacheMethod553,20265 + def __init__(557,20351 + def __cmp__(565,20579 + def __hash__(568,20693 + def __call__(571,20795 +class RemoteCacheObserver:RemoteCacheObserver584,21280 + def __init__(593,21629 + def __repr__(608,22071 + def __hash__(612,22223 + def __cmp__(620,22513 + def callRemote(626,22686 + def remoteMethod(639,23278 + +venv/lib/python2.7/site-packages/twisted/tap/portforward.py,46 +class Options(12,255 +def makeService(25,648 + +venv/lib/python2.7/site-packages/twisted/tap/ftp.py,107 +class Options(20,401 + def __init__(36,950 + def opt_password_file(41,1090 +def makeService(54,1610 + +venv/lib/python2.7/site-packages/twisted/tap/socks.py,46 +class Options(16,296 +def makeService(29,823 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_words.py,117 +class RelayChatInterface(27,541 + def getFactory(31,594 +class PBChatInterface(39,812 + def getFactory(43,861 + +venv/lib/python2.7/site-packages/twisted/plugins/cred_sshkeys.py,75 + class SSHKeyCheckerFactory(29,667 + def generateChecker(39,995 + +venv/lib/python2.7/site-packages/twisted/plugins/cred_file.py,66 +class FileCheckerFactory(33,816 + def generateChecker(45,1222 + +venv/lib/python2.7/site-packages/twisted/plugins/cred_unix.py,217 +def verifyCryptedPassword(24,579 +class UNIXChecker(52,1437 + def checkPwd(65,1810 + def checkSpwd(93,2933 + def requestAvatarId(123,4150 +class UNIXCheckerFactory(166,5345 + def generateChecker(175,5597 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_trial.py,49 +class _Reporter(11,204 + def __init__(13,230 + +venv/lib/python2.7/site-packages/twisted/plugins/cred_anonymous.py,70 +class AnonymousCheckerFactory(26,593 + def generateChecker(36,876 + +venv/lib/python2.7/site-packages/twisted/plugins/cred_memory.py,70 +class InMemoryCheckerFactory(32,829 + def generateChecker(49,1494 + +venv/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py,430 +class POP3TestServer(58,1345 + def __init__(59,1387 + def sendSTATResp(66,1553 + def sendUIDLResp(70,1616 + def sendLISTResp(74,1679 + def sendCapabilities(78,1742 + def connectionMade(96,2149 + def sendGreeting(108,2385 + def lineReceived(112,2454 + def startTLS(200,4707 + def disconnect(211,5015 + def getContext(215,5083 +def printMessage(240,6119 +def processArg(245,6191 +def main(310,7933 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_imap.py,29506 +def strip(56,1678 +class IMAP4UTF7Tests(61,1730 + def test_encodeWithErrors(71,2106 + def test_decodeWithErrors(83,2484 + def test_encodeAmpersand(93,2766 + def test_decodeWithoutFinalASCIIShift(105,3112 + def test_getreader(116,3440 + def test_getwriter(125,3732 + def test_encode(136,4075 + def test_decode(145,4384 + def test_printableSingletons(154,4693 +class BufferingConsumer:BufferingConsumer169,5309 + def __init__(170,5334 + def write(174,5385 + def registerProducer(180,5519 + def unregisterProducer(185,5647 +class MessageProducerTests(190,5713 + def testSinglePart(192,5772 + def cbProduced(206,6224 + def testSingleMultiPart(221,6668 + def cbProduced(242,7499 + def testMultipleMultiPart(265,8196 + def cbProduced(291,9266 + def test_multiPartNoBoundary(318,10153 + def cbProduced(344,11128 + def test_multiPartNoQuotes(368,11966 + def cbProduced(392,12875 +class MessageSetTests(417,13610 + def test_equalityIterationAndAddition(422,13709 + def test_lengthWithWildcardRange(474,15293 + def test_reprSanity(482,15550 + def test_stringRepresentationWithWildcards(489,15697 + def test_stringRepresentationWithInversion(513,16317 + def test_createWithSingleMessageNumber(534,16894 + def test_createWithSequence(547,17354 + def test_createWithSingleWildcard(561,17904 + def test_setLastSingleWildcard(574,18370 + def test_setLastWithWildcardRange(588,18854 + def test_setLastTwiceFails(598,19117 + def test_lastOverridesNoneInAdd(608,19347 + def test_getLast(628,19958 + def test_extend(637,20160 + def test_contains(665,21188 + def test_rangesMerged(687,21896 + def test_seq_rangeExamples(712,22857 + def test_sequence_setExamples(735,23608 +class IMAP4HelperTests(772,24919 + def test_commandRepr(776,25038 + def test_fileProducer(783,25222 + def cbProduced(790,25433 + def cbResume(797,25672 + def test_wildcard(810,26086 + def test_wildcardNoDelim(832,26975 + def test_headerFormatter(854,27910 + def test_quotedSplitter(871,28523 + def test_stringCollapser(931,30397 + def test_parenParser(957,31277 + def check(959,31347 + def test_fetchParserSimple(1018,34184 + def test_fetchParserMacros(1040,35055 + def test_fetchParserBody(1060,35818 + def test_fetchParserQuotedHeader(1176,40967 + def test_fetchParserEmptyString(1192,41582 + def test_fetchParserUnknownAttribute(1201,41803 + def test_fetchParserIncompleteStringEndsInWhitespace(1210,42057 + def test_fetchParserExpectedWhitespace(1219,42350 + def test_fetchParserTextSection(1228,42654 + def test_fetchParserUnknownSection(1241,43102 + def test_fetchParserMissingSectionClose(1250,43359 + def test_fetchParserHeaderMissingParentheses(1263,43799 + def test_fetchParserDotlessPartial(1277,44349 + def test_fetchParserUnclosedPartial(1287,44643 + def test_files(1297,44969 + def test_quoteAvoider(1308,45280 + def test_literals(1324,45752 + def test_queryBuilder(1333,45979 + def test_queryKeywordFlagWithQuotes(1377,47546 + def test_queryUnkeywordFlagWithQuotes(1389,47944 + def test_queryWithMesssageSet(1401,48350 + def test_queryWithInteger(1410,48666 + def test_queryOrIllegalQuery(1419,48918 + def _keywordFilteringTest(1428,49200 + def test_queryKeywordFlag(1449,49947 + def test_queryUnkeywordFlag(1465,50529 + def test_invalidIdListParser(1481,51117 + def test_invalidIdListParserNonPositive(1498,51560 + def test_parseIdList(1519,52191 + def test_parseTimeInvalidFormat(1575,53905 + def test_parseTimeInvalidValues(1583,54149 + def test_statusRequestHelper(1597,54564 +class SimpleMailbox:SimpleMailbox1620,55271 + def __init__(1627,55419 + def getFlags(1633,55574 + def getUIDValidity(1637,55626 + def getUIDNext(1641,55676 + def getMessageCount(1645,55742 + def getRecentCount(1649,55792 + def getUnseenCount(1653,55841 + def isWriteable(1657,55890 + def destroy(1661,55942 + def getHierarchicalDelimiter(1665,55980 + def requestStatus(1669,56041 + def addMessage(1684,56530 + def expunge(1690,56709 + def close(1700,56954 +class UncloseableMailbox(1706,57054 + def __init__(1716,57268 + def getFlags(1722,57423 + def getUIDValidity(1731,57556 + def getUIDNext(1740,57691 + def getMessageCount(1749,57830 + def getRecentCount(1758,57966 + def getUnseenCount(1767,58098 + def isWriteable(1776,58230 + def destroy(1785,58393 + def getHierarchicalDelimiter(1792,58485 + def requestStatus(1801,58646 + def addMessage(1823,59292 + def expunge(1841,59746 +class AccountWithoutNamespaces(1857,60113 + def _emptyMailbox(1862,60305 + def select(1866,60383 +class Account(1874,60548 +class SimpleServer(1881,60692 + def __init__(1883,60777 + def lineReceived(1895,61171 +class SimpleClient(1904,61344 + def __init__(1905,61383 + def serverGreeting(1911,61557 + def modeChanged(1915,61632 + def flagsChanged(1920,61767 + def newMessages(1925,61902 +class IMAP4HelperMixin:IMAP4HelperMixin1931,62048 + def setUp(1936,62116 + def tearDown(1948,62498 + def _cbStopClient(1954,62599 + def _ebGeneral(1958,62685 + def loopback(1964,62870 + def assertClientFailureMessage(1968,62960 +class IMAP4ServerTests(1988,63521 + def testCapability(1989,63582 + def getCaps(1991,63630 + def gotCaps(1992,63653 + def testCapabilityWithAuth(2002,64126 + def getCaps(2005,64248 + def gotCaps(2006,64271 + def testLogout(2019,64784 + def logout(2021,64837 + def setLoggedOut(2022,64859 + def testNoop(2030,65176 + def noop(2032,65230 + def setResponses(2033,65250 + def testLogin(2042,65629 + def login(2043,65654 + def _cbTestLogin(2051,65973 + def testFailedLogin(2056,66135 + def login(2057,66166 + def _cbTestFailedLogin(2067,66505 + def test_loginWithoutPortal(2072,66656 + def login(2078,66850 + def test_nonIAccountAvatar(2088,67189 + def brokenRequestAvatar(2096,67477 + def login(2101,67659 + def test_loginException(2111,67997 + class UnexpectedException(2118,68211 + def raisesUnexpectedException(2123,68327 + def login(2128,68496 + def assertErrorLogged(2136,68746 + def testLoginRequiringQuoting(2147,69060 + def login(2150,69173 + def _cbTestLoginRequiringQuoting(2160,69575 + def testNamespace(2165,69753 + def login(2167,69816 + def namespace(2169,69905 + def gotNamespace(2170,69930 + def assertAllPairsNativeStrings(2182,70348 + def test_mailboxWithoutNamespace(2193,70706 + def login(2200,71020 + def namespace(2202,71109 + def gotNamespace(2203,71134 + def testSelect(2218,71653 + def login(2221,71771 + def select(2223,71860 + def selected(2224,71882 + def test_selectWithoutMailbox(2238,72344 + def login(2243,72504 + def select(2245,72593 + def assertNoMailboxSelected(2260,73144 + def _cbTestSelect(2266,73269 + def test_examine(2276,73643 + def login(2293,74425 + def examine(2295,74514 + def examined(2296,74537 + def _cbTestExamine(2311,75016 + def testCreate(2320,75383 + def cb(2324,75525 + def eb(2326,75566 + def login(2328,75614 + def create(2331,75704 + def _cbTestCreate(2344,76175 + def testDelete(2352,76533 + def login(2355,76616 + def delete(2357,76705 + def testDeleteWithInferiorHierarchicalNames(2370,77159 + def login(2382,77580 + def delete(2384,77669 + def assertIMAPException(2387,77740 + def testIllegalInboxDelete(2408,78488 + def login(2410,78554 + def delete(2412,78643 + def stash(2414,78712 + def testNonExistentDelete(2428,79212 + def login(2429,79249 + def delete(2431,79338 + def deleteFailed(2433,79411 + def testIllegalDelete(2447,79927 + def login(2453,80135 + def delete(2455,80224 + def deleteFailed(2457,80294 + def testRename(2473,80884 + def login(2475,80964 + def rename(2477,81053 + def testIllegalInboxRename(2493,81608 + def login(2495,81674 + def rename(2497,81763 + def stash(2499,81841 + def testHierarchicalRename(2513,82302 + def login(2516,82446 + def rename(2518,82535 + def _cbTestHierarchicalRename(2529,82923 + def testSubscribe(2536,83194 + def login(2537,83223 + def subscribe(2539,83312 + def testUnsubscribe(2553,83822 + def login(2555,83928 + def unsubscribe(2557,84017 + def _listSetup(2571,84533 + def login(2576,84752 + def listed(2578,84841 + def assertListDelimiterAndMailboxAreStrings(2590,85258 + def testList(2606,85825 + def mailboxList(2607,85849 + def assertListContents(2611,85989 + def testLSub(2630,86590 + def lsub(2632,86673 + def testStatus(2641,86972 + def login(2643,87058 + def status(2645,87147 + def statused(2647,87257 + def testFailedStatus(2664,87811 + def login(2665,87843 + def status(2667,87932 + def statused(2670,88083 + def failed(2672,88148 + def _cbTestFailedStatus(2684,88584 + def testFullAppend(2694,88812 + def login(2697,88960 + def append(2701,89081 + def _cbTestFullAppend(2721,89742 + def testPartialAppend(2734,90188 + def login(2737,90342 + def append(2741,90463 + def _cbTestPartialAppend(2769,91646 + def _testCheck(2780,92031 + def login(2782,92118 + def select(2784,92207 + def check(2786,92285 + def test_check(2796,92601 + def test_checkFail(2804,92779 + def failSelect(2809,92938 + def checkResponse(2812,93040 + def testClose(2822,93367 + def login(2830,93685 + def select(2832,93774 + def close(2834,93846 + def _cbTestClose(2845,94238 + def testExpunge(2852,94455 + def login(2860,94775 + def select(2864,94866 + def expunge(2868,94939 + def expunged(2872,95005 + def _cbTestExpunge(2887,95560 +class IMAP4ServerParsingTests(2895,95781 + def setUp(2900,95908 + def tearDown(2907,96098 + def test_parseMethodExceptionLogged(2911,96200 + class UnhandledException(2916,96342 + def raisesValueError(2921,96456 + def test_missingCommand(2932,96743 + def test_emptyLine(2947,97180 + def assertParseExceptionResponse(2957,97445 + def raises(2973,97917 + def test_parsingRaisesIllegalClientResponse(2984,98205 + def test_parsingRaisesIllegalOperationResponse(2995,98570 + def test_parsingRaisesIllegalMailboxEncoding(3006,98917 + def test_unsupportedCommand(3017,99275 + def test_tooManyArgumentsForCommand(3027,99598 + def assertCommandExceptionResponse(3043,100084 + def raises(3059,100557 + def test_commandRaisesIllegalClientResponse(3072,100953 + def test_commandRaisesIllegalOperationResponse(3083,101313 + def test_commandRaisesIllegalMailboxEncoding(3094,101655 + def test_commandRaisesUnhandledException(3105,102008 + class UnhandledException(3111,102206 + def test_stringLiteralTooLong(3124,102547 + def test_arg_astringEmptyLine(3137,103004 + def test_arg_astringUnmatchedQuotes(3146,103307 + def test_arg_astringUnmatchedLiteralBraces(3155,103591 + def test_arg_astringInvalidLiteralSize(3164,103885 + def test_arg_atomEmptyLine(3173,104179 + def test_arg_atomMalformedAtom(3181,104406 + def test_arg_plistEmptyLine(3189,104653 + def test_arg_plistUnmatchedParentheses(3197,104896 + def test_arg_literalEmptyLine(3208,105290 + def test_arg_literalUnmatchedBraces(3216,105531 + def test_arg_literalInvalidLiteralSize(3227,105913 + def test_arg_seqsetReturnsRest(3236,106200 + def test_arg_seqsetInvalidSequence(3245,106473 + def test_arg_flaglistOneFlag(3253,106725 + def test_arg_flaglistMismatchedParentehses(3263,107005 + def test_arg_flaglistMalformedFlag(3274,107312 + def test_opt_plistMissingOpenParenthesis(3285,107740 + def test_opt_datetimeMissingOpenQuote(3296,108106 + def test_opt_datetimeMissingCloseQuote(3307,108461 + def test_opt_charsetMissingIdentifier(3317,108807 + def test_opt_charsetEndOfLine(3327,109139 + def test_opt_charsetWithRemainder(3338,109519 +class IMAP4ServerSearchTests(3351,109951 + def setUp(3355,110112 + def test_searchSentBefore(3365,110480 + def test_searchWildcard(3376,110876 + def test_searchWildcardHigh(3390,111413 + def test_reversedSearchTerms(3399,111729 + def test_searchSentOn(3408,112003 + def test_searchSentSince(3421,112487 + def test_searchOr(3432,112877 + def test_searchNot(3455,113716 + def test_searchBefore(3468,114185 + def test_searchOn(3481,114673 + def test_searchSince(3494,115147 +class TestRealm:TestRealm3509,115657 + def __init__(3518,115856 + def requestAvatar(3534,116430 +class TestChecker:TestChecker3539,116555 + def requestAvatarId(3546,116699 + def _cbCheck(3553,116967 +class AuthenticatorTests(3560,117093 + def setUp(3561,117156 + def test_customChallengers(3574,117493 + class SPECIALAuth(3582,117768 + def getChallenge(3584,117804 + def setResponse(3588,117876 + def moreChallenges(3592,117994 + def checkPassword(3596,118063 + def test_unsupportedMethod(3625,119002 + def test_missingPortal(3645,119623 + def auth(3657,119997 + def test_challengerRaisesException(3668,120357 + class ValueErrorAuthChallenge(3676,120617 + def getChallenge(3679,120710 + def setResponse(3683,120795 + def moreChallenges(3691,120984 + class ValueErrorAuthenticator(3697,121137 + def getName(3699,121185 + def challengeResponse(3702,121249 + def auth(3711,121564 + def test_authNotBase64(3723,121984 + class NotBase64AuthChallenge(3729,122211 + def getChallenge(3732,122315 + def setResponse(3736,122393 + def moreChallenges(3744,122582 + def test_unhandledCredentials(3779,123694 + def auth(3800,124393 + def test_unexpectedLoginFailure(3811,124782 + class UnexpectedException(3818,125040 + class FailingChecker:FailingChecker3823,125156 + def requestAvatarId(3831,125444 + def auth(3846,125941 + def assertUnexpectedExceptionLogged(3849,126017 + def testCramMD5(3861,126510 + def auth(3866,126715 + def authed(3868,126790 + def _cbTestCramMD5(3879,127141 + def testFailedCramMD5(3884,127290 + def misauth(3889,127501 + def authed(3891,127587 + def misauthed(3893,127644 + def _cbTestFailedCramMD5(3903,127993 + def testLOGIN(3908,128141 + def auth(3916,128402 + def authed(3918,128477 + def _cbTestLOGIN(3928,128810 + def testFailedLOGIN(3933,128957 + def misauth(3938,129159 + def authed(3942,129247 + def misauthed(3946,129306 + def _cbTestFailedLOGIN(3956,129653 + def testPLAIN(3961,129799 + def auth(3969,130060 + def authed(3972,130136 + def _cbTestPLAIN(3982,130469 + def testFailedPLAIN(3987,130616 + def misauth(3992,130818 + def authed(3994,130904 + def misauthed(3996,130961 + def _cbTestFailedPLAIN(4006,131308 +class SASLPLAINTests(4012,131455 + def test_authenticatorChallengeResponse(4020,131740 + def test_credentialsSetResponse(4035,132215 + def test_credentialsInvalidResponse(4048,132601 +class UnsolicitedResponseTests(4064,133171 + def testReadWrite(4065,133240 + def login(4066,133269 + def loggedIn(4068,133358 + def _cbTestReadWrite(4077,133653 + def testReadOnly(4082,133777 + def login(4083,133805 + def loggedIn(4085,133894 + def _cbTestReadOnly(4094,134188 + def testFlagChange(4099,134311 + def login(4105,134461 + def loggedIn(4107,134550 + def _cbTestFlagChange(4116,134858 + def testNewMessages(4124,135124 + def login(4125,135155 + def loggedIn(4127,135244 + def _cbTestNewMessages(4136,135548 + def testNewRecentMessages(4141,135681 + def login(4142,135718 + def loggedIn(4144,135807 + def _cbTestNewRecentMessages(4153,136117 + def testNewMessagesAndRecent(4158,136256 + def login(4159,136296 + def loggedIn(4162,136386 + def _cbTestNewMessagesAndRecent(4171,136697 +class ClientCapabilityTests(4177,136867 + def setUp(4181,137010 + def test_simpleAtoms(4191,137331 + def gotCapabilities(4199,137757 + def test_categoryAtoms(4206,137998 + def gotCapabilities(4223,139022 + def test_mixedAtoms(4230,139270 + def gotCapabilities(4242,139864 +class StillSimplerClient(4251,140201 + def __init__(4255,140329 + def flagsChanged(4260,140420 +class HandCraftedTests(4265,140497 + def testTrailingLiteral(4266,140558 + def cbCheckTransport(4272,140744 + def cbSelect(4278,140922 + def cbLogin(4286,141197 + def test_fragmentedStringLiterals(4298,141498 + def test_emptyStringLiteral(4325,142496 + def test_unsolicitedResponseMixedWithSolicitedResponse(4346,143197 + def login(4359,143780 + def select(4363,143913 + def fetch(4367,144036 + def test(4382,144814 + def test_literalWithoutPrecedingWhitespace(4403,145536 + def login(4414,145880 + def select(4418,146027 + def fetch(4422,146165 + def test(4430,146519 + def test_nonIntegerLiteralLength(4445,146960 + def login(4457,147416 + def select(4461,147563 + def fetch(4465,147700 + def test_flagsChangedInsideFetchSpecificResponse(4486,148297 + def login(4499,148789 + def select(4505,148924 + def fetch(4511,149049 + def test(4527,149797 + def test_flagsChangedInsideFetchMessageResponse(4543,150303 + def login(4555,150792 + def select(4559,150925 + def fetch(4563,151048 + def test(4575,151532 + def test_authenticationChallengeDecodingException(4594,152096 +class PreauthIMAP4ClientMixin(4625,153286 + def setUp(4640,153759 +class SelectionTestsMixin(4652,154111 + def _examineOrSelect(4657,154282 + def _response(4670,154756 + def test_exists(4682,155193 + def test_nonIntegerExists(4696,155707 + def test_recent(4708,156155 + def test_nonIntegerRecent(4722,156669 + def test_unseen(4734,157117 + def test_nonIntegerUnseen(4748,157664 + def test_uidvalidity(4760,158145 + def test_nonIntegerUIDVALIDITY(4774,158710 + def test_uidnext(4786,159189 + def test_nonIntegerUIDNEXT(4800,159740 + def test_flags(4812,160215 + def test_permanentflags(4829,160892 + def test_unrecognizedOk(4846,161554 + def test_bareOk(4860,162126 +class IMAP4ClientExamineTests(4872,162479 +class IMAP4ClientSelectTests(4893,163168 +class IMAP4ClientExpungeTests(4915,163874 + def _expunge(4929,164288 + def _response(4936,164466 + def test_expunge(4942,164692 + def test_nonIntegerExpunged(4953,165064 +class IMAP4ClientSearchTests(4965,165459 + def _search(4983,166077 + def _response(4990,166276 + def test_search(4996,166493 + def test_nonIntegerFound(5007,166857 +class IMAP4ClientFetchTests(5019,167245 + def test_fetchUID(5026,167454 + def test_fetchUIDNonIntegerFound(5048,168367 + def test_incompleteFetchUIDResponse(5061,168931 + def test_fetchBody(5076,169588 + def test_fetchSpecific(5093,170300 + def test_fetchSpecificPeek(5110,171039 + def test_fetchSpecificNumbered(5125,171644 + def test_fetchSpecificText(5143,172430 + def test_fetchSpecificNumberedText(5160,173194 + def test_incompleteFetchSpecificTextResponse(5178,174043 + def test_fetchSpecificMIME(5193,174706 + def test_fetchSpecificPartial(5210,175470 + def test_incompleteFetchSpecificPartialResponse(5229,176316 + def test_fetchSpecificHTML(5244,176994 + def assertFetchSpecificFieldsWithEmptyList(5261,177745 + def test_fetchSpecificHeaderFieldsWithoutHeaders(5287,178917 + def test_fetchSpecificHeaderFieldsNotWithoutHeaders(5299,179441 + def test_fetchSpecificHeader(5311,179980 +class IMAP4ClientStoreTests(5333,180896 + def _flagsTest(5349,181496 + def _flagsSilentlyTest(5369,182363 + def _flagsSilentlyWithUnsolicitedDataTest(5386,183101 + def test_setFlags(5406,184065 + def test_setFlagsSilently(5417,184494 + def test_setFlagsSilentlyWithUnsolicitedData(5427,184855 + def test_addFlags(5436,185182 + def test_addFlagsSilently(5444,185398 + def test_addFlagsSilentlyWithUnsolicitedData(5453,185737 + def test_removeFlags(5461,186036 + def test_removeFlagsSilently(5469,186261 + def test_removeFlagsSilentlyWithUnsolicitedData(5478,186609 +class IMAP4ClientStatusTests(5487,186918 + def testUnknownName(5502,187395 + def testUndecodableName(5517,187835 +class IMAP4ClientCopyTests(5538,188477 + def test_copySequenceNumbers(5552,188864 + def test_copySequenceNumbersFails(5570,189441 + def test_copyUIDs(5588,190054 + def test_copyUIDsFails(5606,190611 +class FakeyServer(5625,191205 + def sendServerGreeting(5629,191284 +class FakeyMessage(5635,191363 + def __init__(5638,191470 + def getHeaders(5648,191731 + def getFlags(5653,191844 + def getInternalDate(5657,191896 + def getBodyFile(5661,191954 + def getSize(5665,192018 + def getUID(5669,192068 + def isMultipart(5673,192116 + def getSubPart(5677,192185 +class NewStoreTests(5683,192286 + def setUp(5687,192384 + def addListener(5697,192670 + def removeListener(5701,192715 + def store(5705,192763 + def _storeWork(5710,192862 + def connected(5711,192888 + def result(5714,192997 + def check(5723,193211 + def testSetFlags(5731,193480 +class GetBodyStructureTests(5756,194203 + def test_singlePart(5762,194451 + def test_emptyContentType(5789,195452 + def test_onlyMajorContentType(5814,196588 + def test_singlePartExtended(5827,197093 + def test_singlePartWithMissing(5860,198436 + def test_textPart(5878,199066 + def test_rfc822Message(5904,200079 + def test_multiPart(5937,201315 + def test_multiPartExtended(5965,202420 +class NewFetchTests(5999,203892 + def setUp(6000,203950 + def addListener(6011,204263 + def removeListener(6015,204308 + def fetch(6019,204356 + def _fetchWork(6025,204533 + def result(6030,204714 + def testFetchUID(6043,205124 + def testFetchFlags(6060,205615 + def testFetchFlagsUID(6076,206168 + def testFetchInternalDate(6080,206241 + def testFetchInternalDateUID(6098,207067 + def test_fetchInternalDateLocaleIndependent(6102,207154 + def testFetchEnvelope(6127,208238 + def testFetchEnvelopeUID(6152,209105 + def test_fetchBodyStructure(6156,209184 + def testFetchBodyStructureUID(6185,210646 + def test_fetchBodyStructureMultipart(6193,210894 + def testFetchSimplifiedBody(6225,212407 + def testFetchSimplifiedBodyUID(6242,212921 + def testFetchSimplifiedBodyText(6246,213012 + def testFetchSimplifiedBodyTextUID(6262,213486 + def testFetchSimplifiedBodyRFC822(6266,213585 + def testFetchSimplifiedBodyRFC822UID(6289,214401 + def test_fetchSimplifiedBodyMultipart(6293,214504 + def testFetchMessage(6341,216549 + def testFetchMessageUID(6353,216932 + def testFetchHeaders(6357,217009 + def testFetchHeadersUID(6373,217451 + def testFetchBody(6377,217528 + def testFetchBodyUID(6389,217902 + def testFetchBodyParts(6393,217973 + def result(6421,219215 + def test_fetchBodyPartOfNonMultipart(6435,219692 + def result(6456,220492 + def testFetchSize(6470,220973 + def testFetchSizeUID(6482,221299 + def testFetchFull(6486,221370 + def testFetchFullUID(6512,222579 + def testFetchAll(6516,222650 + def testFetchAllUID(6538,223591 + def testFetchFast(6542,223660 + def testFetchFastUID(6556,224097 +class DefaultSearchTests(6561,224169 + def setUp(6566,224365 + def fetch(6581,224910 + def _messageSetSearchTest(6588,225122 + def search(6598,225588 + def searched(6602,225715 + def test_searchMessageSet(6611,225957 + def test_searchMessageSetWithStar(6619,226199 + def test_searchMessageSetWithStarFirst(6627,226442 + def test_searchMessageSetUIDWithStar(6635,226711 + def test_searchMessageSetUIDWithStarFirst(6643,226996 + def test_searchMessageSetUIDWithStarAndHighStart(6651,227307 + def test_searchMessageSetWithList(6660,227651 + def test_searchOr(6671,228128 + def test_searchOrMessageSet(6679,228364 + def test_searchNot(6689,228714 + def test_searchNotMessageSet(6697,228960 + def test_searchAndMessageSet(6707,229297 + def test_searchInvalidCriteria(6716,229611 + def search(6723,229898 + def errorReceived(6729,230082 +class FetchSearchStoreTests(6755,230918 + def setUp(6756,230984 + def search(6770,231424 + def addListener(6780,231762 + def _searchWork(6785,231847 + def search(6786,231879 + def result(6788,231960 + def check(6796,232170 + def testSearch(6813,232845 + def testUIDSearch(6823,233117 + def getUID(6833,233389 + def fetch(6842,233603 + def _fetchWork(6848,233763 + def result(6849,233796 + def check(6857,234005 + def test_invalidTerm(6879,234851 + def search(6887,235150 + def errorReceived(6893,235329 +class FakeMailbox:FakeMailbox6917,236120 + def __init__(6918,236139 + def addMessage(6922,236188 +class FeaturefulMessage:FeaturefulMessage6929,236350 + def getFlags(6930,236375 + def getInternalDate(6934,236424 + def open(6938,236487 +class MessageCopierMailbox:MessageCopierMailbox6944,236577 + def __init__(6945,236605 + def copy(6949,236654 +class CopyWorkerTests(6955,236742 + def testFeaturefulMessage(6956,236784 + def cbCopy(6972,237467 + def testUnfeaturefulMessage(6985,237856 + def cbCopy(7000,238348 + def testMessageCopier(7019,238933 + def cbCopy(7029,239212 +class TLSTests(7038,239453 + def loopback(7042,239619 + def testAPileOfThings(7046,239720 + def login(7049,239826 + def list(7052,239947 + def status(7055,240051 + def examine(7058,240164 + def logout(7061,240268 + def check(7072,240632 + def testLoginLogin(7081,240910 + def startTLSAndAssertSession(7098,241532 + def checkSecure(7108,241908 + def test_startTLS(7119,242292 + def test_doubleSTARTTLS(7131,242697 + class DoubleSTARTTLSClient(7137,242841 + def startTLS(7139,242892 + def test_startTLSWithExistingChallengers(7159,243575 + def assertLOGINandPLAIN(7169,243988 + def test_loginBeforeSTARTTLS(7187,244575 + def testFailedStartTLS(7211,245346 + def breakServerTLS(7213,245402 + def check(7223,245817 +class SlowMailbox(7230,246004 + def fetch(7237,246198 +class TimeoutTests(7245,246378 + def test_serverTimeout(7247,246436 + def login(7258,246786 + def timedOut(7264,246954 + def test_serverTimesOut(7273,247218 + def login(7280,247385 + def expireTime(7283,247475 + def test_serverUnselectsMailbox(7295,247869 + def login(7309,248378 + def select(7312,248468 + def assertSet(7315,248545 + def expireTime(7318,248621 + def assertUnset(7321,248704 + def test_serverTimesOutAndClosesMailbox(7336,249209 + def login(7348,249621 + def select(7351,249711 + def assertMailboxOpen(7354,249788 + def expireTime(7357,249864 + def assertMailboxClosed(7360,249947 + def test_longFetchDoesntTimeout(7375,250470 + def login(7388,250922 + def select(7391,251012 + def fetch(7395,251127 + def stillConnected(7398,251196 + def cbAdvance(7401,251289 + def test_idleClientDoesDisconnect(7417,251772 +class DisconnectionTests(7444,252670 + def testClientDisconnectFailsDeferreds(7445,252715 +class SynchronousMailbox(7455,253050 + def __init__(7460,253193 + def fetch(7464,253262 +class PipeliningTests(7471,253426 + def setUp(7481,253743 + def iterateInReactor(7498,254217 + def flushPending(7512,254567 + def tearDown(7530,255296 + def test_synchronousFetch(7534,255398 + def test_bufferedServerStatus(7570,256669 +class IMAP4ServerFetchTests(7630,258538 + def setUp(7636,258684 + def test_fetchWithPartialValidArgument(7643,258880 +class LiteralTestsMixin(7663,259644 + def setUp(7671,259828 + def test_partialWrite(7678,259938 + def test_exactWrite(7688,260249 + def test_overlongWrite(7702,260675 + def test_emptyLiteral(7715,261037 +class LiteralStringTests(7729,261364 + def test_callback(7735,261535 +class LiteralFileTests(7756,262114 + def test_callback(7763,262269 + def test_callbackSpooledToDisk(7786,262911 +class WriteBufferTests(7814,263741 + def setUp(7819,263848 + def test_partialWrite(7823,263914 + def test_overlongWrite(7836,264224 + def test_writesImplyFlush(7849,264584 + def test_explicitFlush(7867,265051 + def test_explicitFlushEmptyBuffer(7884,265464 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_bounce.py,235 +class BounceTests(10,215 + def test_bounceMessageUnicode(15,300 + def test_bounceMessageBytes(35,1077 + def test_bounceMessageCustomTranscript(56,1851 + def _bounceBigMessage(79,2824 + def test_bounceBigMessage(99,3749 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_mailmail.py,743 +class OptionsTests(26,715 + def setUp(34,977 + def sendmail(49,1571 + def test_unspecifiedRecipients(59,1906 + def test_listQueueInformation(73,2432 + def test_stdioTransport(82,2771 + def test_ignoreFullStop(92,3131 + def test_copyAliasedSender(104,3625 + def test_version(114,3999 + def test_backgroundDelivery(129,4565 + def test_foregroundDelivery(139,4834 + def test_recipientsFromHeaders(149,5105 + def test_setFrom(165,5614 + def test_overrideFromFlagByFromHeader(178,6081 + def test_runErrorsToStderr(191,6613 + def test_readInvalidConfig(215,7588 + def getConfigFromFile(269,9766 + def test_loadConfig(294,10451 + def test_senderror(364,12287 + def sendmail(369,12486 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_options.py,589 +class OptionsTests(22,488 + def setUp(26,604 + def testAliasesWithoutDomain(32,785 + def testAliases(43,1081 + def _endpointTest(53,1396 + def test_endpointSMTP(66,1868 + def test_endpointPOP3(74,2105 + def test_protoDefaults(82,2342 + def test_protoDisable(98,2821 + def test_allProtosDisabledError(114,3389 + def test_esmtpWithoutHostname(123,3653 + def test_auth(133,4001 +class SpyEndpoint(148,4533 + def listen(153,4667 +class MakeServiceTests(159,4773 + def _endpointServerTest(163,4869 + def test_pop3(181,5589 + def test_smtp(191,5949 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_mail.py,8919 +class DomainWithDefaultsTests(53,1513 + def testMethods(54,1563 + def _stringificationTest(110,3248 + def test_str(126,3955 + def test_repr(134,4186 + def test_has_keyDeprecation(142,4420 +class BounceTests(162,5045 + def setUp(163,5083 + def testExists(167,5153 + def testRelay(171,5258 + def testAddUser(178,5406 +class BounceWithSMTPServerTests(184,5554 + def test_rejected(189,5712 +class FileMessageTests(220,6727 + def setUp(221,6770 + def tearDown(227,6994 + def testFinalName(242,7252 + def _cbFinalName(246,7351 + def testContents(252,7525 + def testInterrupted(261,7811 +class MailServiceTests(271,8112 + def setUp(272,8155 + def testFactories(276,8225 + def testPortals(290,8797 +class StringListMailboxTests(301,9081 + def test_listOneMessage(306,9240 + def test_listAllMessages(317,9658 + def test_getMessage(326,9969 + def test_getUidl(336,10345 + def test_deleteMessage(345,10659 + def test_undeleteMessages(356,11050 + def test_sync(368,11480 +class FailingMaildirMailboxAppendMessageTask(382,11900 + def osopen(388,12064 + def oswrite(395,12256 + def osrename(402,12435 +class _AppendTestMixin(410,12638 + def _appendMessages(415,12825 + def append(422,13144 +class MaildirAppendStringTests(433,13424 + def setUp(437,13583 + def _append(442,13684 + def _setState(447,13811 + def test_append(477,15036 + def _cbTestAppend(491,15540 +class MaildirAppendFileTests(513,16444 + def setUp(517,16601 + def test_append(522,16702 + def _cbTestAppend(541,17293 +class MaildirTests(554,17751 + def setUp(555,17790 + def tearDown(560,17891 + def testInitializer(564,17947 + def test_nameGenerator(584,18893 + def test_mailbox(602,19487 +class AbstractMaildirDomainTests(646,20884 + def test_interface(650,21014 +class MaildirDirdbmDomainTests(659,21245 + def setUp(663,21350 + def tearDown(673,21645 + def test_addUser(681,21811 + def test_credentials(697,22373 + def test_requestAvatar(709,22826 + class ISomething(717,23194 + def test_requestAvatarId(734,23641 + def test_userDirectory(754,24392 +class StubAliasableDomain(776,25251 + def exists(780,25359 + def addUser(788,25563 + def getCredentialsCheckers(796,25778 + def setAliasGroup(806,26140 +class ServiceDomainTests(814,26301 + def setUp(815,26346 + def tearDown(828,26776 + def testAddAliasableDomain(832,26837 + def testReceivedHeader(844,27226 + def testValidateTo(857,27631 + def _cbValidateTo(864,27861 + def testValidateToBadUsername(868,27942 + def testValidateToBadDomain(875,28188 + def testValidateFrom(882,28432 +class VirtualPOP3Tests(902,29045 + def setUp(903,29088 + def tearDown(919,29654 + def testAuthenticateAPOP(923,29715 + def _cbAuthenticateAPOP(930,29932 + def testAuthenticateIncorrectUserAPOP(937,30150 + def testAuthenticateIncorrectResponseAPOP(944,30391 + def testAuthenticatePASS(951,30625 + def _cbAuthenticatePASS(957,30790 + def testAuthenticateBadUserPASS(964,31008 + def testAuthenticateBadPasswordPASS(970,31191 +class empty(977,31385 + def __init__(978,31409 +class RelayTests(983,31449 + def testExists(984,31486 +class RelayerTests(1020,32576 + def setUp(1021,32615 + def tearDown(1039,33164 + def testMailFrom(1043,33225 + def testMailTo(1050,33462 + def testMailData(1057,33693 +class Manager:Manager1066,33989 + def __init__(1067,34004 + def notifySuccess(1073,34105 + def notifyFailure(1077,34202 + def notifyDone(1081,34299 +class ManagedRelayerTests(1086,34371 + def setUp(1087,34417 + def testSuccessfulSentMail(1097,34757 + def testFailedSentMail(1107,35016 + def testConnectionLost(1117,35271 +class DirectoryQueueTests(1123,35432 + def setUp(1124,35478 + def tearDown(1139,35973 + def testWaiting(1143,36034 + def testRelaying(1155,36418 + def testDone(1171,36921 + def testEnvelope(1183,37286 +class TestAuthority(1200,37703 + def __init__(1201,37745 + def _lookup(1206,37842 +def setUpDNS(1219,38297 +def tearDownDNS(1237,38864 +class MXTests(1249,39135 + def setUp(1253,39234 + def tearDown(1259,39390 + def test_defaultClock(1263,39449 + def testSimpleSuccess(1272,39696 + def _cbSimpleSuccess(1277,39881 + def testSimpleFailure(1282,40026 + def testSimpleFailureWithFallback(1287,40175 + def _exchangeTest(1291,40302 + class DummyResolver(1302,40730 + def lookupMailExchange(1303,40767 + def gotMailExchange(1313,41129 + def test_mailExchangePreference(1319,41292 + def test_badExchangeExcluded(1341,42007 + def test_fallbackForAllBadExchanges(1361,42648 + def test_badExchangeExpires(1382,43356 + def test_goodExchangeUsed(1404,44139 + def test_successWithoutResults(1426,44919 + class DummyResolver(1436,45263 + def lookupMailExchange(1450,45749 + def getHostByName(1453,45854 + def test_failureWithSuccessfulFallback(1462,46109 + class DummyResolver(1469,46469 + def lookupMailExchange(1474,46644 + def getHostByName(1477,46745 + def test_cnameWithoutGlueRecords(1486,47004 + class DummyResolver(1496,47386 + def lookupMailExchange(1501,47614 + def test_cnameChain(1523,48514 + class DummyResolver(1529,48761 + def lookupMailExchange(1536,48974 + def cbChainTooLong(1550,49590 + def test_cnameWithGlueRecords(1557,49856 + class DummyResolver(1569,50305 + def lookupMailExchange(1570,50342 + def test_cnameLoopWithGlueRecords(1590,51198 + class DummyResolver(1599,51575 + def lookupMailExchange(1600,51612 + def testManyRecords(1616,52269 + def _cbManyRecordsSuccessfulLookup(1625,52546 + def _cbManyRecordsDifferentResult(1633,52838 + def _cbManyRecordsLastResult(1642,53125 + def _cbManyRecordsRepeatSpecificResult(1654,53529 +class LiveFireExerciseTests(1659,53661 + def setUp(1664,53832 + def tearDown(1672,54027 + def testLocalDelivery(1679,54184 + def finished(1710,55315 + def testRelayDelivery(1720,55636 + def finished(1775,58080 + def delivered(1779,58298 +class LineBufferMessage:LineBufferMessage1803,59079 + def __init__(1804,59104 + def lineReceived(1810,59205 + def eomReceived(1814,59273 + def connectionLost(1819,59369 +class AliasTests(1824,59427 + def setUp(1833,59590 + def testHandle(1837,59639 + def testFileLoader(1856,60336 + def testMultiWrapper(1882,61235 + def _cbMultiWrapper(1891,61525 + def testFileAlias(1898,61718 + def _cbTestFileAlias(1908,62008 +class DummyDomain(1915,62190 + def __init__(1919,62275 + def exists(1923,62341 +class AddressAliasTests(1938,62778 + def setUp(1942,62888 + def test_createMessageReceiver(1952,63182 + def test_str(1960,63449 + def test_resolve(1967,63633 + def test_resolveWithoutAliasmap(1975,63903 +class DummyProcess(1984,64180 +class MockProcessAlias(1989,64237 + def spawnProcess(1994,64366 +class MockAliasGroup(2001,64474 +class StubProcess(2009,64627 + def __init__(2016,64816 + def loseConnection(2020,64868 + def signalProcess(2026,64971 +class ProcessAliasTests(2034,65138 + def exitStatus(2049,65462 + def signalStatus(2071,66130 + def setUp(2096,66976 + def tearDown(2104,67142 + def test_processAlias(2111,67283 + def _cbProcessAlias(2130,67841 + def test_processAliasTimeout(2138,68095 + def timedOut(2153,68727 + def test_earlyProcessTermination(2164,69132 + def _terminationTest(2178,69715 + def test_errorProcessTermination(2193,70346 + def test_signalProcessTermination(2202,70649 + def test_aliasResolution(2211,70970 + def test_cyclicAlias(2265,72909 +class TestDomain:TestDomain2298,73962 + def __init__(2299,73980 + def exists(2304,74080 +class DummyQueue(2320,74528 + def __init__(2329,74775 + def done(2338,75004 + def getEnvelopeFile(2350,75329 + def getPath(2363,75689 + def createNewMessage(2376,76036 + def setWaiting(2394,76716 +class DummySmartHostSMTPRelayingManager(2405,76951 + def __init__(2416,77319 +class _AttemptManagerTests(2428,77601 + def setUp(2458,78691 + def tearDown(2502,80284 + def _logObserver(2510,80485 + def test_initNoisyDefault(2521,80769 + def test_initNoisy(2531,81100 + def test_initQuiet(2539,81348 + def test_initReactorDefault(2547,81599 + def test_initReactor(2557,81962 + def test_notifySuccessNoisy(2565,82227 + def test_notifySuccessQuiet(2574,82519 + def test_notifyFailureNoisy(2583,82817 + def test_notifyFailureQuiet(2592,83109 + def test_notifyDoneNoisy(2601,83407 + def test_notifyDoneQuiet(2610,83671 + def test_notifyNoConnectionNoisy(2619,83941 + def test_notifyNoConnectionQuiet(2629,84262 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_pop3client.py,2783 +class StringTransportWithConnectionLosing(29,857 + def loseConnection(30,917 +def setUp(36,1138 +def strip(54,1466 +class POP3ClientLoginTests(59,1518 + def testNegativeGreeting(60,1565 + def testOkUser(71,1962 + def testBadUser(79,2217 + def testOkPass(89,2574 + def testBadPass(97,2827 + def testOkLogin(107,3168 + def testBadPasswordLogin(118,3601 + def testBadUsernameLogin(131,4130 + def testServerGreeting(142,4534 + def testServerGreetingWithChallenge(148,4718 + def testAPOP(154,4932 + def testInsecureLoginRaisesException(164,5309 + def testSSLTransportConsideredSecure(173,5600 +class ListConsumer:ListConsumer192,6275 + def __init__(193,6295 + def consume(197,6344 +class MessageConsumer:MessageConsumer203,6462 + def __init__(204,6485 + def consume(208,6534 +class POP3ClientListTests(213,6597 + def testListSize(214,6643 + def testListSizeWithConsumer(223,6931 + def testFailedListSize(239,7530 + def testListUID(250,7912 + def testListUIDWithConsumer(259,8219 + def testFailedListUID(272,8671 +class POP3ClientMessageTests(284,9052 + def testRetrieve(285,9101 + def testRetrieveWithConsumer(299,9598 + def _cbTestRetrieveWithConsumer(311,10036 + def testPartialRetrieve(317,10265 + def testPartialRetrieveWithConsumer(331,10740 + def _cbTestPartialRetrieveWithConsumer(344,11221 + def testFailedRetrieve(350,11446 + def test_concurrentRetrieves(361,11831 +class POP3ClientMiscTests(388,12806 + def testCapability(389,12852 + def testCapabilityError(403,13338 + def testStat(411,13594 + def testStatError(419,13813 + def testNoop(429,14158 + def testNoopError(437,14399 + def testRset(447,14744 + def testRsetError(455,14974 + def testDelete(465,15320 + def testDeleteError(473,15562 +class SimpleClient(484,15911 + def __init__(485,15943 + def serverGreeting(490,16072 +class POP3HelperMixin:POP3HelperMixin495,16153 + def setUp(499,16219 + def tearDown(508,16496 + def _cbStopClient(514,16597 + def _ebGeneral(518,16683 + def loopback(524,16837 +class TLSServerFactory(529,16939 + class protocol(530,16987 + def connectionMade(533,17070 + def lineReceived(540,17263 +class POP3TLSTests(548,17493 + def test_startTLS(553,17605 + def connectionLost(574,18379 + def cbConnected(583,18671 + def cbStartedTLS(587,18796 + def cbDisconnected(591,18911 + def cleanup(597,19125 +class POP3TimeoutTests(612,19544 + def testTimeout(613,19604 + def login(614,19631 + def loggedIn(620,19798 + def timedOut(624,19893 + def quit(628,20007 +class POP3ClientModuleStructureTests(656,20759 + def test_all(661,20943 + def test_import(669,21185 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_scripts.py,56 +class ScriptTests(13,257 + def test_mailmail(17,361 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_smtp.py,6877 +def spameater(49,1209 +class BrokenMessage(55,1286 + def __init__(61,1534 + def lineReceived(65,1579 + def eomReceived(69,1628 + def connectionLost(73,1722 +class DummyMessage(78,1768 + def __init__(86,2022 + def lineReceived(92,2141 + def eomReceived(99,2373 +class DummyDomain(108,2616 + def __init__(113,2756 + def exists(119,2880 +class MyClient:MyClient132,3115 + def __init__(133,3131 + def getMailFrom(142,3419 + def getMailTo(146,3476 + def getMailData(150,3534 + def sendError(154,3589 + def sentMail(158,3647 +class MySMTPClient(166,3842 + def __init__(167,3889 +class MyESMTPClient(173,4030 + def __init__(174,4079 +class LoopbackMixin:LoopbackMixin180,4251 + def loopback(181,4272 +class FakeSMTPServer(186,4367 + def connectionMade(193,4537 + def lineReceived(200,4718 +class SMTPClientTests(215,5150 + def test_timeoutConnection(220,5258 + def test_messages(246,6160 + def test_transferError(260,6647 + def test_sendFatalError(288,7692 + def test_sendNonFatalError(302,8217 + def test_sendOtherError(316,8762 +class DummySMTPMessage(331,9269 + def __init__(333,9302 + def lineReceived(339,9430 + def eomReceived(343,9499 +class DummyProto:DummyProto355,9928 + def connectionMade(357,9947 + def receivedHeader(362,10054 + def validateTo(366,10107 + def validateFrom(371,10240 +class DummySMTP(376,10307 +class DummyESMTP(381,10381 +class AnotherTestCase:AnotherTestCase386,10458 + def test_buffer(433,11737 + class fooFactory:fooFactory442,12125 +class AnotherESMTPTests(478,13434 +class AnotherSMTPTests(484,13559 +class DummyChecker:DummyChecker491,13729 + def requestAvatarId(499,13942 + def _cbCheck(504,14154 +class SimpleDelivery(512,14327 + def __init__(517,14459 + def receivedHeader(521,14547 + def validateFrom(525,14625 + def validateTo(529,14691 +class DummyRealm:DummyRealm534,14776 + def requestAvatar(535,14794 +class AuthTests(540,14928 + def test_crammd5Auth(541,14979 + def test_loginAuth(563,15673 + def test_loginAgainstWeirdServer(585,16365 +class SMTPHelperTests(609,17174 + def testMessageID(610,17216 + def testQuoteAddr(618,17396 + def testUser(631,17798 + def testXtextEncoding(636,17937 + def test_encodeWithErrors(652,18546 + def test_decodeWithErrors(667,19026 +class NoticeTLSClient(681,19420 + def esmtpState_starttls(685,19476 +class TLSTests(691,19610 + def testTLS(696,19713 + def check(703,19929 +class EmptyLineTests(715,20257 + def test_emptyLineSyntaxError(717,20299 +class TimeoutTests(735,20865 + def _timeoutTest(740,21000 + def check(751,21416 + def test_SMTPClientRecipientBytes(762,21744 + def test_SMTPClientRecipientUnicode(775,22223 + def test_SMTPClientRecipientList(787,22604 + def test_ESMTPClient(799,23009 + def test_resetTimeoutWhileSending(813,23512 + class SlowFile:SlowFile818,23726 + def __init__(823,23917 + def read(826,23990 +class MultipleDeliveryFactorySMTPServerFactory(895,26561 + def __init__(902,26915 + def buildProtocol(906,27009 +class SMTPSenderFactoryTests(913,27192 + def test_removeCurrentProtocolWhenClientConnectionLost(917,27298 + def test_removeCurrentProtocolWhenClientConnectionFailed(934,28019 +class SMTPSenderFactoryRetryTests(952,28749 + def test_retryAfterDisconnect(956,28882 + class CleanSMTP(966,29256 + def makeConnection(971,29441 + def cbSent(997,30685 +class SingletonRealm(1013,31245 + def __init__(1018,31436 + def requestAvatar(1023,31545 +class NotImplementedDelivery(1030,31735 + def validateFrom(1036,31985 + def validateTo(1040,32118 + def receivedHeader(1044,32241 +class SMTPServerTests(1049,32389 + def testSMTPGreetingHost(1054,32539 + def testSMTPGreetingNotExtended(1067,32927 + def testESMTPGreetingHost(1080,33401 + def testESMTPGreetingExtended(1087,33584 + def test_SMTPUnknownCommand(1100,34012 + def test_acceptSenderAddress(1112,34382 + class AcceptanceDelivery(1117,34569 + def validateFrom(1121,34723 + def test_deliveryRejectedSenderAddress(1148,35617 + class RejectionDelivery(1154,35857 + def validateFrom(1158,36012 + def test_portalRejectedSenderAddress(1187,37035 + class DisallowAnonymousAccess(1193,37271 + def requestAvatarId(1199,37477 + def test_portalRejectedAnonymousSender(1227,38478 +class ESMTPAuthenticationTests(1259,39636 + def assertServerResponse(1260,39687 + def assertServerAuthenticated(1275,40127 + def setUp(1301,41314 + def tearDown(1313,41710 + def portalFactory(1320,41894 + class DummyPortal:DummyPortal1321,41934 + def login(1322,41961 + def test_authenticationCapabilityAdvertised(1329,42184 + def test_plainAuthentication(1345,42734 + def test_plainAuthenticationEmptyPassword(1370,43476 + def test_plainAuthenticationInitialResponse(1392,44182 + def test_abortAuthentication(1414,44895 + def test_invalidBase64EncodedResponse(1429,45323 + def test_invalidBase64EncodedInitialResponse(1447,45853 + def test_unexpectedLoginFailure(1463,46368 +class SMTPClientErrorTests(1494,47470 + def test_str(1498,47572 + def test_strWithNegativeCode(1507,47850 + def test_strWithLog(1516,48141 +class SenderMixinSentMailTests(1533,48637 + def test_onlyLogFailedAddresses(1538,48832 +class ESMTPDowngradeTestCase(1563,49775 + def setUp(1567,49920 + def test_requireHELOFallbackOperates(1572,50039 + def test_requireAuthFailsHELOFallback(1589,50738 + def test_requireTLSFailsHELOFallback(1606,51443 + def test_requireTLSAndHELOFallbackSucceedsIfOverTLS(1623,52136 +class SSLTestCase(1642,52895 + def setUp(1652,53219 + def _requireTransportSecurityOverSSLTest(1659,53481 + def test_requireTransportSecurityOverSSL(1693,54960 + def test_requireTransportSecurityTLSOffered(1701,55245 + def test_requireTransportSecurityTLSOfferedOverSSL(1724,56115 + def test_requireTransportSecurityTLSNotOffered(1735,56529 + def test_esmtpClientTlsModeDeprecationGet(1757,57316 + def test_esmtpClientTlsModeDeprecationGetAttributeError(1774,57946 + def test_esmtpClientTlsModeDeprecationSet(1783,58256 +class AbortableStringTransport(1800,58873 + def abortConnection(1808,59091 +class SendmailTests(1820,59390 + def test_defaultReactorIsGlobalReactor(1824,59491 + def _honorsESMTPArguments(1833,59806 + def test_honorsESMTPArgumentsUnicodeUserPW(1850,60561 + def test_honorsESMTPArgumentsBytesUserPW(1858,60827 + def test_messageFilePassthrough(1866,61089 + def test_messageStringMadeFile(1880,61566 + def test_senderDomainName(1894,62087 + def test_cancelBeforeConnectionMade(1906,62523 + def test_cancelAfterConnectionMade(1921,63122 + +venv/lib/python2.7/site-packages/twisted/mail/test/test_pop3.py,4056 +class UtilityTests(37,849 + def test_LineBuffering(43,1008 + def test_FinishLineBuffering(66,1883 + def test_SuccessResponseFormatter(79,2275 + def test_StatLineFormatter(89,2537 + def test_ListLineFormatter(100,2917 + def test_UIDListLineFormatter(117,3455 +class MyVirtualPOP3(142,4302 + def authenticateUserAPOP(148,4437 +class DummyDomain:DummyDomain165,4979 + def __init__(170,5055 + def addUser(174,5105 + def addMessage(183,5267 + def authenticateUserAPOP(193,5520 +class ListMailbox:ListMailbox210,6034 + def __init__(214,6128 + def listMessages(221,6244 + def getMessage(233,6552 + def getUidl(243,6779 + def deleteMessage(253,7000 + def sync(262,7185 +class MyPOP3Downloader(271,7284 + def handle_WELCOME(275,7405 + def handle_APOP(285,7630 + def handle_RETR_continue(299,7984 + def handle_RETR_end(308,8179 + def handle_QUIT(316,8359 +class POP3Tests(327,8593 + def setUp(352,8969 + def test_messages(363,9351 + def check(375,9698 + def test_loopback(381,9918 + def check(388,10153 + def test_incorrectDomain(398,10564 +class DummyPOP3(414,11087 + def authenticateUserAPOP(420,11221 +class DummyMailbox(434,11566 + def __init__(446,11934 + def listMessages(451,12067 + def getMessage(465,12458 + def getUidl(475,12689 + def deleteMessage(488,13035 +class AnotherPOP3Tests(498,13225 + def runTest(502,13319 + def _cbRunTest(522,14034 + def test_buffer(530,14350 + def test_noop(568,15419 + def test_authListing(582,15730 + def _cbTestAuthListing(600,16328 + def test_illegalPASS(607,16615 + def _cbTestIllegalPASS(621,17052 + def test_emptyPASS(630,17435 + def _cbTestEmptyPASS(644,17843 + def test_badUTF8CharactersInCommand(653,18224 +class TestServerFactory:TestServerFactory675,18898 + def cap_IMPLEMENTATION(682,19181 + def cap_EXPIRE(691,19363 + def cap_LOGIN_DELAY(701,19585 + def perUserExpiration(710,19753 + def perUserLoginDelay(719,19929 +class TestMailbox:TestMailbox729,20092 +def contained(743,20388 +class CapabilityTests(761,20815 + def setUp(765,20932 + def test_UIDL(788,21567 + def test_TOP(795,21744 + def test_USER(802,21918 + def test_EXPIRE(809,22095 + def test_IMPLEMENTATION(818,22362 + def test_SASL(829,22635 + def test_LOGIN_DELAY(840,22882 +class GlobalCapabilitiesTests(850,23158 + def setUp(854,23281 + def test_EXPIRE(878,23963 + def test_LOGIN_DELAY(885,24152 +class TestRealm:TestRealm893,24358 + def requestAvatar(897,24459 +class SASLTests(914,24990 + def test_ValidLogin(918,25092 +class CommandMixin:CommandMixin952,26382 + def setUp(965,26567 + def tearDown(983,27055 + def _flush(992,27341 + def test_LIST(1001,27591 + def test_LISTWithBadArgument(1021,28199 + def test_UIDL(1051,28960 + def test_UIDLWithBadArgument(1069,29429 + def test_STAT(1099,30213 + def test_RETR(1112,30591 + def test_RETRWithBadArgument(1133,31054 + def test_TOP(1164,31897 + def test_TOPWithBadArgument(1183,32386 + def test_LAST(1230,33741 + def test_RetrieveUpdatesHighest(1247,34190 + def test_TopUpdatesHighest(1267,34683 + def test_HighestOnlyProgresses(1285,35132 + def test_ResetClearsHighest(1306,35708 +class IndexErrorCommandTests(1342,36756 + def test_LISTWithBadArgument(1351,37080 + def test_UIDLWithBadArgument(1361,37445 + def test_TOPWithBadArgument(1371,37806 + def test_RETRWithBadArgument(1381,38166 +class ValueErrorCommandTests(1392,38522 +class SyncDeferredMailbox(1404,38931 + def listMessages(1409,39094 +class IndexErrorSyncDeferredCommandTests(1422,39420 +class ValueErrorSyncDeferredCommandTests(1431,39661 +class AsyncDeferredMailbox(1440,39902 + def __init__(1445,40066 + def listMessages(1450,40174 +class IndexErrorAsyncDeferredCommandTests(1466,40591 + def _flush(1473,40834 +class ValueErrorAsyncDeferredCommandTests(1484,41114 + def _flush(1491,41357 +class POP3MiscTests(1502,41637 + def test_all(1507,41813 + +venv/lib/python2.7/site-packages/twisted/mail/interfaces.py,2952 +class IChallengeResponse(15,217 + def getChallenge(20,325 + def setResponse(29,466 + def moreChallenges(42,846 +class IClientAuthentication(55,1207 + def getName(57,1248 + def challengeResponse(64,1391 +class IServerFactoryPOP3(71,1510 + def cap_IMPLEMENTATION(87,2263 + def cap_EXPIRE(96,2464 + def perUserExpiration(106,2737 + def cap_LOGIN_DELAY(116,3000 + def perUserLoginDelay(125,3215 +class IMailboxPOP3(136,3458 + def listMessages(150,3890 + def getMessage(170,4713 + def getUidl(185,5148 + def deleteMessage(201,5618 + def undeleteMessages(217,6171 + def sync(226,6425 +class IDomain(233,6533 + def exists(237,6611 + def addUser(252,7036 + def getCredentialsCheckers(264,7264 +class IAlias(275,7549 + def createMessageReceiver(279,7620 +class IAliasableDomain(289,7794 + def setAliasGroup(293,7917 + def exists(302,8158 +class IMessageDelivery(325,8912 + def receivedHeader(327,8948 + def validateTo(346,9532 + def validateFrom(363,10121 +class IMessageDeliveryFactory(384,10722 + def getMessageDelivery(395,11251 +class IMessageSMTP(404,11401 + def lineReceived(409,11514 + def eomReceived(414,11596 + def connectionLost(424,11818 +class IMessageIMAPPart(433,11957 + def getHeaders(434,11992 + def getBodyFile(450,12489 + def getSize(456,12611 + def isMultipart(464,12741 + def getSubPart(472,12867 +class IMessageIMAP(488,13300 + def getUID(490,13339 + def getFlags(496,13452 + def getInternalDate(505,13636 +class IMessageIMAPFile(515,13833 + def open(523,14068 +class ISearchableIMAPMailbox(533,14271 + def search(535,14313 +class IMailboxIMAPListener(563,15250 + def modeChanged(568,15361 + def flagsChanged(578,15612 + def newMessages(588,15888 +class IMessageIMAPCopier(603,16410 + def copy(604,16447 +class IMailboxIMAPInfo(624,17081 + def getFlags(633,17367 + def getHierarchicalDelimiter(645,17663 +class IMailboxIMAP(654,17825 + def getUIDValidity(655,17863 + def getUIDNext(663,18003 + def getUID(671,18149 + def getMessageCount(683,18399 + def getRecentCount(691,18531 + def getUnseenCount(699,18669 + def isWriteable(707,18807 + def destroy(717,19029 + def requestStatus(726,19289 + def addListener(748,20201 + def removeListener(758,20512 + def addMessage(771,20908 + def expunge(794,21643 + def fetch(807,22023 + def store(824,22524 +class ICloseableMailboxIMAP(856,23771 + def close(864,24059 +class IAccountIMAP(874,24272 + def addMailbox(882,24447 + def create(904,25253 + def select(922,25937 + def delete(940,26567 + def rename(957,27110 + def isSubscribed(977,27776 + def subscribe(991,28225 + def unsubscribe(1009,28812 + def listMailboxes(1027,29419 +class INamespacePresenter(1049,30194 + def getPersonalNamespaces(1051,30233 + def getSharedNamespaces(1064,30700 + def getUserNamespaces(1078,31198 + +venv/lib/python2.7/site-packages/twisted/mail/bounce.py,27 +def generateBounce(37,674 + +venv/lib/python2.7/site-packages/twisted/mail/relay.py,442 +class DomainQueuer:DomainQueuer22,360 + def __init__(27,469 + def exists(32,592 + def willRelay(55,1425 + def startMessage(67,1797 +class RelayerMixin:RelayerMixin87,2388 + def loadMessages(93,2525 + def getMailFrom(105,2918 + def getMailTo(111,3036 + def getMailData(117,3154 + def sentMail(123,3272 +class SMTPRelayer(137,3780 + def __init__(141,3882 +class ESMTPRelayer(158,4441 + def __init__(162,4546 + +venv/lib/python2.7/site-packages/twisted/mail/imap4.py,13528 +def _swap(84,2628 +def _swapAllPairs(98,2956 +class MessageSet(117,3513 + def __init__(177,6166 + def last(203,6927 + def _setLast(204,6943 + def _getLast(219,7406 + def add(234,7861 + def __add__(260,8525 + def extend(275,8956 + def clean(295,9479 + def _noneInRanges(322,10275 + def __contains__(356,11576 + def _iterator(375,12030 + def __iter__(383,12210 + def __len__(390,12367 + def __str__(403,12666 + def __repr__(418,13065 + def __eq__(422,13139 + def __ne__(427,13279 +class LiteralString:LiteralString431,13348 + def __init__(432,13369 + def write(438,13487 + def callback(454,13866 +class LiteralFile:LiteralFile462,14029 + def __init__(465,14089 + def write(474,14322 + def callback(489,14698 +class WriteBuffer:WriteBuffer498,14879 + def __init__(502,14994 + def write(509,15159 + def flush(516,15315 +class Command:Command524,15478 + def __init__(530,15782 + def __repr__(539,16098 + def format(546,16298 + def finish(552,16464 +class IMAP4Server(595,18081 + def __init__(652,19553 + def capabilities(663,19884 + def connectionMade(674,20271 + def connectionLost(681,20484 + def timeoutConnection(688,20644 + def rawDataReceived(700,21062 + def _unblock(710,21352 + def lineReceived(719,21613 + def parse_command(733,21997 + def parse_pending(759,22927 + def dispatchCommand(766,23094 + def lookupCommand(776,23404 + def __doCommand(780,23526 + def __cbDispatch(801,24227 + def __ebDispatch(807,24412 + def _stringLiteral(821,25119 + def _fileLiteral(835,25617 + def arg_finalastring(845,25916 + def arg_astring(864,26558 + def arg_atom(915,28316 + def arg_plist(928,28663 + def arg_literal(946,29133 + def arg_searchkeys(968,29710 + def arg_seqset(978,29951 + def arg_fetchatt(994,30329 + def arg_flaglist(1003,30493 + def arg_line(1028,31249 + def opt_plist(1035,31368 + def opt_datetime(1045,31581 + def opt_charset(1059,31960 + def sendServerGreeting(1075,32419 + def sendBadResponse(1081,32606 + def sendPositiveResponse(1085,32710 + def sendNegativeResponse(1089,32818 + def sendUntaggedResponse(1093,32926 + def sendContinuationRequest(1101,33208 + def _respond(1108,33394 + def listCapabilities(1122,33845 + def do_CAPABILITY(1132,34121 + def do_LOGOUT(1142,34474 + def do_NOOP(1153,34803 + def do_AUTHENTICATE(1162,35022 + def authenticate(1172,35352 + def _setupChallenge(1180,35565 + def __cbAuthChunk(1194,36125 + def __cbAuthResp(1211,36656 + def __ebAuthResp(1221,37023 + def __ebAuthChunk(1231,37461 + def do_STARTTLS(1235,37609 + def do_LOGIN(1253,38333 + def authenticateLogin(1266,38752 + def __cbLogin(1289,39453 + def __ebLogin(1302,39964 + def do_NAMESPACE(1310,40246 + def _selectWork(1324,40791 + def _ebSelectWork(1340,41347 + def _cbSelectWork(1345,41496 + def do_IDLE(1372,42644 + def parse_idle(1379,42819 + def do_CREATE(1389,43077 + def do_DELETE(1408,43713 + def do_RENAME(1427,44361 + def do_SUBSCRIBE(1448,45239 + def do_UNSUBSCRIBE(1464,45769 + def _listWork(1480,46317 + def _cbListWork(1489,46619 + def _ebListWork(1499,47164 + def do_STATUS(1510,47510 + def _cbStatusGotMailbox(1523,47902 + def _ebStatusGotMailbox(1533,48257 + def __cbStatus(1541,48506 + def __ebStatus(1548,48828 + def do_APPEND(1553,49006 + def _cbAppendGotMailbox(1561,49305 + def _ebAppendGotMailbox(1572,49702 + def __cbAppend(1581,49997 + def __ebAppend(1586,50186 + def do_CHECK(1591,50347 + def __cbCheck(1605,50691 + def __ebCheck(1609,50790 + def checkpoint(1614,50949 + def do_CLOSE(1626,51372 + def __cbClose(1644,51934 + def __ebClose(1651,52125 + def do_EXPUNGE(1656,52284 + def __cbExpunge(1667,52639 + def __ebExpunge(1673,52834 + def do_SEARCH(1679,53022 + def __cbSearch(1697,53839 + def __cbManualSearch(1705,54129 + def _searchFilter(1761,56291 + def _singleSearchStep(1790,57315 + def search_ALL(1839,59231 + def search_ANSWERED(1854,59649 + def search_BCC(1869,60080 + def search_BEFORE(1885,60595 + def search_BODY(1890,60762 + def search_CC(1895,60903 + def search_DELETED(1900,61060 + def search_DRAFT(1904,61153 + def search_FLAGGED(1908,61242 + def search_FROM(1912,61335 + def search_HEADER(1917,61498 + def search_KEYWORD(1923,61694 + def search_LARGER(1928,61784 + def search_NEW(1932,61880 + def search_NOT(1936,62003 + def search_OLD(1960,62966 + def search_ON(1964,63058 + def search_OR(1969,63208 + def search_RECENT(1997,64319 + def search_SEEN(2001,64410 + def search_SENTBEFORE(2005,64497 + def search_SENTON(2024,65224 + def search_SENTSINCE(2040,65860 + def search_SINCE(2056,66489 + def search_SMALLER(2061,66641 + def search_SUBJECT(2065,66738 + def search_TEXT(2070,66914 + def search_TO(2076,67100 + def search_UID(2081,67257 + def search_UNANSWERED(2109,68351 + def search_UNDELETED(2113,68452 + def search_UNDRAFT(2117,68551 + def search_UNFLAGGED(2121,68646 + def search_UNKEYWORD(2125,68745 + def search_UNSEEN(2130,68837 + def __ebSearch(2134,68930 + def do_FETCH(2140,69116 + def __cbFetch(2154,69600 + def __ebSpewMessage(2190,71216 + def spew_envelope(2199,71549 + def spew_flags(2205,71735 + def spew_internaldate(2212,71986 + def spew_rfc822header(2238,72988 + def spew_rfc822text(2245,73210 + def spew_rfc822size(2255,73476 + def spew_rfc822(2261,73653 + def spew_uid(2276,74094 + def spew_bodystructure(2282,74255 + def spew_body(2286,74401 + def spewMessage(2327,76005 + def start(2331,76150 + def finish(2333,76227 + def space(2335,76277 + def spew(2338,76323 + def __ebFetch(2359,77009 + def do_STORE(2367,77264 + def __cbStore(2385,77855 + def __ebStore(2401,78436 + def do_COPY(2406,78595 + def _cbCopySelectedMailbox(2415,78958 + def _ebCopySelectedMailbox(2426,79377 + def __cbCopy(2431,79549 + def rewind(2453,80371 + def __cbCopied(2465,80833 + def __ebCopy(2479,81272 + def do_UID(2485,81453 + def modeChanged(2499,81803 + def flagsChanged(2506,82032 + def newMessages(2515,82363 +class IMAP4Client(2528,82744 + def __init__(2565,83692 + def registerAuthenticator(2576,83942 + def rawDataReceived(2591,84504 + def _setupForLiteral(2615,85285 + def connectionMade(2625,85585 + def connectionLost(2630,85688 + def lineReceived(2649,86261 + def timeoutConnection(2692,87788 + def _regularDispatch(2706,88222 + def messageFile(2714,88422 + def makeTag(2731,88916 + def dispatchCommand(2737,89038 + def response_UNAUTH(2753,89523 + def response_AUTH(2777,90368 + def _defaultHandler(2781,90450 + def _flushQueue(2810,91474 + def _extraInfo(2819,91696 + def sendCommand(2848,92938 + def getCapabilities(2861,93268 + def __cbCapabilities(2887,94243 + def logout(2909,95031 + def __cbLogout(2924,95497 + def noop(2931,95685 + def __cbNoop(2946,96084 + def startTLS(2953,96250 + def authenticate(2995,97864 + def __cbAuthenticate(3013,98427 + def ebStartTLS(3026,98949 + def __cbContinueAuth(3039,99405 + def __cbAuthTLS(3051,99798 + def login(3062,100240 + def serverGreeting(3088,101135 + def _getContextFactory(3097,101354 + def __cbLoginCaps(3110,101709 + def _startedTLS(3136,102817 + def __cbLoginTLS(3143,102987 + def __ebLoginTLS(3148,103165 + def namespace(3153,103252 + def __cbNamespace(3175,103969 + def _prepareNamespaceOrDelimiter(3189,104507 + def _prepareNamespaceOrDelimiter(3194,104704 + def select(3212,105285 + def examine(3255,106969 + def _intOrRaise(3295,108514 + def __cbSelect(3307,108883 + def create(3365,111565 + def delete(3381,112069 + def rename(3397,112556 + def subscribe(3418,113245 + def unsubscribe(3434,113768 + def list(3450,114281 + def lsub(3486,115729 + def __cbList(3510,116550 + def status(3549,117844 + def __cbStatus(3588,119283 + def append(3610,120084 + def __cbContinueAppend(3657,121695 + def __cbFinishAppend(3663,121892 + def check(3667,121958 + def close(3680,122319 + def expunge(3697,122918 + def __cbExpunge(3719,123640 + def search(3728,123893 + def __cbSearch(3761,125089 + def fetchUID(3770,125352 + def fetchFlags(3791,126064 + def fetchInternalDate(3812,126766 + def fetchEnvelope(3834,127587 + def fetchBodyStructure(3864,128885 + def fetchSimplifiedBody(3894,130251 + def fetchMessage(3917,131090 + def fetchHeaders(3942,132020 + def fetchBody(3963,132719 + def fetchSize(3984,133429 + def fetchFull(4005,134117 + def fetchAll(4032,135163 + def fetchFast(4058,136160 + def _parseFetchPairs(4083,137104 + def nativeStringResponse(4122,139453 + def nativeStringResponse(4129,139764 + def _cbFetch(4238,143798 + def fetchSpecific(4281,145394 + def _fetch(4365,148710 + def setFlags(4392,149722 + def addFlags(4420,150643 + def removeFlags(4448,151572 + def _store(4476,152509 + def copy(4491,153089 + def modeChanged(4523,154106 + def flagsChanged(4526,154171 + def newMessages(4529,154236 +def parseIdList(4534,154308 +def Query(4605,156527 +def Or(4751,162064 +def Not(4762,162324 +def wildcardToRegexp(4767,162409 +def splitQuoted(4777,162705 +def splitOn(4842,164493 +def collapseStrings(4859,164887 +def parseNestedParens(4894,165893 +def _quote(4953,167805 +def _literal(4960,167962 +class DontQuoteMe:DontQuoteMe4965,168034 + def __init__(4966,168053 + def __str__(4970,168113 +def _needsQuote(4976,168198 +def _parseMbox(4988,168408 +def _prepareMailboxName(4999,168611 +def _needsLiteral(5010,168830 +def collapseNestedLists(5018,169028 +class MemoryAccountWithoutNamespaces(5071,171138 + def __init__(5076,171246 + def allocateID(5082,171363 + def addMailbox(5091,171489 + def create(5101,171793 + def _emptyMailbox(5116,172248 + def select(5120,172323 + def delete(5124,172426 + def rename(5147,173386 + def _inferiorNames(5165,173978 + def isSubscribed(5173,174193 + def subscribe(5177,174291 + def unsubscribe(5183,174451 + def listMailboxes(5190,174688 +class MemoryAccount(5197,174952 + def getPersonalNamespaces(5201,175046 + def getSharedNamespaces(5205,175114 + def getOtherNamespaces(5209,175171 +def statusRequestHelper(5222,175418 +def parseAddr(5230,175565 +def getEnvelope(5238,175768 +def getLineCount(5256,176388 +def unquote(5266,176627 +def _getContentType(5273,176711 +def _getMessageStructure(5296,177361 +class _MessageStructure(5323,178295 + def __init__(5329,178521 + def _disposition(5341,178862 + def _unquotedAttrs(5362,179570 +class _SinglepartMessageStructure(5375,180008 + def __init__(5384,180283 + def _basicFields(5404,180943 + def encode(5427,181568 + def _extended(5439,181934 +class _TextMessageStructure(5478,183041 + def encode(5483,183205 +class _RFC822MessageStructure(5498,183717 + def encode(5503,183893 +class _MultipartMessageStructure(5519,184457 + def __init__(5524,184626 + def _getParts(5539,185118 + def encode(5554,185464 + def _extended(5565,185809 +def getBodyStructure(5601,187147 +def _formatHeaders(5709,191211 +def subparts(5716,191489 +def iterateInReactor(5727,191637 + def go(5741,192164 +class MessageProducer:MessageProducer5758,192503 + def __init__(5762,192599 + def beginProducing(5783,193219 + def _produce(5788,193341 +class _FetchParser:_FetchParser5832,194961 + class Envelope:Envelope5833,194981 + class Flags:Flags5848,195574 + class InternalDate:InternalDate5853,195655 + class RFC822Header:RFC822Header5858,195757 + class RFC822Text:RFC822Text5863,195860 + class RFC822Size:RFC822Size5868,195957 + class RFC822:RFC8225873,196054 + class UID:UID5878,196138 + class Body:Body5883,196213 + def __str__(5894,196432 + def __bytes__(5897,196510 + class BodyStructure:BodyStructure5921,197427 + class Header:Header5927,197600 + def __str__(5932,197684 + def __bytes__(5936,197763 + class Text:Text5956,198458 + class MIME:MIME5960,198489 + def __init__(5977,198884 + def parseString(5983,198997 + def state_initial(6003,199673 + def state_close_paren(6038,200776 + def state_whitespace(6046,200990 + def state_maybe_fetch_att(6057,201302 + def state_fetch_att(6063,201474 + def state_got_body(6089,202333 + def state_maybe_section(6095,202461 + def state_part_number(6105,202680 + def state_section(6115,202943 + def state_finish_section(6153,204192 + def state_header_list(6159,204340 + def state_maybe_partial(6171,204712 +class FileProducer:FileProducer6191,205305 + def __init__(6196,205383 + def beginProducing(6200,205431 + def resumeProducing(6208,205657 + def pauseProducing(6224,206120 + def stopProducing(6230,206224 + def _size(6236,206326 +def parseTime(6245,206475 +def modified_base64(6277,207691 +def modified_unbase64(6281,207791 +def encoder(6285,207901 +def decoder(6321,208894 +class StreamReader(6356,209874 + def decode(6357,209915 +class StreamWriter(6362,209986 + def encode(6363,210027 +def imap4_utf_7(6370,210175 + +venv/lib/python2.7/site-packages/twisted/mail/relaymanager.py,2137 +class ManagedRelayerMixin:ManagedRelayerMixin35,936 + def __init__(42,1107 + def sentMail(46,1173 + def connectionLost(61,1603 +class SMTPManagedRelayer(71,1814 + def __init__(82,2233 +class ESMTPManagedRelayer(102,2896 + def __init__(109,3170 +class SMTPManagedRelayerFactory(134,4092 + def __init__(157,4927 + def buildProtocol(178,5590 + def clientConnectionFailed(194,6069 +class ESMTPManagedRelayerFactory(210,6556 + def __init__(226,7153 + def buildProtocol(254,8189 +class Queue:Queue272,8743 + def __init__(294,9343 + def _init(306,9633 + def __getstate__(316,9815 + def __setstate__(326,10095 + def readDirectory(338,10425 + def getWaiting(349,10722 + def hasWaiting(359,10986 + def getRelayed(371,11291 + def setRelaying(382,11587 + def setWaiting(393,11847 + def addMessage(404,12114 + def done(418,12526 + def getPath(431,12885 + def getEnvelope(444,13232 + def getEnvelopeFile(459,13653 + def createNewMessage(472,14018 +class _AttemptManager(493,14817 + def __init__(504,15157 + def getCompletionDeferred(526,15891 + def _finish(539,16265 + def notifySuccess(554,16777 + def notifyFailure(570,17296 + def notifyDone(599,18460 + def notifyNoConnection(622,19284 + def setWaiting(640,19879 +class SmartHostSMTPRelayingManager:SmartHostSMTPRelayingManager647,20080 + def __init__(698,22137 + def __getstate__(724,23014 + def __setstate__(736,23332 + def checkState(748,23669 + def _checkStateMX(767,24275 + def _cbExchange(806,25879 + def _ebExchange(827,26535 + def setWaiting(847,27178 +class SmartHostESMTPRelayingManager(856,27423 +def _checkState(870,27894 +def RelayStateHelper(881,28102 +class CanonicalNameLoop(899,28613 +class CanonicalNameChainTooLong(908,28841 +class MXCalculator:MXCalculator917,29109 + def __init__(945,30136 + def markBad(965,30834 + def markGood(975,31115 + def getMX(988,31398 + def _filterRecords(1013,32420 + def _cbMX(1034,33250 + def _ebMX(1118,36618 + def cbResolved(1150,37852 + def ebResolved(1153,37935 + +venv/lib/python2.7/site-packages/twisted/mail/_cred.py,760 +class CramMD5ClientAuthenticator:CramMD5ClientAuthenticator21,481 + def __init__(22,515 + def getName(26,572 + def challengeResponse(30,624 +class LOGINAuthenticator:LOGINAuthenticator37,824 + def __init__(38,850 + def getName(43,963 + def challengeUsername(47,1012 + def challengeSecret(53,1188 +class PLAINAuthenticator:PLAINAuthenticator60,1342 + def __init__(61,1368 + def getName(65,1425 + def challengeResponse(69,1474 +class LOGINCredentials(75,1607 + def __init__(76,1661 + def getChallenge(82,1861 + def setResponse(86,1928 + def moreChallenges(90,2035 +class PLAINCredentials(96,2138 + def __init__(97,2192 + def getChallenge(101,2282 + def setResponse(105,2331 + def moreChallenges(113,2593 + +venv/lib/python2.7/site-packages/twisted/mail/smtp.py,4958 +def rfc822date(97,3234 +def idGenerator(138,4583 +def messageid(148,4684 +def quoteaddr(168,5210 +class Address:Address194,5838 + def __init__(215,6551 + def dequote(272,8438 + def __str__(294,8977 + def __str__(297,9059 + def __bytes__(301,9124 + def __repr__(308,9282 +class User:User314,9428 + def __init__(319,9568 + def __getstate__(333,9960 + def __str__(346,10281 + def __bytes__(350,10352 +class SMTP(355,10412 + def __init__(386,11284 + def host(397,11571 + def host(402,11636 + def timeoutConnection(409,11781 + def greeting(415,11957 + def connectionMade(419,12044 + def sendCode(431,12419 + def lineReceived(443,12826 + def state_COMMAND(448,12947 + def sendSyntaxError(465,13521 + def lookupMethod(469,13603 + def lineLengthExceeded(482,13962 + def do_UNKNOWN(491,14228 + def do_HELO(495,14317 + def do_QUIT(512,14757 + def do_MAIL(530,15580 + def _cbFromValidate(551,16232 + def _ebFromValidate(557,16406 + def do_RCPT(573,17087 + def _cbToValidate(596,17734 + def _ebToValidate(604,17963 + def _disconnect(616,18342 + def do_DATA(625,18570 + def connectionLost(666,19878 + def do_RSET(687,20628 + def dataLineReceived(693,20758 + def _messageHandled(739,22359 + def _cbAnonymousAuthentication(756,22924 + def validateFrom(774,23559 + def ebAuthentication(809,24786 + def continueValidation(827,25533 + def validateTo(839,25842 + def receivedHeader(860,26538 +class SMTPFactory(879,27271 + def __init__(891,27474 + def buildProtocol(895,27544 +class SMTPClient(903,27720 + def __init__(922,28482 + def sendLine(935,28845 + def connectionMade(943,29061 + def connectionLost(951,29267 + def timeoutConnection(959,29449 + def lineReceived(966,29637 + def smtpConnectionFailed(1005,30714 + def smtpTransferFailed(1009,30833 + def smtpState_helo(1016,31037 + def smtpState_from(1022,31209 + def smtpState_disconnect(1034,31639 + def smtpState_to(1038,31729 + def smtpState_toOrData(1048,32062 + def smtpState_data(1066,32768 + def ebTransfer(1070,32943 + def smtpState_msgSent(1077,33157 + def transformChunk(1092,33583 + def finishedFileTransfer(1104,34005 + def getMailFrom(1114,34239 + def getMailTo(1121,34377 + def getMailData(1128,34506 + def sendError(1137,34721 + def sentMail(1154,35394 + def _disconnectFromServer(1172,36149 +class ESMTPClient(1179,36313 + def __init__(1210,37519 + def __getattr__(1217,37734 + def __setattr__(1230,38195 + def esmtpEHLORequired(1241,38563 + def esmtpAUTHRequired(1258,39174 + def esmtpTLSRequired(1282,39926 + def esmtpTLSFailed(1298,40488 + def esmtpAUTHDeclined(1314,41018 + def esmtpAUTHMalformedChallenge(1329,41491 + def esmtpAUTHServerError(1346,42105 + def registerAuthenticator(1361,42586 + def connectionMade(1376,43097 + def esmtpState_ehlo(1386,43409 + def esmtpState_serverConfig(1419,44404 + def tryTLS(1436,44941 + def esmtpState_starttls(1488,47022 + def authenticate(1508,47684 + def _esmtpState_plainAuth(1547,49272 + def esmtpState_challenge(1556,49615 + def _authResponse(1560,49714 + def smtpState_maybeAuthenticated(1576,50359 +class ESMTP(1592,50916 + def __init__(1599,51025 + def connectionMade(1608,51259 + def greeting(1614,51464 + def extensions(1618,51537 + def lookupMethod(1632,51955 + def listExtensions(1641,52181 + def do_EHLO(1654,52541 + def ext_STARTTLS(1670,52937 + def ext_AUTH(1681,53312 + def _cbAuthenticated(1703,53972 + def _ebAuthenticated(1713,54276 + def state_AUTH(1731,54953 +class SenderMixin:SenderMixin1783,56715 + def getMailFrom(1791,56864 + def getMailTo(1799,57030 + def getMailData(1803,57093 + def sendError(1807,57155 + def sentMail(1822,57771 +class SMTPSender(1842,58493 +class SMTPSenderFactory(1850,58674 + def __init__(1867,59214 + def _removeDeferred(1916,60780 + def clientConnectionFailed(1921,60867 + def clientConnectionLost(1925,60976 + def _processConnectionError(1929,61083 + def buildProtocol(1947,61893 + def _removeProtocol(1956,62145 +class LOGINCredentials(1971,62512 + def __init__(1980,62857 +class PLAINAuthenticator:PLAINAuthenticator1987,63012 + def __init__(1988,63038 + def getName(1992,63095 + def challengeResponse(1996,63144 +class ESMTPSender(2004,63352 + def __init__(2009,63468 + def _registerAuthenticators(2021,63813 + def _getContextFactory(2028,64147 +class ESMTPSenderFactory(2045,64595 + def __init__(2055,64867 + def buildProtocol(2070,65518 +def sendmail(2093,66335 + def cancel(2161,69299 +def xtext_encode(2196,70353 +def xtext_decode(2208,70639 +class xtextStreamReader(2232,71210 + def decode(2233,71256 +class xtextStreamWriter(2238,71332 + def decode(2239,71378 +def xtext_codec(2244,71454 + +venv/lib/python2.7/site-packages/twisted/mail/maildir.py,1745 +class _MaildirNameGenerator:_MaildirNameGenerator42,883 + def __init__(61,1358 + def generate(69,1593 +def initializeMaildir(92,2357 +class MaildirMessage(110,2914 + def __init__(120,3189 + def lineReceived(141,3869 + def eomReceived(152,4114 +class AbstractMaildirDomain:AbstractMaildirDomain168,4640 + def __init__(181,4919 + def userDirectory(192,5168 + def setAliasGroup(206,5491 + def exists(216,5765 + def startMessage(250,6961 + def willRelay(272,7665 + def addUser(290,8150 + def getCredentialsCheckers(305,8467 +class _MaildirMailboxAppendMessageTask:_MaildirMailboxAppendMessageTask320,8861 + def __init__(359,10083 + def startUp(375,10504 + def registerProducer(385,10775 + def prodProducer(403,11312 + def unregisterProducer(413,11615 + def write(423,11851 + def fail(436,12120 + def moveFileToNew(451,12534 + def createTempFile(476,13391 +class MaildirMailbox(499,14194 + def __init__(520,14962 + def listMessages(536,15458 + def getMessage(564,16446 + def getUidl(580,16864 + def deleteMessage(599,17424 + def undeleteMessages(620,18034 + def appendMessage(645,18834 +class StringListMailbox:StringListMailbox664,19312 + def __init__(673,19531 + def listMessages(682,19747 + def getMessage(706,20602 + def getUidl(722,21081 + def deleteMessage(738,21505 + def undeleteMessages(751,21817 + def sync(758,21971 +class MaildirDirdbmDomain(769,22210 + def __init__(788,22727 + def userDirectory(809,23412 + def addUser(831,24096 + def getCredentialsCheckers(847,24533 + def requestAvatar(860,24941 +class DirdbmDatabase:DirdbmDatabase905,26580 + def __init__(919,26981 + def requestAvatarId(927,27155 + +venv/lib/python2.7/site-packages/twisted/mail/_except.py,1847 +class IMAP4Exception(13,213 +class IllegalClientResponse(18,258 +class IllegalOperation(23,315 +class IllegalMailboxEncoding(28,367 +class MailboxException(33,425 +class MailboxCollision(38,477 + def __str__(39,519 +class NoSuchMailbox(44,606 + def __str__(45,645 +class ReadOnlyMailbox(50,727 + def __str__(51,768 +class UnhandledResponse(55,842 +class NegativeResponse(60,895 +class NoSupportedAuthentication(65,947 + def __init__(66,996 + def __str__(72,1243 +class IllegalServerResponse(79,1429 +class IllegalIdentifierError(84,1486 +class IllegalQueryError(89,1544 +class MismatchedNesting(94,1597 +class MismatchedQuoting(99,1650 +class SMTPError(104,1703 +class SMTPClientError(109,1743 + def __init__(113,1832 + def __str__(140,2793 + def __bytes__(147,2937 +class ESMTPClientError(162,3330 +class EHLORequiredError(169,3430 +class AUTHRequiredError(178,3610 +class TLSRequiredError(187,3820 +class AUTHDeclinedError(196,4033 +class AuthenticationError(209,4316 +class SMTPTLSError(222,4616 +class SMTPConnectError(231,4818 + def __init__(237,4986 +class SMTPTimeoutError(244,5210 + def __init__(250,5407 +class SMTPProtocolError(257,5631 + def __init__(263,5795 +class SMTPDeliveryError(270,6020 +class SMTPServerError(277,6137 + def __init__(278,6171 + def __str__(283,6259 +class SMTPAddressError(288,6335 + def __init__(289,6376 + def __str__(296,6552 +class SMTPBadRcpt(301,6647 + def __init__(302,6684 +class SMTPBadSender(308,6847 + def __init__(309,6886 +class AddressError(314,7017 +class POP3Error(320,7093 +class _POP3MessageDeleted(328,7185 +class POP3ClientError(336,7335 +class InsecureAuthenticationDisallowed(343,7448 +class TLSError(351,7620 +class TLSNotSupportedError(359,7821 +class ServerErrorResponse(367,7985 + def __init__(374,8167 +class LineTooLong(388,8582 + +venv/lib/python2.7/site-packages/twisted/mail/pb.py,651 +class Maildir(10,117 + def __init__(12,151 + def getFolderMessage(18,352 + def deleteFolderMessage(25,598 + def deleteNewMessage(32,890 + def deleteCurMessage(37,1030 + def getNewMessages(42,1170 + def getCurMessages(47,1308 + def getNewMessage(52,1446 + def getCurMessage(57,1574 + def getSubFolder(62,1702 + def _isSubFolder(76,2176 +class MaildirCollection(83,2431 + def __init__(84,2474 + def getSubFolders(88,2531 + def getSubFolder(93,2645 +class MaildirBroker(101,2869 + def proto_getCollection(102,2901 + def getCollection(110,3171 +class MaildirClient(120,3466 + def getCollection(121,3498 + +venv/lib/python2.7/site-packages/twisted/mail/tap.py,489 +class Options(28,547 + def __init__(116,3440 + def addEndpoint(127,3725 + def opt_pop3(142,4193 + def opt_smtp(152,4464 + def opt_default(162,4736 + def opt_maildirdbmdomain(173,5070 + def opt_user(191,5810 + def opt_bounce_to_postmaster(206,6315 + def opt_aliases(214,6513 + def _getEndpoints(237,7398 + def postOptions(274,8865 +class AliasUpdater:AliasUpdater306,9949 + def __init__(314,10147 + def __call__(326,10508 +def makeService(337,10784 + +venv/lib/python2.7/site-packages/twisted/mail/pop3.py,2986 +class APOPCredentials:APOPCredentials40,919 + def __init__(48,1110 + def checkPassword(66,1710 +class _HeadersPlusNLines:_HeadersPlusNLines83,2192 + def __init__(106,2913 + def read(122,3348 +class _IteratorBuffer(168,4806 + def __init__(187,5362 + def __iter__(208,6104 + def __next__(218,6293 +def iterateLineGenerator(251,7305 +def successResponse(270,7833 +def formatStatResponse(286,8231 +def formatListLines(311,8949 +def formatListResponse(330,9452 +def formatUIDListLines(350,9981 +def formatUIDListResponse(371,10641 +class POP3(396,11407 + def connectionMade(477,14178 + def connectionLost(489,14589 + def generateMagic(502,14936 + def successResponse(512,15139 + def failResponse(523,15465 + def lineReceived(536,15870 + def _unblock(547,16135 + def state_COMMAND(566,16677 + def processCommand(582,17195 + def listCapabilities(609,18101 + def do_CAPA(686,20541 + def do_AUTH(698,20828 + def state_AUTH(734,22070 + def do_APOP(764,23203 + def _cbMailbox(783,23846 + def _ebMailbox(817,25134 + def _ebUnexpected(838,25920 + def do_USER(851,26293 + def do_PASS(865,26633 + def _longOperation(888,27497 + def _coiterate(909,28197 + def do_STAT(925,28675 + def cbMessages(934,28966 + def ebMessages(936,29057 + def do_LIST(943,29292 + def cbMessages(956,29698 + def ebMessages(958,29797 + def cbMessage(974,30452 + def ebMessage(977,30610 + def do_UIDL(1002,31955 + def cbMessages(1015,32361 + def ebMessages(1019,32521 + def _getMessageFile(1050,33826 + def cbMessageSize(1071,34594 + def ebMessageSomething(1078,34880 + def _sendMessageContent(1101,35880 + def cbMessageFile(1120,36479 + def cbFileTransfer(1133,36962 + def ebFileTransfer(1140,37169 + def do_TOP(1151,37523 + def do_RETR(1178,38292 + def transformChunk(1195,38709 + def finishedFileTransfer(1212,39237 + def do_DELE(1226,39563 + def do_NOOP(1240,39871 + def do_RSET(1249,40035 + def do_LAST(1265,40384 + def do_RPOP(1274,40582 + def do_QUIT(1287,40845 + def authenticateUserAPOP(1300,41159 + def authenticateUserPASS(1330,42353 +class Mailbox:Mailbox1362,43608 + def listMessages(1366,43671 + def getMessage(1387,44506 + def getUidl(1403,44960 + def deleteMessage(1420,45449 + def undeleteMessages(1437,46021 + def sync(1447,46292 +class POP3Client(1465,46551 + def __init__(1489,47336 + def sendShort(1500,47677 + def sendLong(1520,48277 + def handle_default(1540,48852 + def handle_WELCOME(1551,49120 + def _dispatch(1567,49559 + def lineReceived(1593,50326 + def apopAuthenticate(1623,51527 + def apop(1640,52018 + def retr(1653,52389 + def dele(1663,52619 + def list(1673,52848 + def uidl(1685,53199 + def user(1697,53576 + def password(1707,53828 + def quit(1718,54115 + +venv/lib/python2.7/site-packages/twisted/mail/pop3client.py,1501 +class _ListSetter:_ListSetter33,776 + def __init__(47,1354 + def setitem(56,1558 +def _statXform(73,2100 +def _listXform(89,2524 +def _uidXform(108,3033 +def _codeStatusSplit(128,3563 +def _dotUnquoter(145,3983 +class POP3Client(167,4634 + def _blocked(260,8607 + def _unblock(289,9612 + def sendShort(312,10457 + def sendLong(346,11628 + def connectionMade(395,13612 + def timeoutConnection(408,13935 + def connectionLost(416,14134 + def lineReceived(447,15241 + def lineLengthExceeded(465,15708 + def state_WELCOME(481,16288 + def state_WAITING(512,17166 + def state_SHORT(523,17508 + def state_LONG_INITIAL(547,18265 + def state_LONG(573,19118 + def serverGreeting(606,20296 + def startTLS(618,20666 + def _startTLS(658,22317 + def _startedTLS(701,24265 + def _getContextFactory(733,25408 + def login(752,25982 + def _login(783,27175 + def _loginTLS(837,29397 + def _plaintext(864,30410 + def _apop(884,31173 + def apop(907,31983 + def user(932,33026 + def password(951,33797 + def delete(970,34589 + def _consumeOrSetItem(987,35286 + def _consumeOrAppend(1026,37113 + def capabilities(1063,38671 + def consume(1115,40616 + def capaNotSupported(1122,40813 + def gotCapabilities(1126,40915 + def noop(1135,41164 + def reset(1149,41748 + def retrieve(1164,42370 + def stat(1197,43722 + def listSize(1213,44414 + def listUID(1232,45267 + def quit(1251,46124 + +venv/lib/python2.7/site-packages/twisted/mail/alias.py,1523 +def handle(26,523 +def loadAliasFile(54,1396 +class AliasBase:AliasBase127,3679 + def __init__(136,3877 + def domain(148,4257 + def resolve(158,4506 +class AddressAlias(184,5366 + def __init__(191,5547 + def __str__(205,6020 + def createMessageReceiver(215,6275 + def resolve(226,6577 +class FileWrapper:FileWrapper258,7683 + def __init__(269,7993 + def lineReceived(279,8260 + def eomReceived(289,8491 + def connectionLost(312,9164 + def __str__(320,9329 +class FileAlias(332,9618 + def __init__(338,9752 + def __str__(351,10173 + def createMessageReceiver(361,10422 +class ProcessAliasTimeout(372,10704 +class MessageWrapper:MessageWrapper381,10882 + def __init__(418,12104 + def _processEnded(440,12866 + def lineReceived(463,13713 + def eomReceived(475,14000 + def _completionCancel(491,14522 + def connectionLost(505,15052 + def __str__(511,15156 +class ProcessAliasProtocol(522,15427 + def processEnded(532,15739 +class ProcessAlias(545,16038 + def __init__(564,16669 + def __str__(580,17177 + def spawnProcess(590,17446 + def createMessageReceiver(617,18424 +class MultiWrapper:MultiWrapper633,18889 + def __init__(640,19055 + def lineReceived(649,19305 + def eomReceived(660,19555 + def connectionLost(674,20020 + def __str__(682,20207 +class AliasGroup(694,20506 + def __init__(707,20918 + def __len__(746,22278 + def __str__(756,22488 + def createMessageReceiver(766,22769 + def resolve(778,23202 + +venv/lib/python2.7/site-packages/twisted/mail/protocols.py,643 +class DomainDeliveryBase:DomainDeliveryBase28,650 + def __init__(43,1065 + def receivedHeader(59,1464 + def validateTo(91,2650 + def validateFrom(117,3630 +class SMTPDomainDelivery(144,4539 +class ESMTPDomainDelivery(152,4691 +class SMTPFactory(160,4846 + def __init__(175,5253 + def buildProtocol(189,5651 +class ESMTPFactory(207,6146 + def __init__(230,7032 + def buildProtocol(242,7312 +class VirtualPOP3(259,7764 + def authenticateUserAPOP(277,8357 + def authenticateUserPASS(311,9609 + def lookupDomain(345,10889 +class POP3Factory(370,11669 + def __init__(384,12057 + def buildProtocol(392,12227 + +venv/lib/python2.7/site-packages/twisted/mail/mail.py,1603 +class DomainWithDefaultDict:DomainWithDefaultDict27,571 + def __init__(35,805 + def setDefaultDomain(47,1156 + def has_key(57,1370 + def fromkeys(80,2072 + def __contains__(101,2688 + def __getitem__(118,3148 + def __setitem__(132,3551 + def __delitem__(145,3872 + def __iter__(155,4091 + def __len__(165,4336 + def __str__(175,4558 + def __repr__(186,4859 + def get(197,5179 + def copy(215,5758 + def iteritems(225,6002 + def iterkeys(241,6603 + def itervalues(255,7066 + def keys(270,7573 + def values(281,7808 + def items(291,8072 + def popitem(303,8422 + def update(317,8825 + def clear(335,9378 + def setdefault(345,9556 +class BounceDomain:BounceDomain368,10167 + def exists(374,10276 + def willRelay(387,10597 + def addUser(404,11045 + def getCredentialsCheckers(417,11311 +class FileMessage:FileMessage429,11536 + def __init__(437,11733 + def lineReceived(455,12290 + def eomReceived(465,12494 + def connectionLost(478,12893 +class MailService(487,13067 + def __init__(516,13929 + def getPOP3Factory(530,14354 + def getSMTPFactory(540,14567 + def getESMTPFactory(550,14823 + def addDomain(560,15085 + def setQueue(578,15646 + def requestAvatar(588,15857 + def lookupPortal(616,16894 + def defaultPortal(629,17146 +class FileMonitoringService(642,17404 + def __init__(664,18330 + def startService(672,18517 + def _setupMonitor(680,18686 + def stopService(689,18932 + def monitorFile(699,19154 + def unmonitorFile(720,19801 + def _monitor(734,20160 + +venv/lib/python2.7/site-packages/twisted/mail/scripts/mailmail.py,302 +class Options:Options47,981 +def getlogin(64,1382 +def parseOptions(75,1541 +class Configuration:Configuration200,4894 + def __init__(227,5931 +def loadConfig(243,6257 +def success(314,8556 +def failure(320,8613 +def sendmail(327,8684 +def senderror(334,8848 +def deny(346,9271 +def run(376,9924 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_insults.py,2993 +def _getattr(22,836 +def occurrences(26,916 +def methods(30,982 +def _append(34,1040 +def _ecmaCodeTableCoordinate(40,1120 +def _makeControlFunctionSymbols(60,1869 +class Mock(139,4188 + def __init__(142,4239 + def __call__(155,4656 + def __getattribute__(164,4980 +class MockMixin:MockMixin176,5330 + def assertCall(177,5347 +def testByte%(190,5854 +class ByteGroupingsMixin(205,6261 + def verifyResults(212,6514 +class ServerArrowKeysTests(218,6740 + def verifyResults(224,6921 +class PrintableCharactersTests(234,7371 + def verifyResults(242,7643 +class ServerFunctionKeysTests(258,8280 + def verifyResults(271,8772 +class ClientCursorMovementTests(281,9199 + def verifyResults(292,9536 +class ClientControlSequencesTests(303,10010 + def setUp(304,10075 + def testSimpleCardinals(313,10456 + def testScrollRegion(328,11079 + def testHeightAndWidth(339,11483 + def testCharacterSet(356,12119 + def testShifting(371,12690 + def testSingleShifts(383,13045 + def testKeypadMode(395,13415 + def testCursor(407,13797 + def testReset(419,14160 + def testIndex(428,14402 + def testModes(443,14868 + def testErasure(458,15507 + def testLineDeletion(474,16112 + def testLineInsertion(484,16417 + def testCursorPosition(494,16723 + def test_applicationDataBytes(506,17226 + def _applicationDataTest(519,17687 + def test_shiftInAfterApplicationData(527,17970 + def test_shiftOutAfterApplicationData(538,18326 + def test_cursorBackwardAfterApplicationData(549,18686 + def test_escapeAfterApplicationData(561,19078 +class ServerProtocolOutputTests(584,19759 + def setUp(595,20184 + def test_cursorUp(601,20344 + def test_cursorDown(611,20668 + def test_cursorForward(621,20998 + def test_cursorBackward(631,21337 + def test_cursorPosition(641,21679 + def test_cursorHome(652,22072 + def test_index(663,22440 + def test_reverseIndex(675,22810 + def test_nextLine(685,23119 + def test_setModes(696,23564 + def test_setPrivateModes(710,24060 + def test_resetModes(726,24687 + def test_singleShift2(739,25148 + def test_singleShift3(749,25454 + def test_selectGraphicRendition(759,25760 + def test_horizontalTabulationSet(772,26273 + def test_eraseToLineEnd(783,26636 + def test_eraseToLineBeginning(795,27105 + def test_eraseLine(807,27587 + def test_eraseToDisplayEnd(818,27948 + def test_eraseToDisplayBeginning(830,28426 + def test_eraseToDisplay(842,28913 + def test_deleteCharacter(853,29280 + def test_insertLine(864,29663 + def test_deleteLine(875,30024 + def test_setScrollRegionNoArgs(886,30385 + def test_setScrollRegionJustFirst(896,30739 + def test_setScrollRegionJustLast(906,31127 + def test_setScrollRegionFirstAndLast(916,31512 + def test_reportCursorPosition(927,31937 +class DeprecationsTests(941,32378 + def ensureDeprecated(946,32514 + def test_colors(956,32854 + def test_client(966,33218 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_conch.py,2462 + class ConchUser:ConchUser20,574 +def _has_ipv6(60,1676 +class FakeStdio(80,2024 + def loseWriteConnection(90,2335 +class StdioInteractingSessionTests(98,2479 + def test_eofReceived(106,2672 +class Echo(119,3024 + def connectionMade(120,3055 + def connectionLost(124,3127 + def dataReceived(128,3207 +class EchoFactory(135,3349 +class ConchTestOpenSSHProcess(140,3409 + def _getDeferred(152,3771 + def outReceived(157,3865 + def processEnded(161,3925 +class ConchTestForwardingProcess(177,4415 + def __init__(192,4994 + def _getDeferred(207,5451 + def connectionMade(212,5545 + def _connect(216,5601 + def _ebConnect(230,6140 + def forwardingPortDisconnected(234,6216 + def _reallyDie(246,6650 + def processEnded(253,6794 +class ConchTestForwardingPort(262,7038 + def __init__(270,7335 + def connectionMade(282,7682 + def dataReceived(287,7780 + def connectionLost(291,7844 +def _makeArgs(296,7947 +class ConchServerSetupMixin:ConchServerSetupMixin319,8499 + def _createFiles(328,8735 + def _getFreePort(347,9424 + def _makeConchFactory(355,9578 + def setUp(368,9987 + def tearDown(381,10565 +class ForwardingMixin(398,11086 + def test_exec(412,11607 + def test_localToRemoteForwarding(422,11957 + def test_remoteToLocalForwarding(436,12463 +class RekeyAvatar(456,13232 + def __init__(464,13564 + def openShell(469,13675 + def write(479,14026 + def closed(502,15024 +class RekeyRealm:RekeyRealm509,15114 + def requestAvatar(513,15226 +class RekeyTestsMixin(518,15345 + def test_clientRekey(525,15545 + def finished(532,15829 +class OpenSSHClientMixin:OpenSSHClientMixin541,16112 + def execute(546,16219 + def hasPAKT(568,17101 +class OpenSSHKeyExchangeTests(600,18403 + def assertExecuteWithKexAlgorithm(607,18630 + def test_ECDHSHA256(638,19765 + def test_ECDHSHA384(647,19996 + def test_ECDHSHA521(656,20227 + def test_DH_GROUP14(665,20458 + def test_DH_GROUP_EXCHANGE_SHA1(674,20708 + def test_DH_GROUP_EXCHANGE_SHA256(683,20984 + def test_unsupported_algorithm(692,21266 +class OpenSSHClientForwardingTests(703,21605 + def test_localToRemoteForwardingV6(708,21828 +class OpenSSHClientRekeyTests(724,22376 +class CmdLineClientTests(732,22579 + def execute(740,22825 + def test_runWithLogFile(777,24154 + def cb_check_log(781,24256 + def test_runWithNoHostAlgorithmsSpecified(799,24800 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_transport.py,8646 + class transport:transport34,912 + class SSHTransportBase:SSHTransportBase35,974 + class SSHServerTransport:SSHServerTransport36,1011 + class SSHClientTransport:SSHClientTransport37,1050 + class factory:factory40,1091 + class SSHFactory:SSHFactory41,1110 + class common:common44,1154 + def NS(46,1193 +class MockTransportBase(62,1735 + def connectionMade(73,2166 + def _unsupportedVersionReceived(85,2465 + def receiveError(96,2785 + def receiveUnimplemented(106,3021 + def receiveDebug(115,3213 + def ssh_IGNORE(126,3485 +class MockCipher(136,3645 + def encrypt(154,4048 + def decrypt(166,4467 + def makeMAC(178,4886 + def verify(186,5117 + def setKeys(194,5372 +class MockCompression:MockCompression202,5554 + def compress(208,5735 + def decompress(212,5810 + def flush(216,5881 +class MockService(221,5934 + def logPrefix(234,6307 + def serviceStarted(238,6363 + def serviceStopped(245,6492 + def ssh_TEST(252,6621 +class MockFactory(260,6777 + def getPublicKeys(268,6960 + def getPrivateKeys(277,7238 + def getPrimes(286,7520 +class MockOldFactoryPublicKeys(306,8263 + def getPublicKeys(312,8453 +class MockOldFactoryPrivateKeys(323,8719 + def getPrivateKeys(329,8928 +class TransportTestCase(340,9196 + def setUp(350,9370 + def secureRandom(354,9508 + def stubSendPacket(360,9710 + def finishKeyExchange(367,9974 + def simulateKeyExchange(386,10905 +class DHGroupExchangeSHA1Mixin:DHGroupExchangeSHA1Mixin398,11390 +class DHGroupExchangeSHA256Mixin:DHGroupExchangeSHA256Mixin408,11580 +class ECDHMixin:ECDHMixin418,11778 +class BaseSSHTransportBaseCase:BaseSSHTransportBaseCase428,11934 +class BaseSSHTransportTests(437,12055 + def test_sendVersion(459,12729 + def test_sendPacketPlain(483,13694 + def test_sendPacketEncrypted(504,14434 + def test_sendPacketCompressed(533,15402 + def test_sendPacketBoth(550,16008 + def test_getPacketPlain(581,17129 + def test_getPacketEncrypted(596,17641 + def test_getPacketCompressed(617,18478 + def test_getPacketBoth(633,19051 + def test_ciphersAreValid(650,19682 + def test_sendKexInit(660,20011 + def test_receiveKEXINITReply(701,21872 + def test_sendKEXINITReply(712,22220 + def test_sendKexInitTwiceFails(726,22709 + def test_sendKexInitBlocksOthers(736,23128 + def test_sendDebug(773,24526 + def test_receiveDebug(787,24940 + def test_sendIgnore(802,25457 + def test_receiveIgnore(813,25782 + def test_sendUnimplemented(822,26054 + def test_receiveUnimplemented(833,26398 + def test_sendDisconnect(843,26746 + def stubLoseConnection(851,27005 + def test_receiveDisconnect(862,27390 + def stubLoseConnection(868,27582 + def test_dataReceived(877,27952 + def stubKEXINIT(883,28127 + def test_service(893,28486 + def test_avatar(914,29185 + def logout(919,29338 + def test_isEncrypted(928,29555 + def test_isVerified(948,30468 + def test_loseConnection(968,31369 + def stubLoseConnection(974,31554 + def test_badVersion(983,31909 + def testBad(987,32040 + def stubLoseConnection(991,32177 + def test_dataBeforeVersion(1006,32785 + def test_compatabilityVersion(1020,33311 + def test_dataReceivedSSHVersionUnixNewline(1032,33750 + def test_dataReceivedSSHVersionTrailingSpaces(1052,34368 + def test_supportedVersionsAreAllowed(1076,35157 + def test_unsupportedVersionsCallUnsupportedVersionReceived(1088,35619 + def test_badPackets(1100,36111 + def testBad(1105,36262 + def stubDecompress(1123,37226 + def test_unimplementedPackets(1131,37533 + def checkUnimplemented(1137,37746 + def test_multipleClasses(1158,38488 +class BaseSSHTransportDHGroupExchangeBaseCase(1183,39545 + def test_getKey(1188,39694 +class BaseSSHTransportDHGroupExchangeSHA1Tests(1202,40114 +class BaseSSHTransportDHGroupExchangeSHA256Tests(1211,40348 +class BaseSSHTransportEllipticCurveTests(1220,40588 +class ServerAndClientSSHTransportBaseCase:ServerAndClientSSHTransportBaseCase1229,40784 + def checkDisconnected(1234,40909 + def connectModifiedProtocol(1244,41257 + def test_disconnectIfCantMatchKex(1261,41826 + def blankKeyExchanges(1266,41982 + def test_disconnectIfCantMatchKeyAlg(1271,42125 + def blankPublicKeys(1275,42268 + def test_disconnectIfCantMatchCompression(1280,42405 + def blankCompressions(1284,42551 + def test_disconnectIfCantMatchCipher(1289,42694 + def blankCiphers(1293,42834 + def test_disconnectIfCantMatchMAC(1298,42962 + def blankMACs(1302,43092 + def test_getPeer(1307,43211 + def test_getHost(1317,43556 +class ServerSSHTransportBaseCase(1328,43902 + def setUp(1336,44077 + def tearDown(1342,44223 +class ServerSSHTransportTests(1349,44363 + def test_KEXINITMultipleAlgorithms(1354,44492 + def test_ignoreGuessPacketKex(1392,46494 + def test_ignoreGuessPacketKey(1429,48183 + def assertKexDHInitResponse(1463,49663 + def test_checkBad_KEX_ECDH_INIT_CurveName(1503,51157 + def test_checkBad_KEX_INIT_CurveName(1515,51621 + def test_KEXDH_INIT_GROUP14(1539,52387 + def test_keySetup(1547,52645 + def test_ECDH_keySetup(1566,53421 + def test_NEWKEYS(1585,54193 + def test_SERVICE_REQUEST(1609,55192 + def test_disconnectNEWKEYSData(1620,55614 + def test_disconnectSERVICE_REQUESTBadService(1628,55820 +class ServerSSHTransportDHGroupExchangeBaseCase(1638,56134 + def test_KEX_DH_GEX_REQUEST_OLD(1643,56292 + def test_KEX_DH_GEX_REQUEST_OLD_badKexAlg(1662,57093 + def test_KEX_DH_GEX_REQUEST(1672,57452 + def test_KEX_DH_GEX_INIT_after_REQUEST_OLD(1692,58321 + def test_KEX_DH_GEX_INIT_after_REQUEST(1724,59732 +class ServerSSHTransportDHGroupExchangeSHA1Tests(1758,61107 +class ServerSSHTransportDHGroupExchangeSHA256Tests(1767,61350 +class ClientSSHTransportBaseCase(1776,61599 + def verifyHostKey(1784,61774 + def setUp(1795,62149 +class ClientSSHTransportTests(1804,62451 + def test_KEXINITMultipleAlgorithms(1809,62580 + def test_notImplementedClientMethods(1847,64611 + def _checkRaises(1854,64932 + def assertKexInitResponseForDH(1860,65119 + def test_KEXINIT_group14(1882,65938 + def test_KEXINIT_badKexAlg(1890,66176 + def test_KEXDH_REPLY(1901,66615 + def _cbTestKEXDH_REPLY(1918,67214 + def test_keySetup(1933,67668 + def test_NEWKEYS(1951,68459 + def stubConnectionSecure(1958,68681 + def test_SERVICE_ACCEPT(1985,69806 + def test_requestService(1994,70108 + def test_disconnectKEXDH_REPLYBadSignature(2003,70436 + def test_disconnectKEX_ECDH_REPLYBadSignature(2012,70766 + def test_disconnectNEWKEYSData(2054,72259 + def test_disconnectSERVICE_ACCEPT(2062,72465 + def test_noPayloadSERVICE_ACCEPT(2072,72794 +class ClientSSHTransportDHGroupExchangeBaseCase(2085,73251 + def test_KEXINIT_groupexchange(2090,73409 + def test_KEX_DH_GEX_GROUP(2103,73922 + def test_KEX_DH_GEX_REPLY(2120,74655 + def _cbTestKEX_DH_GEX_REPLY(2139,75453 + def test_disconnectGEX_REPLYBadSignature(2154,75925 + def test_disconnectKEX_ECDH_REPLYBadSignature(2163,76261 +class ClientSSHTransportDHGroupExchangeSHA1Tests(2206,77743 +class ClientSSHTransportDHGroupExchangeSHA256Tests(2215,77986 +class GetMACTests(2224,78235 + def setUp(2232,78381 + def getSharedSecret(2236,78472 + def assertGetMAC(2246,78684 + def test_hmacsha2512(2278,79914 + def test_hmacsha2384(2289,80335 + def test_hmacsha2256(2300,80756 + def test_hmacsha1(2311,81177 + def test_hmacmd5(2321,81568 + def test_none(2331,81953 +class SSHCiphersTests(2344,82283 + def test_init(2352,82439 + def test_getCipher(2363,82820 + def test_setKeysCiphers(2377,83357 + def test_setKeysMACs(2403,84616 + def test_makeMAC(2431,85652 +class TransportLoopbackTests(2458,86714 + def _runClientServer(2466,86905 + def check(2492,87937 + def test_ciphers(2519,89148 + def setCipher(2526,89416 + def test_macs(2533,89662 + def setMAC(2539,89860 + def test_keyexchanges(2546,90094 + def setKeyExchange(2552,90314 + def test_compressions(2559,90581 + def setCompression(2565,90799 +class RandomNumberTests(2573,91066 + def test_usesSuppliedRandomFunction(2582,91288 + def random(2587,91502 + def test_rejectsNonByteMultiples(2596,91788 + def test_excludesSmall(2606,92091 + def random(2613,92412 + def test_excludesLarge(2620,92569 + def random(2628,92904 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_unix.py,322 +class MockProcessSpawner(19,470 + def __init__(24,583 + def spawnProcess(28,646 +class StubUnixConchUser(46,1220 + def __init__(52,1361 + def getUserGroupId(59,1567 + def getHomeDir(63,1627 + def getShell(67,1690 +class TestSSHSessionForUnixConchUser(72,1730 + def testExecCommandEnvironment(80,1929 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_manhole_tap.py,181 +class MakeServiceTests(35,666 + def setUp(48,952 + def test_requiresPort(58,1228 + def test_telnetPort(70,1632 + def test_sshPort(85,2330 + def test_passwd(105,3339 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_channel.py,841 +class MockConnection(28,766 + def __init__(41,1289 + def logPrefix(47,1389 + def sendData(54,1507 + def sendExtendedData(61,1657 + def sendClose(68,1841 +def connectSSHTransport(76,1992 +class ChannelTests(97,2683 + def setUp(104,2789 + def test_interface(116,3179 + def test_init(123,3376 + def test_str(154,4630 + def test_bytes(166,5027 + def test_logPrefix(180,5446 + def test_addWindowBytes(189,5752 + def stubStartWriting(195,5936 + def test_requestReceived(219,6799 + def test_closeReceieved(230,7257 + def test_write(239,7516 + def stubStopWriting(246,7758 + def test_writeExtended(274,8859 + def stubStopWriting(281,9128 + def test_writeSequence(312,10449 + def test_loseConnection(321,10758 + def test_getPeer(336,11345 + def test_getHost(347,11724 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_cftp.py,4124 +class SSHSessionTests(50,1636 + def test_eofReceived(54,1741 +class ListingTests(67,2079 + def setUp(76,2372 + def fakeTime(82,2548 + def cleanup(92,2910 + def _lsInTimezone(102,3200 + def test_oldFile(114,3559 + def test_oldSingleDigitDayOfMonth(131,4239 + def test_newFile(150,5119 + def test_localeIndependent(167,5816 + def test_newSingleDigitDayOfMonth(199,7099 +class InMemorySSHChannel(219,7984 + def __init__(225,8159 +class FilesystemAccessExpectations(236,8428 + def __init__(241,8551 + def put(245,8602 + def pop(260,8955 +class InMemorySFTPClient(277,9332 + def __init__(287,9673 + def openFile(296,9907 +class InMemoryRemoteFile(307,10179 + def __init__(312,10285 + def writeChunk(321,10464 + def close(330,10652 + def getvalue(339,10829 +class StdioClientTests(349,11007 + def setUp(353,11092 + def test_exec(373,12012 + def test_execWithoutShell(387,12430 + def test_bang(400,12837 + def setKnownConsoleSize(413,13212 + class FakeFcntl(425,13618 + def ioctl(426,13651 + def test_printProgressBarReporting(433,13919 + def test_printProgressBarNoProgress(461,14993 + def test_printProgressBarEmptyFile(483,15747 + def test_getFilenameEmpty(501,16282 + def test_getFilenameOnlyLocal(510,16503 + def test_getFilenameNotQuoted(520,16771 + def test_getFilenameQuoted(530,17057 + def makeFile(540,17401 + def checkPutMessage(561,17969 + def test_cmd_PUTSingleNoRemotePath(623,20343 + def test_cmd_PUTSingleRemotePath(652,21364 + def test_cmd_PUTMultipleNoRemotePath(677,22200 + def test_cmd_PUTMultipleWithRemotePath(716,23706 +class FileTransferTestRealm:FileTransferTestRealm759,25348 + def __init__(760,25377 + def requestAvatar(764,25443 +class SFTPTestProcess(770,25599 + def __init__(777,25839 + def clearBuffer(789,26185 + def outReceived(798,26401 + def _checkForCommand(816,27086 + def errReceived(827,27470 + def getBuffer(834,27633 + def runCommand(841,27783 + def runScript(860,28511 + def killProcess(876,29092 + def processEnded(892,29577 +class CFTPClientTestBase(903,29853 + def setUp(904,29893 + def startServer(915,30282 + def stopServer(924,30602 + def _cbStopServer(934,30945 + def tearDown(938,31047 +class OurServerCmdLineClientTests(948,31262 + def setUp(957,31566 + def tearDown(997,32979 + def _killProcess(1003,33120 + def runCommand(1010,33297 + def runScript(1019,33593 + def testCdPwd(1028,33913 + def cmdOutput(1039,34373 + def testChAttrs(1056,34880 + def _check(1061,35062 + def testList(1074,35569 + def _check(1079,35750 + def testHelp(1094,36609 + def assertFilesEqual(1107,36970 + def testGet(1115,37216 + def _checkGet(1126,37720 + def testWildcardGet(1140,38292 + def _check(1144,38419 + def testPut(1156,38924 + def _checkPut(1165,39354 + def test_putOverLongerFile(1179,39910 + def _checkPut(1189,40290 + def test_putMultipleOverLongerFile(1199,40623 + def _checkPut(1211,41125 + def testWildcardPut(1221,41423 + def check(1227,41674 + def testLink(1245,42441 + def _check(1250,42640 + def testRemoteDirectory(1262,43039 + def _check(1266,43175 + def test_existingRemoteDirectory(1278,43572 + def _check(1283,43782 + def testLocalDirectory(1294,44120 + def testRename(1307,44632 + def _check(1311,44722 +class OurServerBatchFileTests(1323,45086 + def setUp(1329,45258 + def tearDown(1334,45347 + def _getBatchOutput(1339,45448 + def _cleanup(1360,46252 + def testBatchFile(1370,46419 + def _cbCheckResult(1380,46652 + def testError(1392,47083 + def _cbCheckResult(1401,47254 + def testIgnoredError(1409,47451 + def _cbCheckResult(1418,47645 +class OurServerSftpClientTests(1427,47840 + def setUp(1432,47968 + def tearDown(1437,48064 + def test_extendedAttributes(1441,48123 + def _getAttrs(1455,48655 + def hasPAKT(1469,49277 + def check(1484,49935 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_manhole.py,1780 +def determineDefaultFunctionName(22,542 +class ManholeInterpreterTests(38,1047 + def test_resetBuffer(42,1158 +class ManholeProtocolTests(53,1470 + def test_interruptResetsInterpreterBuffer(57,1567 +class WriterTests(73,2097 + def test_Integer(74,2135 + def test_DoubleQuoteString(81,2257 + def test_SingleQuoteString(88,2408 + def test_TripleSingleQuotedString(95,2559 + def test_TripleDoubleQuotedString(102,2721 + def test_FunctionDefinition(109,2894 + def test_ClassDefinition(116,3047 + def test_unicode(123,3194 + def test_bytes(131,3382 + def test_identicalOutput(139,3573 +class ManholeLoopbackMixin:ManholeLoopbackMixin148,3839 + def wfd(152,3913 + def test_SimpleExpression(156,3977 + def finished(166,4196 + def test_TripleQuoteLineContinuation(175,4385 + def finished(185,4635 + def test_FunctionDefinition(195,4855 + def finished(207,5143 + def test_ClassDefinition(219,5440 + def finished(231,5770 + def test_Exception(244,6139 + def finished(254,6379 + def test_ControlC(266,6778 + def finished(276,7022 + def test_interruptDuringContinuation(285,7236 + def gotContinuation(295,7626 + def gotInterruption(304,7942 + def test_ControlBackslash(314,8213 + def gotPartialLine(321,8427 + def gotClearedLine(329,8702 + def test_controlD(338,8916 + def test_ControlL(360,9624 + def test_controlA(378,10391 + def cb(385,10658 + def test_controlE(390,10772 + def cb(397,11046 + def test_deferred(403,11187 +class ManholeLoopbackTelnetTests(432,12167 +class ManholeLoopbackSSHTests(441,12356 +class ManholeLoopbackStdioTests(451,12595 +class ManholeMainTests(463,12902 + def test_mainClassNotFound(471,13088 + +venv/lib/python2.7/site-packages/twisted/conch/test/loopback.py,105 +class LoopbackRelay(10,221 + def logPrefix(13,288 + def write(17,386 + def _clearBuffer(26,650 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_keys.py,2657 +class KeyTests(33,689 + def setUp(41,854 + def tearDown(101,3681 + def test_size(104,3738 + def test__guessStringType(116,4171 + def test_public(155,5985 + def test_isPublic(175,6891 + def _testPublicPrivateFromString(192,7532 + def _testPublicFromString(197,7719 + def _testPrivateFromString(205,8008 + def test_fromOpenSSH(213,8305 + def test_fromOpenSSHErrors(231,9205 + def test_fromOpenSSH_with_whitespace(245,9727 + def test_fromNewerOpenSSH(267,10809 + def test_fromOpenSSH_windows_line_endings(281,11365 + def test_fromLSHPublicUnsupportedType(303,12395 + def test_fromLSHPrivateUnsupportedType(316,12782 + def test_fromLSHRSA(329,13132 + def test_fromLSHDSA(341,13438 + def test_fromAgentv3(353,13734 + def test_fromStringErrors(365,14206 + def test_fromFile(516,22702 + def test_init(528,23144 + def test_equal(537,23409 + def test_notEqual(553,23919 + def test_dataError(569,24433 + def test_fingerprintdefault(577,24643 + def test_fingerprint_md5_hex(588,25079 + def test_fingerprintsha256(603,25643 + def test_fingerprintBadFormat(618,26217 + def test_type(629,26614 + def test_fromBlobUnsupportedType(645,27426 + def test_fromBlobRSA(655,27718 + def test_fromBlobDSA(675,28268 + def test_fromBlobECDSA(698,28983 + def test_fromPrivateBlobUnsupportedType(721,29755 + def test_fromPrivateBlobRSA(732,30069 + def test_fromPrivateBlobDSA(752,30715 + def test_fromPrivateBlobECDSA(771,31315 + def test_blobRSA(788,31879 + def test_blobDSA(800,32260 + def test_blobEC(816,32785 + def test_blobNoKey(835,33465 + def test_privateBlobRSA(845,33718 + def test_privateBlobDSA(865,34510 + def test_privateBlobEC(883,35139 + def test_privateBlobNoKeyObject(897,35649 + def test_toOpenSSHRSA(906,35888 + def test_toOpenSSHDSA(920,36509 + def test_toOpenSSHECDSA(932,37007 + def test_toLSHRSA(943,37441 + def test_toLSHDSA(953,37788 + def test_toAgentv3RSA(963,38134 + def test_toAgentv3DSA(971,38404 + def test_toStringErrors(979,38673 + def test_signAndVerifyRSA(988,38938 + def test_signAndVerifyDSA(999,39288 + def test_signAndVerifyEC(1010,39638 + def test_verifyRSA(1032,40467 + def test_verifyDSA(1042,40825 + def test_verifyDSANoPrefix(1052,41183 + def test_reprPrivateRSA(1061,41493 + def test_reprPublicRSA(1140,44689 + def test_reprPublicECDSA(1170,45799 + def test_reprPrivateECDSA(1186,46276 +class PersistentRSAKeyTests(1205,46842 + def test_providedArguments(1214,47014 + def test_noRegeneration(1227,47438 + def test_keySizeZero(1247,48179 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_ckeygen.py,1512 +def makeGetpass(33,936 + def fakeGetpass(45,1335 +class KeyGenTests(52,1419 + def setUp(56,1537 + def _testrun(68,1815 + def test_keygeneration(84,2443 + def test_runBadKeytype(94,2681 + def test_enumrepresentation(101,2890 + def test_enumrepresentationsha256(111,3239 + def test_enumrepresentationBadFormat(121,3525 + def test_printFingerprint(132,3870 + def test_printFingerprintsha256(147,4418 + def test_printFingerprintBadFingerPrintFormat(161,4932 + def test_saveKey(175,5458 + def test_saveKeyECDSA(203,6542 + def test_saveKeysha256(232,7668 + def test_saveKeyBadFingerPrintformat(260,8755 + def test_saveKeyEmptyPassphrase(276,9367 + def test_saveKeyECDSAEmptyPassphrase(293,9933 + def test_saveKeyNoFilename(311,10506 + def test_displayPublicKey(331,11230 + def test_displayPublicKeyEncrypted(348,11820 + def test_displayPublicKeyEncryptedPassphrasePrompt(365,12497 + def test_displayPublicKeyWrongPassphrase(383,13231 + def test_changePassphrase(395,13662 + def test_changePassphraseWithOld(414,14377 + def test_changePassphraseWithBoth(433,15143 + def test_changePassphraseWrongPassphrase(451,15858 + def test_changePassphraseEmptyGetPass(467,16528 + def test_changePassphraseBadKey(485,17254 + def test_changePassphraseCreateError(503,17921 + def toString(511,18235 + def test_changePassphraseEmptyStringError(527,18681 + def toString(535,18954 + def test_changePassphrasePublicKey(555,19564 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_checkers.py,3401 +class HelperTests(53,1528 + def setUp(60,1716 + def test_verifyCryptedPassword(64,1770 + def test_verifyCryptedPasswordMD5(78,2275 + def test_refuteCryptedPassword(92,2768 + def test_pwdGetByName(106,3293 + def test_pwdGetByNameWithoutPwd(119,3745 + def test_shadowGetByName(127,3993 + def test_shadowGetByNameWithoutSpwd(146,4652 +class SSHPublicKeyDatabaseTests(158,5011 + def setUp(164,5148 + def test_deprecated(185,5875 + def _testCheckKey(202,6572 + def test_checkKey(213,6983 + def test_checkKey2(223,7337 + def test_checkKeyAsRoot(233,7694 + def seteuid(245,8223 + def test_requestAvatarId(259,8750 + def _checkKey(264,8945 + def _verify(271,9290 + def test_requestAvatarIdWithoutSignature(276,9409 + def _checkKey(283,9772 + def test_requestAvatarIdInvalidKey(292,10102 + def _checkKey(297,10296 + def test_requestAvatarIdInvalidSignature(304,10515 + def _checkKey(310,10743 + def test_requestAvatarIdNormalizeException(320,11146 + def _checkKey(325,11341 + def _verifyLoggedException(330,11587 +class SSHProtocolCheckerTests(339,11870 + def test_registerChecker(346,11992 + def test_registerCheckerWithInterface(359,12545 + def test_requestAvatarId(375,13255 + def _callback(385,13730 + def test_requestAvatarIdWithNotEnoughAuthentication(390,13853 + def _areDone(397,14173 + def test_requestAvatarIdInvalidCredential(408,14586 + def test_areDone(418,14988 +class UNIXPasswordDatabaseTests(426,15189 + def assertLoggedIn(432,15327 + def test_defaultCheckers(452,16062 + def crypted(459,16293 + def assertUnauthorizedLogin(493,17586 + def test_passInCheckers(510,18204 + def test_verifyPassword(524,18724 + def verifyCryptedPassword(530,18995 + def getpwnam(532,19076 + def test_failOnKeyError(540,19429 + def getpwnam(545,19604 + def test_failOnBadPassword(552,19873 + def verifyCryptedPassword(557,20074 + def getpwnam(559,20147 + def test_loopThroughFunctions(567,20496 + def verifyCryptedPassword(574,20829 + def getpwnam1(576,20910 + def getpwnam2(578,20993 + def test_failOnSpecial(586,21359 +class AuthorizedKeyFileReaderTests(609,22242 + def test_ignoresComments(616,22380 + def test_ignoresLeadingWhitespaceAndEmptyLines(629,22876 + def test_ignoresUnparsableKeys(642,23344 + def failOnSome(648,23600 +class InMemorySSHKeyDBTests(660,23985 + def test_implementsInterface(667,24111 + def test_noKeysForUnauthorizedUser(676,24383 + def test_allKeysForAuthorizedUser(686,24768 +class UNIXAuthorizedKeysFilesTests(697,25176 + def setUp(704,25317 + def test_implementsInterface(721,25861 + def test_noKeysForUnauthorizedUser(730,26139 + def test_allKeysInAllAuthorizedFilesForAuthorizedUser(741,26612 + def test_ignoresNonexistantFile(755,27303 + def test_ignoresUnreadableFile(767,27790 +class _DummyException(785,28396 +class SSHPublicKeyCheckerTests(793,28501 + def setUp(800,28634 + def test_credentialsWithoutSignature(809,29009 + def test_credentialsWithBadKey(819,29395 + def test_credentialsNoMatchingKey(829,29764 + def test_credentialsInvalidSignature(841,30226 + def test_failureVerifyingKey(853,30696 + def fail(859,30908 + def test_usernameReturnedOnSuccess(869,31201 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_text.py,317 +class FormattedTextTests(12,261 + def test_trivial(16,363 + def test_bold(26,647 + def test_underline(36,947 + def test_blink(46,1274 + def test_reverseVideo(56,1582 + def test_minus(66,1925 + def test_foreground(78,2357 + def test_background(89,2749 + def test_flattenDeprecated(100,3141 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_session.py,3825 + class session:session22,481 +class SubsystemOnlyAvatar(34,850 + def lookupSubsystem(41,992 +class StubAvatar:StubAvatar51,1282 + def lookupSubsystem(58,1441 +class StubSessionForStubAvatar(72,1905 + def __init__(96,3030 + def getPty(104,3192 + def windowChanged(115,3528 + def openShell(126,3852 + def execCommand(139,4324 + def eofReceived(156,4933 + def closed(163,5054 +class EchoTransport:EchoTransport176,5290 + def __init__(188,5701 + def write(200,6022 + def loseConnection(212,6409 +class MockProtocol(228,6878 + def connectionMade(241,7269 + def dataReceived(254,7567 + def connectionLost(264,7863 +class StubConnection(273,8032 + def __init__(291,8790 + def logPrefix(303,9058 + def sendData(310,9176 + def sendExtendedData(317,9326 + def sendRequest(324,9510 + def sendEOF(334,9799 + def sendClose(341,9920 +class StubTransport:StubTransport349,10048 + def getPeer(364,10339 + def getHost(371,10483 + def write(378,10626 + def loseConnection(385,10739 + def setTcpNoDelay(392,10866 +class StubTransportWithWriteErr(399,11028 + def writeErr(410,11262 +class StubClient(420,11557 + def __init__(429,11759 +class SessionInterfaceTests(434,11839 + def setUp(443,12122 + def assertSessionIsStubSession(454,12488 + def test_init(463,12761 + def test_client_dataReceived(475,13222 + def test_client_extReceived(485,13624 + def test_client_extReceivedWithoutWriteErr(498,14229 + def test_client_closed(511,14674 + def test_badSubsystemDoesNotCreateClient(522,15036 + def test_lookupSubsystem(532,15366 + def test_lookupSubsystemDoesNotNeedISession(547,15927 + def test_lookupSubsystem_data(567,16674 + def test_lookupSubsystem_closeReceived(590,17609 + def assertRequestRaisedRuntimeError(602,18005 + def test_requestShell(613,18422 + def test_requestShellWithData(631,19211 + def test_requestExec(649,20035 + def test_requestExecWithData(672,21040 + def test_requestPty(693,21964 + def test_requestWindowChange(714,22846 + def test_eofReceived(732,23611 + def test_closeReceived(742,23944 + def test_closed(751,24217 +class SessionWithNoAvatarTests(762,24547 + def setUp(773,24937 + def assertSessionProvidesISession(779,25095 + def test_requestShellGetsSession(787,25376 + def test_requestExecGetsSession(796,25635 + def test_requestPtyReqGetsSession(806,25946 + def test_requestWindowChangeGetsSession(817,26316 +class WrappersTests(830,26685 + def test_wrapProtocol(837,26883 + def test_wrapProcessProtocol_Protocol(855,27661 +class HelpersTests(874,28483 + def test_parseRequest_pty_req(882,28686 + def test_packRequest_pty_req_old(904,29456 + def test_packRequest_pty_req(917,29931 + def test_parseRequest_window_change(929,30401 + def test_packRequest_window_change(944,30852 +class SSHSessionProcessProtocolTests(953,31125 + def setUp(960,31317 + def assertSessionClosed(969,31637 + def assertRequestsEqual(976,31809 + def test_init(985,32068 + def test_getHost(993,32287 + def test_getPeer(1002,32545 + def test_connectionMade(1011,32803 + def test_getSignalName(1021,33143 + def test_getSignalNameWithLocalSignal(1035,33689 + def test_outReceived(1052,34363 + def test_write(1062,34670 + def test_writeSequence(1071,34966 + def test_errReceived(1081,35320 + def test_outConnectionLost(1091,35643 + def test_errConnectionLost(1102,36015 + def test_loseConnection(1113,36373 + def test_connectionLost(1122,36634 + def test_processEndedWithExitCode(1131,36881 + def test_processEndedWithExitSignalCoreDump(1143,37310 + def test_processEndedWithExitSignalNoCoreDump(1162,38014 +class SSHSessionClientTests(1185,38919 + def test_dataReceived(1193,39150 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_recvline.py,2767 +class ArrowsTests(34,905 + def setUp(35,943 + def test_printableCharacters(44,1244 + def test_horizontalArrows(56,1626 + def test_newline(96,2950 + def test_verticalArrows(120,3680 + def test_home(162,5339 + def test_end(177,5827 + def test_backspace(193,6332 + def test_delete(215,7023 + def test_insert(245,7948 + def test_typeover(264,8484 + def test_unprintableCharacters(287,9172 +class EchoServer(306,9835 + def lineReceived(307,9880 + class SessionChannel(331,10531 + def __init__(334,10604 + def channelOpen(345,10973 + def closed(355,11428 + def dataReceived(359,11530 + class TestConnection(363,11624 + def __init__(364,11676 + def serviceStarted(375,12051 + def write(380,12263 + class TestAuth(384,12342 + def __init__(385,12390 + def getPassword(390,12561 + class TestTransport(394,12642 + def __init__(395,12697 + def verifyHostKey(405,13102 + def connectionSecure(409,13198 + def write(415,13478 + class TestSessionTransport(419,13560 + def protocolFactory(420,13618 + class TestSession(424,13726 + class TestUser(428,13816 +class NotifyingExpectableBuffer(435,13939 + def __init__(436,13997 + def connectionMade(441,14116 + def connectionLost(446,14242 +class _BaseMixin:_BaseMixin451,14328 + def _assertBuffer(455,14378 + def _trivialTest(467,14892 + def finished(472,15027 +class _SSHMixin(479,15139 + def setUp(480,15168 + def _testwrite(527,16914 +class TestInsultsClientProtocol(534,17028 +class TestInsultsServerProtocol(540,17155 +class _TelnetMixin(546,17282 + def setUp(547,17314 + def _testwrite(572,18241 +class _StdioMixin(582,18393 + def setUp(583,18424 + def tearDown(627,20410 + def trap(633,20628 + def _testwrite(640,20881 +class RecvlineLoopbackMixin:RecvlineLoopbackMixin645,20957 + def testSimple(648,21019 + def testLeftArrow(656,21201 + def testRightArrow(664,21416 + def testBackspace(672,21641 + def testDelete(680,21855 + def testInsert(688,22074 + def testTypeover(696,22273 + def testHome(704,22487 + def testEnd(712,22690 +class RecvlineLoopbackTelnetTests(721,22887 +class RecvlineLoopbackSSHTests(726,22990 +class RecvlineLoopbackStdioTests(731,23087 +class HistoricRecvlineLoopbackMixin:HistoricRecvlineLoopbackMixin737,23285 + def testUpArrow(740,23355 + def test_DownArrowToPartialLineInHistory(750,23611 + def testDownArrow(771,24265 +class HistoricRecvlineLoopbackTelnetTests(784,24612 +class HistoricRecvlineLoopbackSSHTests(789,24731 +class HistoricRecvlineLoopbackStdioTests(794,24844 +class TransportSequenceTests(800,25067 + def test_invalidSequence(805,25181 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_knownhosts.py,3888 +class EntryTestsMixin:EntryTestsMixin80,3055 + def test_providesInterface(90,3406 + def test_fromString(97,3576 + def test_matchesKey(111,4194 + def test_matchesHost(126,4652 +class PlainEntryTests(136,4952 + def setUp(143,5127 + def test_matchesHostIP(150,5313 + def test_toString(159,5608 +class PlainTextWithCommentTests(171,6033 +class HashedEntryTests(181,6324 + def setUp(192,6769 + def test_toString(200,6979 + def test_equality(208,7233 +class HashedEntryWithCommentTests(262,9057 +class UnparsedEntryTests(271,9270 + def setUp(275,9370 + def test_fromString(282,9560 + def test_matchesHost(291,9814 + def test_matchesKey(298,9996 + def test_toString(305,10176 +class ParseErrorTests(314,10404 + def invalidEntryTest(324,10867 + def notBase64Test(332,11098 + def badKeyTest(339,11304 + def test_invalidPlainEntry(349,11687 + def test_invalidHashedEntry(357,11937 + def test_plainNotBase64(369,12414 + def test_hashedNotBase64(377,12639 + def test_hashedBadKey(400,13493 + def test_plainBadKey(409,13787 +class KnownHostsDatabaseTests(418,14046 + def pathWithContent(423,14137 + def loadSampleHostsFile(432,14347 + def test_readOnlySavePath(444,14782 + def test_defaultInitializerIgnoresExisting(456,15238 + def test_defaultInitializerClobbersExisting(465,15566 + def test_saveResetsClobberState(482,16305 + def test_loadFromPath(499,16968 + def test_iterentriesUnsaved(509,17312 + def test_verifyHashedEntry(519,17721 + def test_verifyPlainEntry(532,18260 + def test_verifyUnparsedEntry(545,18793 + def test_verifyUnparsedComment(558,19281 + def test_verifyUnparsableLine(570,19777 + def test_verifyUnparsableEncryptionMarker(582,20291 + def test_loadNonExistent(595,20856 + def test_loadNonExistentParent(609,21378 + def test_savingAddsEntry(623,21968 + def test_savingAvoidsDuplication(647,22979 + def test_savingsPreservesExisting(664,23568 + def test_hasPresentKey(694,24896 + def test_notPresentKey(704,25255 + def test_hasLaterAddedKey(718,25832 + def test_savedEntryHasKeyMismatch(733,26490 + def test_savedEntryAfterAddHasKeyMismatch(750,27244 + def test_unsavedEntryHasKeyMismatch(768,28082 + def test_addHostKey(787,28983 + def test_randomSalts(810,29971 + def test_verifyValidKey(822,30434 + def test_verifyInvalidKey(837,30945 + def verifyNonPresentKey(851,31464 + def test_verifyNonPresentKey_Yes(880,32725 + def test_verifyNonPresentKey_No(899,33510 + def test_verifyNonPresentECKey(911,33954 + def test_verifyHostIPMismatch(940,35086 + def test_verifyKeyForHostAndIP(954,35607 + def test_getHostKeyAlgorithms(974,36399 +class FakeFile(994,37152 + def __init__(1000,37279 + def readline(1006,37387 + def write(1013,37519 + def close(1022,37738 +class ConsoleUITests(1031,37904 + def setUp(1036,37986 + def openFile(1044,38167 + def newFile(1051,38284 + def test_promptYes(1060,38552 + def test_promptNo(1075,39110 + def test_promptRepeatedly(1090,39667 + def test_promptOpenFailed(1115,40837 + def raiseIt(1120,41051 + def test_warn(1127,41223 + def test_warnOpenFailed(1136,41500 + def raiseIt(1140,41639 +class FakeUI(1148,41839 + def __init__(1160,42149 + def prompt(1166,42272 + def warn(1175,42510 +class FakeObject(1183,42655 +class DefaultAPITests(1190,42813 + def patchedOpen(1196,43014 + def setUp(1207,43368 + def test_verifyOKKey(1228,44151 + def replaceHome(1240,44597 + def cleanupHome(1251,45013 + def test_noKnownHostsOption(1260,45251 + def test_verifyHostButNotIP(1279,45994 + def test_verifyQuestion(1299,46921 + def test_verifyBadKey(1319,47796 + def test_inKnownHosts(1330,48173 + def test_notInKnownHosts(1342,48593 + def test_inKnownHostsKeyChanged(1353,48940 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_forwarding.py,130 +class TestSSHConnectForwardingChannel(22,573 + def makeTCPConnection(30,790 + def test_channelOpenHostnameRequests(45,1312 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_address.py,146 +class SSHTransportAddressTests(18,398 + def _stringRepresentation(26,721 + def buildAddress(38,1165 + def buildDifferentAddress(46,1430 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_endpoints.py,3680 +class AbortableFakeTransport(71,2769 + def abortConnection(78,2914 +class BrokenExecSession(88,3116 + def request_exec(92,3243 +class WorkingExecSession(106,3512 + def request_exec(110,3644 +class UnsatisfiedExecSession(124,3916 + def request_exec(129,4106 +class TrivialRealm(143,4415 + def __init__(144,4443 + def requestAvatar(148,4501 +class AddressSpyFactory(155,4691 + def buildProtocol(158,4745 +class FixedResponseUI(164,4869 + def __init__(165,4900 + def prompt(169,4963 + def warn(173,5029 +class FakeClockSSHUserAuthServer(178,5071 + def attemptsBeforeDisconnect(182,5206 + def clock(191,5461 +class CommandFactory(201,5746 + def publicKeys(203,5794 + def privateKeys(210,5930 +class MemoryAddress(229,6524 +class SingleUseMemoryEndpoint(235,6601 + def __init__(245,7000 + def connect(255,7256 +class SSHCommandClientEndpointTestsMixin(272,7779 + def setUp(285,8320 + def create(306,9114 + def assertClientTransportState(315,9423 + def finishConnection(331,10059 + def connectedServerAndClient(341,10378 + def test_channelOpenFailure(366,11453 + def test_execFailure(394,12450 + def test_execCancelled(416,13155 + def test_buildProtocol(438,13815 + def test_makeConnection(462,14726 + def test_dataReceived(482,15422 + def test_connectionLost(510,16372 + def _exitStatusTest(539,17296 + def test_zeroExitCode(569,18307 + def test_nonZeroExitStatus(580,18686 + def test_nonZeroExitSignal(594,19203 + def record(637,20937 + def test_write(665,21711 + def test_writeSequence(687,22440 +class NewConnectionTests(710,23196 + def setUp(715,23375 + def create(732,24050 + def finishConnection(743,24442 + def loseConnectionToServer(752,24719 + def assertClientTransportState(788,26086 + def test_interface(802,26667 + def test_defaultPort(812,27030 + def test_specifiedPort(822,27399 + def test_destination(832,27746 + def test_connectionFailed(851,28532 + def test_userRejectedHostKey(871,29317 + def test_mismatchedHostKey(894,30206 + def test_connectionClosedBeforeSecure(932,31854 + def test_connectionCancelledBeforeSecure(958,32868 + def test_connectionCancelledBeforeConnected(988,34097 + def test_passwordAuthenticationFailure(1006,34766 + def setupKeyChecker(1040,36078 + def test_publicKeyAuthenticationFailure(1059,36802 + def test_authenticationFallback(1090,38035 + def test_publicKeyAuthentication(1132,39627 + def test_skipPasswordAuthentication(1156,40582 + def test_agentAuthentication(1183,41548 + def test_loseConnection(1228,43357 +class ExistingConnectionTests(1252,44179 + def setUp(1257,44368 + def create(1277,45118 + def finishConnection(1308,46115 + def assertClientTransportState(1323,46691 +class ExistingConnectionHelperTests(1335,47142 + def test_interface(1339,47249 + def test_secureConnection(1347,47481 + def test_cleanupConnectionNotImmediately(1359,47888 + def test_cleanupConnectionImmediately(1371,48402 +class _PTYPath(1384,48912 + def __init__(1389,49054 + def open(1397,49260 +class NewConnectionHelperTests(1412,49645 + def test_interface(1416,49742 + def test_defaultPath(1424,49964 + def test_defaultKnownHosts(1432,50183 + def test_readExisting(1446,50642 + def test_defaultConsoleUI(1470,51534 + def test_ttyConsoleUI(1480,51873 + def test_nottyUI(1493,52361 + def test_defaultTTYFilename(1506,52899 + def test_cleanupConnectionNotImmediately(1516,53247 + def test_cleanupConnectionImmediately(1529,53766 + class Abortable:Abortable1534,53986 + def abortConnection(1536,54039 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_filetransfer.py,3554 + class avatar:avatar25,590 + class ConchUser:ConchUser26,608 +class TestAvatar(35,848 + def __init__(36,884 + def _runAsUser(41,1081 +class FileTransferTestAvatar(54,1399 + def __init__(56,1442 + def getHomeDir(60,1541 +class ConchSessionForTestAvatar:ConchSessionForTestAvatar64,1638 + def __init__(66,1672 + class FileTransferForTestAvatar(79,2169 + def gotVersion(81,2244 + def extendedRequest(84,2350 +class SFTPTestBase(93,2709 + def setUp(95,2749 +class OurServerOurClientTests(115,3583 + def setUp(120,3697 + def _(130,4068 + def _emptyBuffers(144,4525 + def tearDown(150,4724 + def test_serverVersion(157,4928 + def test_interface_implementation(162,5082 + def test_openedFileClosedWithConnection(171,5366 + def close(181,5728 + def _fileOpened(187,5847 + def test_openedDirectoryClosedWithConnection(200,6288 + def _getFiles(208,6535 + def test_openFileIO(219,6869 + def _fileOpened(224,7062 + def _readChunk(230,7278 + def _writeChunk(236,7472 + def _readChunk2(242,7663 + def test_closedFileGetAttrs(252,7925 + def _getAttrs(257,8126 + def _err(262,8253 + def _close(266,8333 + def test_openFileAttributes(277,8622 + def _getAttrs(282,8823 + def _getAttrs2(288,8985 + def test_openFileSetAttrs(297,9217 + def _getAttrs(304,9516 + def _setAttrs(310,9677 + def _getAttrs2(318,9940 + def test_openFileExtendedAttributes(327,10125 + def openFile(335,10497 + def check(344,10850 + def test_removeFile(350,10980 + def _removeFile(354,11093 + def test_renameFile(364,11373 + def _rename(368,11486 + def _testRenamed(374,11694 + def test_directoryBad(382,11912 + def test_directoryCreation(388,12092 + def _getAttrs(392,12224 + def _removeDirectory(401,12548 + def test_openDirectory(412,12871 + def _getFiles(417,12997 + def append(418,13029 + def _checkFiles(428,13337 + def _close(436,13664 + def test_linkDoesntExist(446,13870 + def test_linkSharesAttrs(452,14044 + def _getFirstAttrs(456,14170 + def _getSecondAttrs(461,14309 + def test_linkPath(471,14598 + def _readLink(475,14717 + def _realPath(485,15068 + def test_extendedRequest(500,15504 + def _cbTestExtendedRequest(508,15759 + def test_openDirectoryIterator(515,15986 + def test_openDirectoryIteratorDeprecated(556,17206 +class FakeConn:FakeConn576,17848 + def sendClose(577,17864 +class FileTransferCloseTests(581,17913 + def setUp(586,18031 + def buildServerConnection(589,18088 + class DummyTransport:DummyTransport593,18263 + def __init__(594,18293 + def sendPacket(596,18363 + def logPrefix(598,18430 + def interceptConnectionLost(605,18612 + def connectionLost(608,18759 + def assertSFTPConnectionLost(614,18931 + def test_sessionClose(619,19093 + def test_clientClosesChannelOnConnnection(640,19731 + def test_stopConnectionServiceClosesChannel(665,20525 +class ConstantsTests(687,21174 + def test_constantsAgainstSpec(775,25313 +class RawPacketDataTests(793,25988 + def setUp(802,26267 + def test_packetSTATUS(806,26343 + def _cbTestPacketSTATUS(822,26962 + def test_packetSTATUSShort(831,27234 + def _cbTestPacketSTATUSShort(848,27897 + def test_packetSTATUSWithoutLang(857,28195 + def _cbTestPacketSTATUSWithoutLang(875,28923 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_helper.py,1973 +class BufferTests(17,485 + def setUp(18,523 + def testInitialState(22,624 + def test_initialPrivateModes(30,921 + def test_carriageReturn(41,1283 + def test_linefeed(52,1658 + def test_newline(62,2000 + def test_setPrivateModes(73,2338 + def test_resetPrivateModes(85,2822 + def testCursorDown(97,3324 + def testCursorUp(105,3665 + def testCursorForward(116,4022 + def testCursorBackward(124,4370 + def testCursorPositioning(136,4854 + def testSimpleWriting(141,4999 + def testOvertype(150,5209 + def testInsert(162,5540 + def testWritingInTheMiddle(174,5862 + def testWritingWrappedAtEndOfLine(186,6191 + def testIndex(197,6501 + def testReverseIndex(206,6836 + def test_nextLine(215,7169 + def testSaveCursor(228,7618 + def testSingleShifts(240,8052 + def testShifting(264,8715 + def testGraphicRendition(285,9278 + def testColorAttributes(324,10625 + def testEraseLine(356,11935 + def testEraseToLineEnd(372,12328 + def testEraseToLineBeginning(383,12615 + def testEraseDisplay(394,12928 + def testEraseToDisplayEnd(404,13177 + def testEraseToDisplayBeginning(418,13552 + def testLineInsertion(432,13944 + def testLineDeletion(447,14319 +class FakeDelayedCall:FakeDelayedCall463,14707 + def __init__(466,14771 + def active(474,14931 + def cancel(478,15006 + def call(483,15096 +class FakeScheduler:FakeScheduler489,15181 + def __init__(490,15202 + def callLater(494,15252 +class ExpectTests(500,15400 + def setUp(501,15438 + def testSimpleString(507,15576 + def testBrokenUpString(521,16065 + def testMultiple(536,16493 + def testSynchronous(554,17056 + def testMultipleSynchronous(564,17324 + def _cbTestTimeoutFailure(578,17730 + def testTimeoutFailure(583,17882 + def testOverlappingTimeout(589,18071 +class CharacterAttributeTests(605,18504 + def test_equality(609,18636 + def test_wantOneDeprecated(640,19676 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_scripts.py,176 +class ScriptTests(42,895 + def test_conch(49,1029 + def test_cftp(54,1134 + def test_ckeygen(59,1236 + def test_tkconch(63,1307 +class ZshIntegrationTests(69,1418 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_openssh_compat.py,235 +class OpenSSHFactoryTests(24,582 + def setUp(34,854 + def test_getPublicKeys(67,2556 + def test_getPrivateKeys(78,2895 + def test_getPrivateKeysAsRoot(91,3376 + def seteuid(102,3839 + def test_getPrimes(114,4308 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_connection.py,2439 + class connection:connection19,407 + class SSHConnection:SSHConnection20,429 +class TestChannel(28,623 + def logPrefix(56,1698 + def channelOpen(59,1766 + def openFailed(72,2141 + def request_test(78,2299 + def dataReceived(87,2508 + def extReceived(93,2654 + def eofReceived(99,2823 + def closeReceived(105,2942 + def closed(111,3070 +class TestAvatar:TestAvatar117,3193 + def lookupChannel(123,3313 + def gotGlobalRequest(141,4151 +class TestConnection(157,4646 + def logPrefix(168,4906 + def global_TestGlobal(171,4964 + def global_Test_Data(177,5123 + def channel_TestChannel(184,5319 + def channel_ErrorChannel(193,5672 +class ConnectionTests(201,5886 + def setUp(208,6109 + def _openChannel(215,6352 + def tearDown(224,6703 + def test_linkAvatar(227,6763 + def test_serviceStopped(234,6966 + def test_GLOBAL_REQUEST(248,7470 + def test_REQUEST_SUCCESS(270,8503 + def check(277,8772 + def test_REQUEST_FAILURE(283,8920 + def check(290,9188 + def test_CHANNEL_OPEN(296,9341 + def _lookupChannelErrorTest(332,11084 + def test_lookupChannelError(355,12181 + def test_lookupChannelErrorLongCode(369,12747 + def test_CHANNEL_OPEN_CONFIRMATION(377,13006 + def test_CHANNEL_OPEN_FAILURE(392,13654 + def test_CHANNEL_WINDOW_ADJUST(405,14164 + def test_CHANNEL_DATA(417,14608 + def test_CHANNEL_EXTENDED_DATA(444,15946 + def test_CHANNEL_EOF(474,17528 + def test_CHANNEL_CLOSE(483,17816 + def test_CHANNEL_REQUEST_success(496,18310 + def check(507,18794 + def test_CHANNEL_REQUEST_failure(513,18998 + def check(521,19311 + def test_CHANNEL_REQUEST_SUCCESS(529,19572 + def check(538,19930 + def test_CHANNEL_REQUEST_FAILURE(542,20011 + def check(551,20364 + def test_sendGlobalRequest(557,20545 + def test_openChannel(572,21239 + def test_sendRequest(584,21743 + def test_adjustWindow(603,22650 + def test_sendData(620,23315 + def test_sendExtendedData(633,23782 + def test_sendEOF(646,24329 + def test_sendClose(660,24859 + def test_getChannelWithAvatar(680,25600 + def test_gotGlobalRequestWithoutAvatar(693,26179 + def test_channelClosedCausesLeftoverChannelDeferredsToErrback(704,26628 +class CleanConnectionShutdownTests(720,27152 + def setUp(730,27475 + def test_serviceStoppedCausesLeftoverGlobalDeferredsToErrback(737,27684 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_window.py,128 +class TopWindowTests(11,207 + def test_paintScheduling(16,317 +class ScrolledAreaTests(53,1486 + def test_parent(58,1683 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_agent.py,1760 +class StubFactory(33,598 + def __init__(38,734 +class AgentTestBase(43,784 + def setUp(52,1061 +class ServerProtocolContractWithFactoryTests(70,1762 + def test_factorySuppliesKeyStorageForServerProtocol(76,2052 +class UnimplementedVersionOneServerTests(85,2389 + def test_agentc_REQUEST_RSA_IDENTITIES(94,2747 + def _cb(100,3002 + def test_agentc_REMOVE_RSA_IDENTITY(106,3162 + def test_agentc_REMOVE_ALL_RSA_IDENTITIES(115,3470 + class CorruptServer(127,3828 + def agentc_REQUEST_IDENTITIES(133,4076 + def agentc_SIGN_REQUEST(137,4169 +class ClientWithBrokenServerTests(142,4257 + def setUp(147,4396 + def test_signDataCallbackErrorHandling(156,4751 + def test_requestIdentitiesCallbackErrorHandling(167,5162 +class AgentKeyAdditionTests(179,5559 + def test_addRSAIdentityNoComment(184,5675 + def _check(195,6147 + def test_addDSAIdentityNoComment(202,6396 + def _check(213,6868 + def test_addRSAIdentityWithComment(220,7117 + def _check(232,7616 + def test_addDSAIdentityWithComment(239,7879 + def _check(251,8378 +class AgentClientFailureTests(259,8642 + def test_agentFailure(260,8688 +class AgentIdentityRequestsTests(270,8935 + def setUp(275,9070 + def test_signDataRSA(283,9341 + def test_signDataDSA(297,9811 + def _check(304,10055 + def test_signDataRSAErrbackOnUnknownBlob(312,10374 + def test_requestIdentities(323,10760 + def _check(330,11008 +class AgentKeyRemovalTests(343,11406 + def setUp(348,11521 + def test_removeRSAIdentity(356,11792 + def _check(364,12035 + def test_removeDSAIdentity(371,12321 + def _check(379,12563 + def test_removeAllIdentities(385,12770 + def _check(392,12957 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_telnet.py,2786 +class TestProtocol:TestProtocol24,538 + def __init__(28,610 + def makeConnection(39,838 + def dataReceived(48,1190 + def connectionLost(52,1252 + def neg_TEST_COMMAND(56,1305 + def enableLocal(60,1378 + def disableLocal(67,1548 + def enableRemote(71,1628 + def disableRemote(78,1801 +class InterfacesTests(83,1884 + def test_interface(84,1926 +class TelnetTransportTests(93,2137 + def setUp(97,2241 + def testRegularBytes(103,2405 + def testNewlineHandling(121,2928 + def testIACEscape(140,3511 + def _simpleCommandTest(156,4076 + def testInterrupt(173,4601 + def testNoOperation(177,4670 + def testDataMark(181,4742 + def testBreak(185,4810 + def testAbortOutput(189,4876 + def testAreYouThere(193,4947 + def testEraseCharacter(197,5019 + def testEraseLine(201,5093 + def testGoAhead(205,5162 + def testSubnegotiation(209,5229 + def testSubnegotiationWithEmbeddedSE(225,5778 + def testBoundarySubnegotiation(244,6351 + def _enabledHelper(267,7154 + def testRefuseWill(274,7401 + def testRefuseDo(286,7852 + def testAcceptDo(298,8299 + def testAcceptWill(312,8766 + def testAcceptWont(325,9161 + def testAcceptDont(346,10006 + def testIgnoreWont(367,10851 + def testIgnoreDont(380,11312 + def testIgnoreWill(394,11827 + def testIgnoreDo(414,12595 + def testAcceptedEnableRequest(434,13358 + def test_refusedEnableRequest(453,14064 + def test_refusedEnableOffer(483,15280 + def testAcceptedDisableRequest(513,16485 + def testNegotiationBlocksFurtherNegotiation(533,17265 + def _do(541,17661 + def _dont(546,17786 + def _final(551,17915 + def testSuperfluousDisableRequestRaises(571,18714 + def testSuperfluousEnableRequestRaises(577,18935 + def testLostConnectionFailsDeferreds(585,19223 + class TestException(590,19368 +class TestTelnet(601,19694 + def __init__(605,19818 + def applicationDataReceived(610,19906 + def unhandledCommand(617,20070 + def unhandledSubnegotiation(624,20250 +class TelnetTests(632,20455 + def setUp(639,20680 + def test_enableLocal(646,20832 + def test_enableRemote(654,21088 + def test_disableLocal(662,21347 + def test_disableRemote(672,21744 + def test_requestNegotiation(682,22148 + def test_requestNegotiationEscapesIAC(698,22688 + def _deliver(713,23189 + def test_oneApplicationDataByte(723,23511 + def test_twoApplicationDataBytes(731,23715 + def test_threeApplicationDataBytes(739,23920 + def test_escapedControl(747,24171 + def test_carriageReturn(756,24449 + def test_applicationDataBeforeSimpleCommand(783,25474 + def test_applicationDataBeforeCommand(793,25789 + def test_applicationDataBeforeSubnegotiation(804,26161 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_userauth.py,3543 + class transport:transport35,1090 + class SSHTransportBase:SSHTransportBase36,1111 + class userauth:userauth41,1244 + class SSHUserAuthClient:SSHUserAuthClient42,1264 +class ClientUserAuth(49,1400 + def getPublicKey(54,1496 + def getPrivateKey(67,1902 + def getPassword(74,2090 + def getGenericAnswers(81,2231 +class OldClientAuth(89,2417 + def getPrivateKey(95,2604 + def getPublicKey(100,2736 +class ClientAuthWithoutPrivateKey(105,2836 + def getPrivateKey(110,2991 + def getPublicKey(114,3037 +class FakeTransport(119,3130 + class Service(136,3798 + def serviceStarted(143,3953 + class Factory(147,4006 + def getService(153,4152 + def __init__(161,4353 + def sendPacket(169,4554 + def isEncrypted(176,4727 + def loseConnection(185,4989 +class Realm(191,5078 + def requestAvatar(199,5302 +class PasswordChecker(205,5463 + def requestAvatarId(212,5696 +class PrivateKeyChecker(220,5944 + def requestAvatarId(227,6183 +class AnonymousChecker(240,6632 +class SSHUserAuthServerTests(248,6792 + def setUp(257,6963 + def tearDown(269,7467 + def _checkFailed(274,7565 + def test_noneAuthentication(283,7844 + def test_successfulPasswordAuthentication(295,8284 + def check(306,8747 + def test_failedPasswordAuthentication(313,8950 + def test_successfulPrivateKeyAuthentication(332,9783 + def check(345,10429 + def test_requestRaisesConchError(351,10619 + def mockCbFinishedAuth(358,10847 + def mockTryAuth(361,10959 + def mockEbBadAuth(364,11027 + def test_verifyValidPrivateKey(378,11578 + def check(386,11942 + def test_failedPrivateKeyAuthenticationWithoutSignature(392,12152 + def test_failedPrivateKeyAuthenticationWithSignature(404,12627 + def test_unsupported_publickey(418,13236 + def test_ignoreUnknownCredInterfaces(435,13806 + def test_removePasswordIfUnencrypted(454,14637 + def test_unencryptedConnectionWithoutPasswords(476,15698 + def test_loginTimeout(505,16942 + def test_cancelLoginTimeout(523,17682 + def test_tooManyAttempts(537,18260 + def check(548,18716 + def test_failIfUnknownService(557,19052 + def test_tryAuthEdgeCases(568,19449 + def mockAuth(579,19847 + def secondTest(585,20053 +class SSHUserAuthClientTests(594,20347 + def setUp(603,20518 + def tearDown(610,20766 + def test_init(615,20864 + def test_USERAUTH_SUCCESS(626,21258 + def stubSetService(631,21393 + def test_publickey(638,21642 + def test_publickey_without_privatekey(667,23213 + def test_no_publickey(687,24045 + def check(694,24320 + def test_password(699,24422 + def test_no_password(714,25128 + def test_keyboardInteractive(722,25366 + def test_USERAUTH_PK_OK_unknown_method(736,25887 + def test_USERAUTH_FAILURE_sorting(750,26475 + def auth_firstmethod(756,26750 + def auth_anothermethod(758,26853 + def test_disconnectIfNoMoreAuthentication(778,27858 + def test_ebAuth(792,28524 + def test_defaults(804,28961 + def check(813,29406 + def check2(817,29582 + def check3(821,29781 +class LoopbackTests(828,29954 + class Factory:Factory834,30077 + class Service:Service835,30096 + def serviceStarted(839,30155 + def serviceStopped(843,30243 + def getService(847,30304 + def test_loopback(851,30382 + def check(889,31934 +class ModuleInitializationTests(895,32077 + def test_messages(900,32211 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_ssh.py,4390 + class avatar:avatar21,443 + class ConchUser:ConchUser22,461 +class ConchTestRealm(37,968 + def __init__(49,1318 + def requestAvatar(53,1411 +class ConchTestAvatar(68,1996 + def __init__(80,2313 + def global_foo(90,2654 + def global_foo_2(95,2747 + def global_tcpip_forward(100,2853 + def global_cancel_tcpip_forward(116,3425 + def logout(126,3736 +class ConchSessionForTestAvatar(134,3928 + def __init__(138,4030 + def getPty(152,4400 + def openShell(159,4575 + def execCommand(166,4726 + def eofReceived(192,5614 + def closed(196,5664 +class CrazySubsystem(207,6025 + def __init__(209,6067 + def connectionMade(212,6118 +class FalseTransport:FalseTransport219,6197 + def __init__(228,6513 + def loseConnection(237,6724 +class EchoTransport:EchoTransport251,7113 + def __init__(253,7135 + def write(258,7241 + def loseConnection(265,7470 +class ErrEchoTransport:ErrEchoTransport273,7755 + def __init__(275,7780 + def write(280,7886 + def loseConnection(284,7991 +class SuperEchoTransport:SuperEchoTransport292,8276 + def __init__(294,8303 + def write(299,8409 + def loseConnection(305,8591 + class ConchTestPasswordChecker:ConchTestPasswordChecker319,9092 + def requestAvatarId(322,9188 + class ConchTestSSHChecker(328,9449 + def areDone(330,9510 + class ConchTestServerFactory(335,9690 + def buildProtocol(343,9906 + def getPublicKeys(354,10270 + def getPrivateKeys(360,10474 + def getPrimes(366,10681 + def getService(385,11448 + class ConchTestBase:ConchTestBase388,11560 + def connectionLost(392,11604 + def receiveError(400,11899 + def receiveUnimplemented(414,12590 + class ConchTestServer(419,12794 + def connectionLost(421,12867 + class ConchTestClient(426,13036 + def __init__(432,13312 + def connectionLost(435,13407 + def verifyHostKey(439,13575 + def connectionSecure(447,13959 + class ConchTestClientAuth(452,14128 + def ssh_USERAUTH_SUCCESS(458,14346 + def getPassword(464,14657 + def getPrivateKey(468,14775 + def getPublicKey(472,14924 + class ConchTestClientConnection(476,15016 + def __init__(485,15316 + def serviceStarted(489,15463 + class SSHTestChannel(493,15561 + def __init__(495,15608 + def openFailed(504,15904 + def channelOpen(508,15985 + def dataReceived(512,16066 + def extReceived(516,16145 + def request_exit_status(523,16390 + def eofReceived(527,16495 + def closed(531,16562 + def conchTestPublicKeyChecker(535,16630 +class SSHProtocolTests(548,17058 + def _ourServerOurClientTest(560,17344 + def test_subsystemsAndGlobalRequests(588,18447 + def cbSubsystem(596,18789 + def cbNotCrazyFailed(604,19080 + def cbGlobalRequests(610,19309 + def disconnect(624,19808 + def test_shell(637,20217 + def cbChannel(646,20544 + def cbPty(651,20725 + def cbShell(662,21282 + def cbExited(670,21604 + def test_failedExec(684,22103 + def cbChannel(691,22358 + def cbFailed(699,22640 + def test_falseChannel(708,22969 + def cbChannel(715,23212 + def cbExec(721,23422 + def cbClosed(725,23528 + def test_errorChannel(733,23768 + def cbChannel(740,24029 + def cbExec(746,24245 + def cbClosed(752,24455 + def test_unknownChannel(765,24999 + def cbFailed(772,25315 + def test_maxPacket(780,25579 + def cbChannel(790,25931 + def cbExec(796,26147 + def cbClosed(800,26253 + def test_echo(810,26670 + def cbChannel(817,26892 + def cbEcho(823,27107 + def cbClosed(829,27317 +class SSHFactoryTests(842,27803 + def makeSSHFactory(850,27983 + def test_buildProtocol(859,28294 + def test_buildProtocolRespectsProtocol(869,28601 + def makeProtocol(875,28784 + def test_buildProtocolNoPrimes(884,29054 + def test_buildProtocolWithPrimes(899,29508 +class MPTests(914,29946 + def test_getMP(930,30308 + def test_getMPBigInteger(940,30619 + def test_multipleGetMP(950,30906 + def test_getMPRemainingData(961,31234 + def test_notEnoughData(971,31522 +class GMPYInstallDeprecationTests(979,31767 + def test_deprecated(987,31981 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_default.py,1054 +class SSHUserAuthClientTests(47,1371 + def setUp(55,1532 + def test_signDataWithAgent(64,1888 + def test_agentGetPublicKey(83,2598 + def test_getPublicKeyFromFile(98,3187 + def test_getPublicKeyAgentFallback(112,3721 + def test_getPublicKeyBadKeyError(127,4258 + def test_getPrivateKey(146,5134 + def _cbGetPrivateKey(159,5701 + def test_getPrivateKeyPassphrase(166,5898 + def _getPassword(181,6541 + def _cbGetPrivateKey(187,6748 + def test_getPassword(195,7002 + class FakeTransport:FakeTransport200,7159 + def __init__(201,7188 + def getPeer(204,7297 + def getpass(211,7505 + def test_getPasswordPrompt(223,7854 + def getpass(233,8187 + def test_getPasswordConchError(245,8529 + def getpass(254,8853 + def check_sys(261,9103 + def test_getGenericAnswers(270,9350 + def getpass(277,9582 + def raw_input(283,9750 +class ConchOptionsParsing(300,10232 + def test_macs(304,10306 + def test_host_key_algorithms(320,10912 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_tap.py,326 +class MakeServiceTests(36,740 + def setUp(52,1086 + def test_basic(62,1346 + def test_defaultAuths(75,1841 + def test_authAdded(90,2479 + def test_multipleAuthAdded(99,2802 + def test_authFailure(110,3273 + def test_authSuccess(124,3878 + def checkSuccess(135,4355 + def test_checkers(141,4494 + +venv/lib/python2.7/site-packages/twisted/conch/test/test_mixin.py,144 +class TestBufferingProto(11,238 + def schedule(14,328 + def reschedule(18,407 +class BufferingTests(23,473 + def testBuffering(24,514 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/channel.py,638 +class SSHChannel(23,543 + def __init__(58,2102 + def __str__(79,2868 + def __bytes__(83,2939 + def logPrefix(97,3311 + def channelOpen(106,3577 + def openFailed(116,3845 + def addWindowBytes(126,4140 + def requestReceived(148,4782 + def dataReceived(167,5403 + def extReceived(176,5572 + def eofReceived(186,5841 + def closeReceived(193,5983 + def closed(201,6159 + def write(209,6360 + def writeExtended(237,7292 + def writeSequence(269,8571 + def loseConnection(279,8796 + def getPeer(289,9065 + def getHost(299,9291 + def stopWriting(309,9529 + def startWriting(316,9708 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/keys.py,1224 +class BadKeyError(65,1921 +class EncryptedKeyError(74,2071 +class BadFingerPrintFormat(82,2219 +class FingerprintFormats(89,2355 +class Key(106,2952 + def fromFile(116,3373 + def fromString(138,4052 + def _fromString_BLOB(180,5659 + def _fromString_PRIVATE_BLOB(239,7653 + def _fromString_PUBLIC_OPENSSH(294,9299 + def _fromString_PRIVATE_OPENSSH(315,10077 + def _fromString_PUBLIC_LSH(451,15295 + def _fromString_PRIVATE_LSH(482,16452 + def _fromString_AGENTV3(518,17868 + def _guessStringType(567,19459 + def _fromRSAComponents(595,20397 + def _fromDSAComponents(640,21836 + def _fromECComponents(675,22904 + def __init__(704,23907 + def __eq__(714,24222 + def __ne__(723,24510 + def __repr__(732,24759 + def isPublic(773,26208 + def public(783,26489 + def fingerprint(797,26874 + def type(837,28534 + def sshType(858,29267 + def size(874,29845 + def data(887,30180 + def blob(946,32456 + def privateBlob(990,33773 + def toString(1037,35237 + def _toString_OPENSSH(1065,36381 + def _toString_LSH(1147,39913 + def _toString_AGENTV3(1199,42535 + def sign(1216,43164 + def verify(1279,45305 +def _getPersistentRSAKey(1350,47599 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/address.py,111 +class SSHTransportAddress(23,420 + def __init__(38,940 + def __repr__(42,1006 + def __hash__(46,1091 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/filetransfer.py,2747 +class FileTransferBase(23,561 + def __init__(29,649 + def sendPacket(34,748 + def dataReceived(38,863 + def _parseAttributes(65,1892 + def _packAttributes(98,3273 +class FileTransferServer(127,4367 + def __init__(129,4412 + def packet_INIT(136,4616 + def packet_OPEN(153,5202 + def _cbOpenFile(166,5716 + def packet_CLOSE(174,6000 + def _cbClose(193,6806 + def packet_READ(201,7036 + def _cbRead(216,7663 + def packet_WRITE(222,7862 + def packet_REMOVE(239,8553 + def packet_RENAME(249,8957 + def packet_MKDIR(260,9404 + def packet_RMDIR(271,9856 + def packet_OPENDIR(281,10253 + def _cbOpenDirectory(291,10641 + def packet_READDIR(299,10957 + def _scanDirectory(313,11540 + def _cbScanDirectory(329,11992 + def _cbSendDirectory(334,12118 + def packet_STAT(344,12462 + def packet_LSTAT(354,12867 + def packet_FSTAT(358,12937 + def _cbStat(373,13534 + def packet_SETSTAT(378,13675 + def packet_FSETSTAT(390,14153 + def packet_READLINK(405,14783 + def _cbReadLink(415,15164 + def packet_SYMLINK(419,15274 + def packet_REALPATH(429,15655 + def packet_EXTENDED(439,16058 + def _cbExtended(449,16425 + def _cbStatus(453,16533 + def _ebStatus(457,16653 + def _sendStatus(487,17935 + def connectionLost(497,18222 +class FileTransferClient(510,18550 + def __init__(512,18595 + def connectionMade(523,18900 + def _sendRequest(530,19107 + def _parseRequest(539,19353 + def openFile(546,19531 + def _cbOpenHandle(581,21067 + def removeFile(599,21670 + def renameFile(611,21993 + def makeDirectory(625,22408 + def removeDirectory(641,22922 + def openDirectory(656,23331 + def getAttrs(691,24716 + def setAttrs(709,25399 + def readLink(725,25915 + def makeLink(739,26304 + def realPath(754,26789 + def _cbRealPath(768,27181 + def extendedRequest(775,27337 + def packet_VERSION(790,27830 + def packet_STATUS(802,28136 + def packet_HANDLE(825,28819 + def packet_DATA(831,28958 + def packet_NAME(836,29071 + def packet_ATTRS(849,29486 + def packet_EXTENDED_REPLY(854,29616 + def gotServerVersion(859,29729 +class ClientFile:ClientFile872,30160 + def __init__(873,30178 + def close(878,30282 + def readChunk(882,30369 + def writeChunk(887,30532 + def getAttrs(892,30699 + def setAttrs(896,30789 +class ClientDirectory:ClientDirectory902,30944 + def __init__(904,30968 + def read(910,31101 + def close(914,31189 + def __iter__(922,31388 + def __next__(926,31434 + def _cbReadDir(943,31944 + def _ebReadDir(948,32039 +class SFTPError(955,32185 + def __init__(957,32214 + def message(964,32399 + def __str__(977,32938 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/common.py,125 +def NS(25,511 +def getNS(35,658 +def MP(49,902 +def getMP(60,1116 +def _MPpow(78,1703 +def ffs(86,1817 +def install(98,2059 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/factory.py,233 +class SSHFactory(23,450 + def startFactory(33,704 + def buildProtocol(47,1190 + def getPublicKeys(69,2070 + def getPrivateKeys(80,2394 + def getPrimes(91,2741 + def getDHPrime(101,3014 + def getService(114,3409 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/_kex.py,526 +class _IKexAlgorithm(19,404 +class _IFixedGroupKexAlgorithm(35,887 +class _IEllipticCurveExchangeKexAlgorithm(52,1432 +class _IGroupExchangeKexAlgorithm(60,1663 +class _ECDH256(72,2023 +class _ECDH384(83,2241 +class _ECDH512(94,2459 +class _DHGroupExchangeSHA256(105,2669 +class _DHGroupExchangeSHA1(117,2909 +class _DHGroup14SHA1(129,3140 +def getKex(164,4574 +def isEllipticCurve(184,5146 +def isFixedGroup(199,5542 +def getHashProcessor(214,5956 +def getDHGeneratorAndPrime(229,6325 +def getSupportedKeyExchanges(244,6699 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/connection.py,1134 +class SSHConnection(25,611 + def __init__(47,1572 + def serviceStarted(59,2217 + def serviceStopped(64,2341 + def _cleanupGlobalDeferreds(73,2576 + def ssh_GLOBAL_REQUEST(85,2985 + def ssh_REQUEST_SUCCESS(106,3704 + def ssh_REQUEST_FAILURE(114,3973 + def ssh_CHANNEL_OPEN(123,4292 + def ssh_CHANNEL_OPEN_CONFIRMATION(168,6348 + def ssh_CHANNEL_OPEN_FAILURE(191,7314 + def ssh_CHANNEL_WINDOW_ADJUST(209,8046 + def ssh_CHANNEL_DATA(222,8544 + def ssh_CHANNEL_EXTENDED_DATA(251,10011 + def ssh_CHANNEL_EOF(278,11266 + def ssh_CHANNEL_CLOSE(289,11661 + def ssh_CHANNEL_REQUEST(305,12319 + def _cbChannelRequest(328,13242 + def _ebChannelRequest(347,14089 + def ssh_CHANNEL_SUCCESS(360,14626 + def ssh_CHANNEL_FAILURE(373,15134 + def sendGlobalRequest(390,15793 + def openChannel(409,16501 + def sendRequest(426,17203 + def adjustWindow(448,18055 + def sendData(465,18800 + def sendExtendedData(479,19368 + def sendEOF(495,20030 + def sendClose(507,20437 + def getChannel(523,20980 + def gotGlobalRequest(565,22820 + def channelClosed(593,23995 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/service.py,144 +class SSHService(15,301 + def serviceStarted(20,485 + def serviceStopped(25,600 + def logPrefix(31,775 + def packetReceived(35,906 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/userauth.py,1461 +class SSHUserAuthServer(27,731 + def serviceStarted(83,3130 + def serviceStopped(110,4187 + def timeoutAuthentication(120,4478 + def tryAuth(131,4859 + def ssh_USERAUTH_REQUEST(164,6137 + def _cbFinishedAuth(191,7026 + def _ebMaybeBadAuth(210,7853 + def _ebBadAuth(223,8328 + def auth_publickey(254,9679 + def _ebCheckKey(290,11090 + def auth_password(302,11584 + def _ebPassword(315,12047 +class SSHUserAuthClient(326,12339 + def __init__(356,13566 + def serviceStarted(361,13666 + def askForAuth(368,13840 + def tryAuth(382,14296 + def _ebAuth(396,14669 + def ssh_USERAUTH_SUCCESS(404,14914 + def ssh_USERAUTH_FAILURE(412,15157 + def orderByPreference(439,16256 + def _cbUserauthFailure(464,17163 + def ssh_USERAUTH_PK_OK(479,17661 + def ssh_USERAUTH_PK_OK_publickey(493,18178 + def ssh_USERAUTH_PK_OK_password(511,18877 + def ssh_USERAUTH_PK_OK_keyboard_interactive(525,19453 + def _cbSignedData(545,20192 + def _setOldPass(558,20657 + def _setNewPass(569,20933 + def _cbGenericAnswers(582,21331 + def auth_publickey(597,21842 + def _cbGetPublicKey(610,22220 + def auth_password(624,22741 + def auth_keyboard_interactive(640,23194 + def _cbPassword(652,23554 + def signData(663,23860 + def _cbSignData(687,24676 + def getPublicKey(702,25139 + def getPrivateKey(715,25490 + def getPassword(726,25865 + def getGenericAnswers(738,26243 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/session.py,1465 +class SSHSession(28,692 + def __init__(31,753 + def request_subsystem(37,924 + def request_shell(52,1467 + def request_exec(66,1841 + def request_pty_req(81,2268 + def request_window_change(94,2668 + def dataReceived(107,3046 + def extReceived(114,3238 + def eofReceived(121,3536 + def closed(127,3692 + def loseConnection(136,3947 +class _ProtocolWrapper(141,4101 + def __init__(145,4245 + def connectionMade(148,4304 + def outReceived(150,4363 + def processEnded(152,4427 +class _DummyTransport:_DummyTransport154,4498 + def __init__(156,4522 + def dataReceived(159,4581 + def write(162,4657 + def writeSequence(165,4723 + def loseConnection(168,4792 +def wrapProcessProtocol(171,4882 +def wrapProtocol(177,5026 +class SSHSessionProcessProtocol(190,5376 + def __init__(201,5733 + def connectionMade(205,5836 + def outReceived(210,5983 + def errReceived(213,6050 + def outConnectionLost(216,6156 + def errConnectionLost(225,6433 + def connectionLost(231,6557 + def _getSignalName(235,6642 + def processEnded(256,7580 + def getHost(284,8833 + def getPeer(291,8988 + def write(298,9143 + def writeSequence(302,9205 + def loseConnection(306,9283 +class SSHSessionClient(311,9354 + def dataReceived(313,9398 +def parseRequest_pty_req(318,9560 +def packRequest_pty_req(331,10087 +def parseRequest_window_change(346,10633 +def packRequest_window_change(354,10903 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/transport.py,2580 +def _getRandomNumber(42,1190 +def _generateX(64,1784 +class _MACParams(90,2436 +class SSHCiphers:SSHCiphers111,3067 + def __init__(158,5090 + def setKeys(170,5451 + def _getCipher(193,6427 + def _getMAC(214,7034 + def encrypt(249,8202 + def decrypt(262,8470 + def makeMAC(275,8738 + def verify(295,9318 +def _getSupportedCiphers(319,9973 +class SSHTransportBase(346,10855 + def connectionLost(520,17996 + def connectionMade(535,18480 + def sendKexInit(547,18940 + def _allowedKeyExchangeMessageType(581,20344 + def sendPacket(604,21202 + def getPacket(642,22841 + def _unsupportedVersionReceived(703,25307 + def dataReceived(716,25751 + def dispatchMessage(754,27324 + def getPeer(782,28298 + def getHost(794,28638 + def kexAlg(807,28979 + def kexAlg(815,29148 + def ssh_KEXINIT(836,29713 + def ssh_DISCONNECT(917,33346 + def ssh_IGNORE(935,33910 + def ssh_UNIMPLEMENTED(945,34155 + def ssh_DEBUG(959,34556 + def setService(976,35063 + def sendDebug(992,35557 + def sendIgnore(1008,36142 + def sendUnimplemented(1020,36504 + def sendDisconnect(1029,36768 + def _getKey(1046,37449 + def _keySetup(1069,38174 + def _newKeys(1099,39541 + def isEncrypted(1120,40430 + def isVerified(1140,41126 + def loseConnection(1160,41832 + def receiveError(1171,42122 + def receiveUnimplemented(1187,42723 + def receiveDebug(1198,43050 +class SSHServerTransport(1215,43601 + def ssh_KEXINIT(1236,44263 + def _ssh_KEX_ECDH_INIT(1255,45069 + def _ssh_KEXDH_INIT(1331,47760 + def ssh_KEX_DH_GEX_REQUEST_OLD(1372,49381 + def ssh_KEX_DH_GEX_REQUEST(1409,50851 + def ssh_KEX_DH_GEX_INIT(1435,51769 + def ssh_NEWKEYS(1480,53540 + def ssh_SERVICE_REQUEST(1496,54063 +class SSHClientTransport(1520,54840 + def connectionMade(1562,56276 + def ssh_KEXINIT(1571,56521 + def _ssh_KEX_ECDH_REPLY(1623,58793 + def _continue_KEX_ECDH_REPLY(1645,59568 + def _ssh_KEXDH_REPLY(1700,61888 + def ssh_KEX_DH_GEX_GROUP(1736,63176 + def _continueKEXDH_REPLY(1763,64114 + def ssh_KEX_DH_GEX_REPLY(1796,65315 + def _continueGEX_REPLY(1823,66284 + def _keySetup(1864,67752 + def ssh_NEWKEYS(1873,68005 + def ssh_SERVICE_ACCEPT(1893,68657 + def requestService(1914,69314 + def verifyHostKey(1927,69680 + def connectionSecure(1943,70150 +class _NullEncryptionContext(1952,70387 + def update(1956,70508 +class _DummyAlgorithm(1970,70767 +class _DummyCipher(1978,70906 + def encryptor(1988,71142 + def decryptor(1997,71302 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/sexpy.py,34 +def parse(9,170 +def pack(36,827 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/agent.py,814 +class SSHAgentClient(24,615 + def __init__(31,857 + def dataReceived(36,934 + def sendRequest(55,1576 + def requestIdentities(63,1798 + def _cbRequestIdentities(74,2171 + def addIdentity(91,2753 + def signData(100,2997 + def _cbSignData(117,3618 + def removeIdentity(124,3836 + def removeAllIdentities(133,4085 +class SSHAgentServer(141,4262 + def __init__(148,4504 + def dataReceived(152,4553 + def sendResponse(173,5341 + def agentc_REQUEST_IDENTITIES(178,5486 + def agentc_SIGN_REQUEST(193,5993 + def agentc_ADD_IDENTITY(207,6600 + def agentc_REMOVE_IDENTITY(231,7530 + def agentc_REMOVE_ALL_IDENTITIES(241,7840 + def agentc_REQUEST_RSA_IDENTITIES(253,8276 + def agentc_REMOVE_RSA_IDENTITY(261,8556 + def agentc_REMOVE_ALL_RSA_IDENTITIES(269,8800 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/forwarding.py,906 +class SSHListenForwardingFactory(22,568 + def __init__(23,620 + def buildProtocol(28,773 +class SSHListenForwardingChannel(37,1129 + def channelOpen(39,1184 + def openFailed(46,1411 + def dataReceived(49,1468 + def eofReceived(52,1545 + def closed(55,1620 +class SSHListenClientForwardingChannel(61,1827 +class SSHListenServerForwardingChannel(65,1924 +class SSHConnectForwardingChannel(71,2026 + def __init__(96,2871 + def channelOpen(103,3064 + def _setClient(114,3464 + def _close(132,4045 + def dataReceived(143,4361 + def closed(153,4575 +def openConnectForwardingClient(166,4905 +class SSHForwardingClient(173,5279 + def __init__(175,5326 + def dataReceived(179,5418 + def connectionLost(185,5554 +def packOpen_direct_tcpip(191,5693 +def unpackOpen_direct_tcpip(213,6460 +def packGlobal_tcpip_forward(230,7025 +def unpackGlobal_tcpip_forward(242,7270 + +venv/lib/python2.7/site-packages/twisted/conch/interfaces.py,1011 +class IConchUser(10,205 + def lookupChannel(18,445 + def lookupSubsystem(44,1537 + def gotGlobalRequest(58,2033 +class ISession(75,2596 + def getPty(77,2624 + def openShell(85,2859 + def execCommand(92,3010 + def windowChanged(99,3153 + def eofReceived(104,3279 + def closed(109,3403 +class ISFTPServer(116,3491 + def gotVersion(131,3847 + def openFile(147,4427 + def removeFile(178,5792 + def renameFile(189,6054 + def makeDirectory(202,6462 + def removeDirectory(215,6894 + def openDirectory(229,7256 + def getAttrs(261,8492 + def setAttrs(275,9027 + def readLink(288,9405 + def makeLink(299,9658 + def realPath(311,9995 + def extendedRequest(322,10251 +class IKnownHostEntry(340,10803 + def matchesKey(348,10957 + def matchesHost(358,11200 + def toString(371,11588 +class ISFTPFile(382,11806 + def close(388,11980 + def readChunk(397,12186 + def writeChunk(413,12752 + def getAttrs(425,13087 + def setAttrs(434,13331 + +venv/lib/python2.7/site-packages/twisted/conch/mixin.py,141 +class BufferingMixin:BufferingMixin16,351 + def schedule(25,490 + def reschedule(29,573 + def write(33,640 + def flush(49,1180 + +venv/lib/python2.7/site-packages/twisted/conch/telnet.py,3814 +class ITelnetProtocol(158,5946 + def unhandledCommand(159,5990 + def unhandledSubnegotiation(171,6409 + def enableLocal(184,6922 + def enableRemote(198,7343 + def disableLocal(210,7676 + def disableRemote(222,7969 +class ITelnetTransport(232,8187 + def do(233,8233 + def dont(250,8950 + def will(266,9589 + def wont(283,10333 + def requestNegotiation(299,10976 +class TelnetError(312,11397 +class NegotiationError(317,11439 + def __str__(318,11476 +class OptionRefused(323,11602 +class AlreadyEnabled(328,11653 +class AlreadyDisabled(333,11705 +class AlreadyNegotiating(338,11758 +class TelnetProtocol(344,11844 + def unhandledCommand(345,11885 + def unhandledSubnegotiation(349,11951 + def enableLocal(353,12020 + def enableRemote(357,12070 + def disableLocal(361,12121 + def disableRemote(365,12172 +class Telnet(370,12225 + def __init__(405,13732 + def _write(415,13985 + class _OptionState:_OptionState419,14050 + class _Perspective:_Perspective429,14354 + def __str__(453,15409 + def __init__(457,15503 + def __repr__(462,15618 + def getOptionState(466,15719 + def _do(470,15821 + def _dont(474,15889 + def _will(478,15961 + def _wont(482,16033 + def will(486,16105 + def wont(502,16600 + def do(518,17098 + def dont(531,17514 + def requestNegotiation(544,17934 + def dataReceived(557,18317 + def connectionLost(639,21888 + def applicationDataReceived(651,22293 + def unhandledCommand(656,22407 + def commandReceived(662,22547 + def unhandledSubnegotiation(670,22771 + def negotiate(676,22921 + def telnet_WILL(685,23171 + def will_no_false(690,23318 + def will_no_true(699,23571 + def will_yes_false(709,23964 + def will_yes_true(715,24122 + def telnet_WONT(724,24526 + def wont_no_false(729,24673 + def wont_no_true(736,24991 + def wont_yes_false(744,25251 + def wont_yes_true(751,25460 + def telnet_DO(764,25912 + def do_no_false(769,26053 + def do_no_true(778,26313 + def do_yes_false(788,26615 + def do_yes_true(794,26778 + def telnet_DONT(803,27166 + def dont_no_false(808,27311 + def dont_no_true(814,27476 + def dont_yes_false(823,27767 + def dont_yes_true(830,27968 + def enableLocal(843,28427 + def enableRemote(850,28556 + def disableLocal(857,28686 + def disableRemote(872,29259 +class ProtocolTransportMixin:ProtocolTransportMixin888,29839 + def write(889,29869 + def writeSequence(893,29957 + def loseConnection(897,30035 + def getHost(901,30107 + def getPeer(905,30172 +class TelnetTransport(910,30238 + def __init__(933,30955 + def connectionMade(941,31205 + def connectionLost(954,31660 + def enableLocal(963,31907 + def enableRemote(967,31993 + def disableLocal(971,32081 + def disableRemote(975,32169 + def unhandledSubnegotiation(979,32259 + def unhandledCommand(983,32376 + def applicationDataReceived(987,32487 + def write(991,32575 +class TelnetBootstrapProtocol(996,32684 + def __init__(999,32776 + def connectionMade(1005,32945 + def connectionLost(1026,33582 + def dataReceived(1034,33785 + def enableLocal(1038,33862 + def enableRemote(1047,34032 + def telnet_NAWS(1059,34334 + def telnet_LINEMODE(1072,34893 + def linemode_SLC(1079,35160 +class StatefulTelnetProtocol(1088,35434 + def connectionLost(1093,35546 + def lineReceived(1098,35694 + def telnet_Discard(1108,36022 +class AuthenticatingTelnetProtocol(1114,36111 + def __init__(1128,36690 + def connectionMade(1132,36753 + def connectionLost(1136,36829 + def telnet_User(1146,37135 + def telnet_Password(1153,37303 + def login(1156,37415 + def _cbLogin(1165,37737 + def _ebLogin(1176,38039 + +venv/lib/python2.7/site-packages/twisted/conch/client/connect.py,42 +def connect(9,160 +def _ebConnect(14,370 + +venv/lib/python2.7/site-packages/twisted/conch/client/direct.py,462 +class SSHClientFactory(14,273 + def __init__(16,322 + def clientConnectionLost(23,529 + def clientConnectionFailed(28,656 + def buildProtocol(35,820 +class SSHClientTransport(49,1322 + def __init__(51,1379 + def connectionLost(56,1476 + def receiveError(66,1780 + def sendDisconnect(73,1973 + def receiveDebug(81,2244 + def verifyHostKey(87,2444 + def setService(92,2638 + def connectionSecure(100,2951 +def connect(105,3043 + +venv/lib/python2.7/site-packages/twisted/conch/client/default.py,530 +def verifyHostKey(42,1290 +def isInKnownHosts(93,3572 +def getHostKeyAlgorithms(133,4820 +class SSHUserAuthClient(158,5635 + def __init__(160,5689 + def serviceStarted(169,5989 + def serviceStopped(180,6420 + def _setAgent(186,6564 + def _ebSetAgent(193,6715 + def _getPassword(197,6803 + def getPassword(215,7305 + def getPublicKey(232,7959 + def signData(259,8842 + def getPrivateKey(273,9298 + def getGenericAnswers(300,10312 + def _openTty(317,10894 + def _replaceStdoutStdin(337,11557 + +venv/lib/python2.7/site-packages/twisted/conch/client/agent.py,334 +class SSHAgentClient(19,356 + def __init__(21,401 + def getPublicKeys(26,495 + def _cbPublicKeys(30,598 + def getPublicKey(35,739 +class SSHAgentForwardingChannel(46,992 + def channelOpen(48,1046 + def _cbGotLocal(56,1330 + def dataReceived(62,1493 + def closed(66,1554 +class SSHAgentForwardingLocal(72,1671 + +venv/lib/python2.7/site-packages/twisted/conch/client/options.py,221 +class ConchOptions(11,234 + def __init__(56,2482 + def opt_identity(61,2624 + def opt_ciphers(65,2742 + def opt_macs(74,3034 + def opt_host_key_algorithms(84,3362 + def opt_user_authentications(94,3750 + +venv/lib/python2.7/site-packages/twisted/conch/client/knownhosts.py,1059 +def _b64encode(31,869 +def _extractCommon(45,1124 +class _BaseEntry(74,2051 + def __init__(89,2515 + def matchesKey(95,2667 +class PlainEntry(111,3080 + def __init__(120,3336 + def fromString(126,3525 + def matchesHost(154,4420 + def toString(171,4947 +class UnparsedEntry(190,5534 + def __init__(196,5715 + def matchesHost(204,5912 + def matchesKey(211,6026 + def toString(218,6134 +def _hmacedString(230,6477 +class HashedEntry(252,6969 + def __init__(270,7539 + def fromString(277,7770 + def matchesHost(309,8975 + def toString(325,9493 +class KnownHostsFile(344,10111 + def __init__(361,10787 + def savePath(377,11232 + def iterentries(384,11363 + def hasHostKey(416,12352 + def verifyHostKey(450,13595 + def gotHasKey(471,14425 + def promptResponse(481,14867 + def addHostKey(507,15914 + def save(532,16699 + def fromPath(555,17295 +class ConsoleUI(574,17930 + def __init__(579,18100 + def prompt(590,18499 + def body(604,19021 + def warn(618,19493 + +venv/lib/python2.7/site-packages/twisted/conch/avatar.py,155 +class ConchUser:ConchUser15,410 + def __init__(16,427 + def lookupChannel(21,519 + def lookupSubsystem(31,912 + def gotGlobalRequest(39,1151 + +venv/lib/python2.7/site-packages/twisted/conch/insults/text.py,72 +class _CharacterAttributes(87,2921 +def assembleFormattedText(144,4462 + +venv/lib/python2.7/site-packages/twisted/conch/insults/window.py,3859 +class YieldFocus(15,292 +class BoundedTerminalWrapper(22,379 + def __init__(23,417 + def cursorPosition(36,901 + def cursorHome(43,1086 + def write(48,1193 +class Widget(53,1264 + def repaint(59,1369 + def filthy(66,1547 + def redraw(70,1597 + def draw(75,1711 + def render(83,1973 + def sizeHint(87,2035 + def keystrokeReceived(91,2081 + def tabReceived(102,2432 + def focusReceived(107,2536 + def focusLost(117,2765 + def backspaceReceived(122,2844 + def functionKeyReceived(126,2892 + def characterReceived(135,3153 +class ContainerWidget(140,3219 + def __init__(148,3396 + def addChild(153,3479 + def remChild(167,3857 + def filthy(174,4013 + def render(180,4122 + def changeFocus(185,4249 + def focusReceived(210,5006 + def keystrokeReceived(215,5092 +class TopWindow(227,5444 + def __init__(251,6610 + def repaint(259,6784 + def _paint(266,6962 + def changeFocus(271,7040 + def keystrokeReceived(281,7274 +class AbsoluteBox(289,7467 + def moveChild(290,7503 + def render(299,7770 +class _Box(306,7983 + def __init__(309,8048 + def sizeHint(314,8160 + def render(344,9060 +class HBox(390,10382 +class VBox(395,10429 +class Packer(400,10476 + def render(401,10507 +class Canvas(415,10891 + def __init__(420,10955 + def resize(425,11037 + def __getitem__(440,11553 + def __setitem__(445,11664 + def clear(450,11783 + def render(454,11874 +def horizontalLine(475,12595 +def verticalLine(483,12852 +def rectangle(491,13127 +class Border(522,14108 + def __init__(523,14130 + def focusReceived(529,14269 + def focusLost(533,14346 + def keystrokeReceived(537,14415 + def sizeHint(541,14532 + def filthy(556,14858 + def render(561,14942 +class Button(571,15289 + def __init__(572,15311 + def sizeHint(578,15441 + def characterReceived(582,15501 + def render(587,15607 +class TextInput(596,15838 + def __init__(597,15863 + def setText(605,16055 + def func_LEFT_ARROW(611,16191 + def func_RIGHT_ARROW(617,16318 + def backspaceReceived(623,16461 + def characterReceived(630,16664 + def sizeHint(640,17001 + def render(644,17063 + def _renderText(657,17597 +class PasswordInput(662,17654 + def _renderText(663,17686 +class TextOutput(668,17754 + def __init__(671,17796 + def sizeHint(677,17889 + def render(682,17941 + def setText(689,18120 + def focusReceived(694,18199 +class TextOutputArea(699,18258 + def __init__(702,18323 + def render(707,18451 +class Viewport(732,19396 + def xOffset(736,19455 + def get(737,19474 + def set(739,19530 + def yOffset(747,19729 + def get(748,19748 + def set(750,19804 + def __init__(761,20038 + def filthy(772,20335 + def render(777,20419 +class _Scrollbar(793,20980 + def __init__(794,21006 + def smaller(800,21132 + def bigger(805,21241 +class HorizontalScrollbar(811,21350 + def sizeHint(812,21389 + def func_LEFT_ARROW(816,21440 + def func_RIGHT_ARROW(820,21506 + def render(829,21733 +class VerticalScrollbar(839,22050 + def sizeHint(840,22087 + def func_UP_ARROW(844,22138 + def func_DOWN_ARROW(848,22202 + def render(857,22422 +class ScrolledArea(872,22955 + def __init__(877,23142 + def _horizScroll(887,23459 + def _vertScroll(893,23637 + def func_UP_ARROW(899,23814 + def func_DOWN_ARROW(903,23884 + def func_LEFT_ARROW(907,23955 + def func_RIGHT_ARROW(911,24028 + def filthy(915,24101 + def render(922,24242 +def cursor(935,24827 +class Selection(944,25027 + def __init__(951,25181 + def sizeHint(960,25467 + def func_UP_ARROW(965,25581 + def func_PGUP(973,25795 + def func_DOWN_ARROW(982,26061 + def func_PGDN(990,26312 + def characterReceived(1002,26806 + def render(1007,26945 + +venv/lib/python2.7/site-packages/twisted/conch/insults/client.py,449 +class InsultsClient(9,153 + def __init__(13,219 + def setSize(19,376 + def dataReceived(28,586 + def endEscape(55,1603 + def initScreen(60,1712 + def gotoXY(63,1785 + def writeCh(70,1964 + def writeStr(78,2225 + def eraseToLine(90,2604 + def eraseToScreen(95,2759 + def clearScreen(100,2922 + def setAttributes(106,3095 + def refresh(111,3258 + def windowSizeChanged(133,4042 + def keyReceived(138,4203 + +venv/lib/python2.7/site-packages/twisted/conch/insults/insults.py,4904 +class ITerminalProtocol(18,397 + def makeConnection(19,433 + def keystrokeReceived(24,572 + def terminalSize(35,984 + def unhandledControlSequence(43,1237 + def connectionLost(51,1472 +class TerminalProtocol(61,1658 + def makeConnection(62,1690 + def connectionMade(68,1937 + def keystrokeReceived(74,2049 + def terminalSize(78,2114 + def unhandledControlSequence(82,2172 + def connectionLost(86,2232 +class ITerminalTransport(91,2286 + def cursorUp(92,2334 + def cursorDown(98,2419 + def cursorForward(104,2508 + def cursorBackward(110,2603 + def cursorPosition(116,2698 + def cursorHome(122,2816 + def index(128,2894 + def reverseIndex(134,3011 + def nextLine(140,3133 + def saveCursor(146,3278 + def restoreCursor(152,3423 + def setModes(160,3679 + def resetModes(165,3774 + def setPrivateModes(171,3873 + def resetPrivateModes(177,3988 + def applicationKeypadMode(183,4107 + def numericKeypadMode(191,4300 + def selectCharacterSet(197,4407 + def shiftIn(208,4658 + def shiftOut(214,4742 + def singleShift2(220,4827 + def singleShift3(226,4939 + def selectGraphicRendition(232,5051 + def horizontalTabulationSet(241,5332 + def tabulationClear(247,5448 + def tabulationClearAll(253,5560 + def doubleHeightLine(259,5645 + def singleWidthLine(267,5893 + def doubleWidthLine(273,6012 + def eraseToLineEnd(279,6116 + def eraseToLineBeginning(285,6245 + def eraseLine(291,6394 + def eraseToDisplayEnd(297,6479 + def eraseToDisplayBeginning(303,6622 + def eraseDisplay(309,6777 + def deleteCharacter(315,6861 + def insertLine(323,7058 + def deleteLine(332,7330 + def reportCursorPosition(341,7564 + def reset(347,7718 + def unhandledControlSequence(353,7810 +class modes:modes365,8084 +class privateModes:privateModes394,9035 +class Vector:Vector437,9816 + def __init__(438,9830 +def log(444,9901 +class _const(457,10368 + def __init__(461,10452 + def __repr__(465,10509 + def __bytes__(469,10572 +class ServerProtocol(479,10763 + def __init__(498,11088 + def connectionMade(517,11900 + def dataReceived(531,12320 + def _handleShortControlSequence(563,13598 + def _handleControlSequence(567,13709 + def unhandledControlSequence(578,14058 + def _handleLowFunctionControlSequence(582,14165 + class ControlSequenceParser:ControlSequenceParser592,14549 + def A(593,14582 + def B(600,14801 + def C(607,15022 + def D(614,15244 + def E(621,15465 + def F(628,15689 + def H(635,15903 + def R(642,16118 + def Z(663,16938 + def tilde(670,17159 + def cursorUp(697,18162 + def cursorDown(703,18324 + def cursorForward(709,18505 + def cursorBackward(715,18689 + def cursorPosition(721,18856 + def cursorHome(729,19070 + def index(734,19176 + def reverseIndex(740,19344 + def nextLine(745,19459 + def saveCursor(751,19614 + def restoreCursor(756,19745 + def setModes(762,19884 + def setPrivateModes(768,20087 + def resetModes(773,20246 + def resetPrivateModes(779,20451 + def applicationKeypadMode(784,20612 + def numericKeypadMode(788,20680 + def selectCharacterSet(792,20744 + def shiftIn(815,21498 + def shiftOut(819,21551 + def singleShift2(823,21605 + def singleShift3(827,21664 + def selectGraphicRendition(831,21723 + def horizontalTabulationSet(841,22020 + def tabulationClear(845,22090 + def tabulationClearAll(849,22153 + def doubleHeightLine(853,22220 + def singleWidthLine(860,22362 + def doubleWidthLine(864,22425 + def eraseToLineEnd(868,22488 + def eraseToLineBeginning(872,22550 + def eraseLine(876,22619 + def eraseToDisplayEnd(880,22677 + def eraseToDisplayBeginning(884,22742 + def eraseDisplay(888,22814 + def deleteCharacter(892,22875 + def insertLine(896,22965 + def deleteLine(900,23050 + def setScrollRegion(904,23135 + def resetScrollRegion(916,23457 + def reportCursorPosition(920,23523 + def reset(927,23676 + def write(937,23891 + def writeSequence(945,24125 + def loseConnection(949,24197 + def connectionLost(954,24290 +class ClientProtocol(966,24652 + def __init__(1004,25495 + def connectionMade(1021,26267 + def connectionLost(1028,26532 + def dataReceived(1036,26735 + def _handleControlSequence(1102,29449 + class ControlSequenceParser:ControlSequenceParser1110,29757 + def _makeSimple(1111,29790 + def simple(1113,29859 + def h(1133,30537 + def l(1143,30898 + def r(1153,31260 + def K(1174,32025 + def H(1185,32367 + def J(1189,32444 + def P(1200,32795 + def L(1211,33157 + def M(1223,33510 + def n(1235,33863 + def m(1247,34329 + def _handleHeightWidth(1263,34811 + +venv/lib/python2.7/site-packages/twisted/conch/insults/helper.py,1886 +class _FormattingState(31,703 + def __init__(44,1158 + def wantOne(58,1676 + def toVT102(73,2109 +class TerminalBuffer(107,3214 + def getCharacter(128,3803 + def connectionMade(132,3871 + def write(136,3924 + def _currentFormattingState(147,4222 + def insertAtCursor(151,4340 + def _emptyLine(181,5388 + def _scrollDown(186,5522 + def _scrollUp(194,5718 + def cursorUp(202,5904 + def cursorDown(206,5971 + def cursorBackward(210,6054 + def cursorForward(214,6127 + def cursorPosition(218,6208 + def cursorHome(223,6300 + def index(228,6386 + def reverseIndex(232,6436 + def nextLine(236,6491 + def saveCursor(244,6665 + def restoreCursor(248,6738 + def setModes(253,6842 + def resetModes(258,6932 + def setPrivateModes(266,7092 + def resetPrivateModes(281,7539 + def applicationKeypadMode(295,7866 + def numericKeypadMode(299,7937 + def selectCharacterSet(303,8004 + def shiftIn(307,8095 + def shiftOut(311,8160 + def singleShift2(315,8226 + def insertAtCursor(319,8372 + def singleShift3(326,8553 + def insertAtCursor(330,8699 + def selectGraphicRendition(337,8880 + def eraseLine(369,10262 + def eraseToLineEnd(373,10346 + def eraseToLineBeginning(378,10475 + def eraseDisplay(382,10583 + def eraseToDisplayEnd(386,10692 + def eraseToDisplayBeginning(392,10886 + def deleteCharacter(397,11046 + def insertLine(402,11212 + def deleteLine(407,11366 + def reportCursorPosition(412,11514 + def reset(416,11584 + def unhandledControlSequence(440,12387 + def __bytes__(444,12479 +class ExpectationTimeout(460,12891 +class ExpectableBuffer(465,12940 + def connectionMade(468,12995 + def write(473,13100 + def cursorHome(478,13200 + def _timeoutExpected(483,13291 + def _checkExpected(488,13398 + def expect(507,13992 + +venv/lib/python2.7/site-packages/twisted/conch/manhole_tap.py,413 +class makeTelnetProtocol:makeTelnetProtocol23,522 + def __init__(24,548 + def __call__(27,610 +class chainedProtocolFactory:chainedProtocolFactory34,769 + def __init__(35,799 + def __call__(38,870 +class _StupidRealm:_StupidRealm44,1003 + def __init__(45,1023 + def requestAvatar(50,1165 +class Options(60,1509 + def __init__(78,2243 + def postOptions(82,2338 +def makeService(89,2551 + +venv/lib/python2.7/site-packages/twisted/conch/manhole_ssh.py,581 +class _Glue:_Glue20,438 + def __init__(27,646 + def __getattr__(31,711 +class TerminalSessionTransport:TerminalSessionTransport36,813 + def __init__(37,845 + def loseConnection(49,1283 +class TerminalSession(68,1969 + def getPty(72,2113 + def openShell(76,2211 + def execCommand(83,2409 + def closed(87,2509 +class TerminalUser(92,2547 + def __init__(93,2605 +class TerminalRealm:TerminalRealm100,2804 + def _getAvatar(107,2995 + def __init__(121,3407 + def requestAvatar(126,3550 +class ConchFactory(136,3847 + def __init__(140,3929 + +venv/lib/python2.7/site-packages/twisted/conch/unix.py,1723 +class UnixSSHRealm:UnixSSHRealm42,940 + def requestAvatar(43,960 +class UnixConchUser(49,1108 + def __init__(51,1141 + def getUserGroupId(69,1817 + def getOtherGroups(73,1882 + def getHomeDir(77,1946 + def getShell(81,2005 + def global_tcpip_forward(85,2062 + def global_cancel_tcpip_forward(107,2873 + def logout(117,3235 + def _runAsUser(126,3502 +class SSHSessionForUnixConchUser:SSHSessionForUnixConchUser157,4306 + def __init__(158,4340 + def addUTMPEntry(175,4926 + def getPty(202,5873 + def openShell(212,6184 + def execCommand(241,7441 + def getPtyOwnership(263,8316 + def setModes(276,8675 + def eofReceived(304,9756 + def closed(309,9840 + def windowChanged(323,10287 + def _writeHack(330,10472 +class SFTPServerForUnixConchUser:SFTPServerForUnixConchUser343,10880 + def __init__(344,10914 + def _setAttrs(348,10977 + def _getAttrs(361,11436 + def _absPath(372,11695 + def gotVersion(377,11840 + def openFile(381,11909 + def removeFile(385,12032 + def renameFile(390,12172 + def makeDirectory(396,12367 + def removeDirectory(402,12553 + def openDirectory(407,12674 + def getAttrs(411,12771 + def setAttrs(420,13031 + def readLink(425,13165 + def makeLink(430,13289 + def realPath(436,13499 + def extendedRequest(440,13584 +class UnixSFTPFile:UnixSFTPFile446,13694 + def __init__(447,13714 + def close(475,14794 + def readChunk(479,14881 + def writeChunk(485,15061 + def getAttrs(491,15239 + def setAttrs(496,15366 +class UnixSFTPDirectory:UnixSFTPDirectory501,15434 + def __init__(503,15460 + def __iter__(509,15632 + def __next__(513,15678 + def close(527,16065 + +venv/lib/python2.7/site-packages/twisted/conch/tap.py,101 +class Options(17,437 + def __init__(37,1412 + def addChecker(50,1990 +def makeService(64,2435 + +venv/lib/python2.7/site-packages/twisted/conch/ls.py,19 +def lsLine(17,428 + +venv/lib/python2.7/site-packages/twisted/conch/error.py,304 +class ConchError(15,261 + def __init__(16,290 +class NotEnoughAuthentication(23,435 +class ValidPublicKey(32,670 +class IgnoreAuthentication(51,1408 +class MissingKeyStoreError(59,1574 +class UserRejectedKey(67,1765 +class InvalidEntry(74,1861 +class HostKeyChanged(81,1989 + def __init__(99,2530 + +venv/lib/python2.7/site-packages/twisted/conch/stdio.py,386 +class UnexpectedOutputError(19,454 +class TerminalProcessProtocol(24,506 + def __init__(25,563 + def connectionMade(30,668 + def write(36,814 + def outReceived(46,999 + def errReceived(56,1202 + def childConnectionLost(69,1557 + def processEnded(74,1690 +class ConsoleManhole(81,1840 + def connectionLost(85,1964 +def runWithProtocol(94,2174 +def main(108,2497 + +venv/lib/python2.7/site-packages/twisted/conch/checkers.py,1246 +def verifyCryptedPassword(46,1116 +def _pwdGetByName(61,1468 +def _shadowGetByName(76,1842 +class UNIXPasswordDatabase:UNIXPasswordDatabase94,2300 + def __init__(105,2740 + def requestAvatarId(111,2951 +class SSHPublicKeyDatabase:SSHPublicKeyDatabase140,4061 + def requestAvatarId(149,4323 + def _cbRequestAvatarId(156,4552 + def getAuthorizedKeysFiles(192,6127 + def checkKey(214,7059 + def _ebRequestAvatarId(243,8064 +class SSHProtocolChecker:SSHProtocolChecker252,8302 + def __init__(264,8809 + def get_credentialInterfaces(269,8902 + def registerChecker(274,9042 + def requestAvatarId(281,9322 + def _cbGoodAuthentication(303,10313 + def areDone(320,11001 +class IAuthorizedKeysDB(342,11647 + def getAuthorizedKeys(348,11792 +def readAuthorizedKeyFile(362,12179 +def _keysFromFilepaths(393,13220 +class InMemorySSHKeyDB(423,14140 + def __init__(430,14328 + def getAuthorizedKeys(442,14603 +class UNIXAuthorizedKeysFiles(448,14728 + def __init__(457,15052 + def getAuthorizedKeys(476,15741 +class SSHPublicKeyChecker(490,16160 + def __init__(502,16571 + def requestAvatarId(512,16811 + def _sanityCheckKey(519,17044 + def _checkKey(542,17837 + def _verifyKey(567,18700 + +venv/lib/python2.7/site-packages/twisted/conch/openssh_compat/factory.py,118 +class OpenSSHFactory(20,444 + def getPublicKeys(26,626 + def getPrivateKeys(43,1199 + def getPrimes(68,2168 + +venv/lib/python2.7/site-packages/twisted/conch/openssh_compat/primes.py,28 +def parseModuliFile(15,225 + +venv/lib/python2.7/site-packages/twisted/conch/recvline.py,1222 +class Logging(21,398 + def __init__(29,660 + def __str__(37,907 + def __repr__(41,1002 + def __getattribute__(45,1099 +class TransportSequence(54,1392 + def __init__(76,2215 +def %s(83,2454 +class LocalTerminalBufferMixin(91,2589 + def makeConnection(103,3073 + def __str__(110,3341 +class RecvLine(115,3405 + def connectionMade(139,4327 + def initializeScreen(168,5279 + def currentLineBuffer(185,5974 + def setInsertMode(190,6113 + def setTypeoverMode(195,6225 + def drawInputLine(200,6343 + def terminalSize(208,6597 + def unhandledControlSequence(218,6893 + def keystrokeReceived(222,6953 + def characterReceived(232,7257 + def handle_TAB(241,7573 + def handle_LEFT(248,7791 + def handle_RIGHT(254,7938 + def handle_HOME(260,8104 + def handle_END(266,8266 + def handle_BACKSPACE(273,8478 + def handle_DELETE(281,8728 + def handle_RETURN(287,8913 + def handle_INSERT(295,9112 + def lineReceived(303,9312 +class HistoricRecvLine(308,9362 + def connectionMade(316,9722 + def currentHistoryBuffer(327,10011 + def _deliverBuffer(332,10152 + def handle_UP(339,10349 + def handle_DOWN(352,10776 + def handle_RETURN(370,11304 + +venv/lib/python2.7/site-packages/twisted/conch/endpoints.py,1900 +class AuthenticationFailed(40,1402 +class _ISSHConnectionCreator(49,1588 + def secureConnection(53,1723 + def cleanupConnection(61,1977 +class SSHCommandAddress(79,2707 + def __init__(89,3043 +class _CommandChannel(109,3675 + def __init__(124,4223 + def openFailed(149,5214 + def channelOpen(157,5476 + def _execFailure(167,5843 + def _execSuccess(178,6202 + def dataReceived(199,7055 + def request_exit_status(210,7355 + def request_exit_signal(224,7802 + def closed(252,8880 +class _ConnectionReady(266,9274 + def __init__(272,9493 + def serviceStarted(281,9717 +class _UserAuth(293,10034 + def getPublicKey(306,10462 + def signData(326,11107 + def getPrivateKey(340,11541 + def getPassword(352,11894 + def ssh_USERAUTH_SUCCESS(364,12211 + def connectToAgent(373,12536 + def connected(388,13070 + def loseAgentConnection(395,13224 +class _CommandTransport(405,13412 + def __init__(426,14143 + def readyFired(439,14698 + def verifyHostKey(446,14878 + def _saveHostKeyFailure(464,15528 + def connectionSecure(479,15947 + def maybeGotAgent(497,16557 + def connectionLost(502,16676 +class SSHCommandClientEndpoint(523,17469 + def __init__(540,18237 + def newConnection(560,19005 + def existingConnection(620,21618 + def connect(641,22406 + def _executeCommand(661,23243 + def disconnectOnFailure(677,23852 +class _ReadFile(692,24453 + def __init__(697,24626 + def write(705,24818 + def readline(713,24916 + def close(726,25195 +class _NewConnectionHelper(734,25295 + def __init__(742,25540 + def _opener(770,26418 + def _knownHosts(786,26919 + def secureConnection(796,27194 + def cleanupConnection(816,27884 +class _ExistingConnectionHelper(837,28645 + def __init__(844,28861 + def secureConnection(852,29077 + def cleanupConnection(861,29292 + +venv/lib/python2.7/site-packages/twisted/conch/ui/ansi.py,355 +class ColorText:ColorText15,219 + def __init__(31,680 +class AnsiParser:AnsiParser42,1035 + def __init__(64,1671 + def stripEscapes(72,1977 + def writeString(94,2581 + def parseString(97,2632 + def parseColor(158,4818 + def parseCursor(211,6476 + def parseErase(214,6525 + def pickColor(218,6573 + def formatText(225,6789 + +venv/lib/python2.7/site-packages/twisted/conch/ui/tkvt100.py,359 +class VT100Frame(34,884 + def __init__(35,917 + def _delete(70,2593 + def _write(79,2886 + def write(96,3655 + def writeString(106,4100 + def parseErase(131,4927 + def parseCursor(160,5843 + def keyPressed(187,6650 + def upPressed(192,6786 + def downPressed(195,6851 + def rightPressed(198,6918 + def leftPressed(201,6986 + +venv/lib/python2.7/site-packages/twisted/conch/manhole.py,994 +class FileWrapper:FileWrapper27,710 + def __init__(38,965 + def flush(42,1013 + def write(46,1049 + def writelines(50,1131 +class ManholeInterpreter(55,1202 + class captures 60,1413 + def __init__(70,1904 + def resetBuffer(78,2160 + def push(85,2270 + def runcode(112,3334 + def displayhook(124,3723 + def _cbDisplayDeferred(144,4558 + def _ebDisplayDeferred(150,4747 + def write(156,4952 +class Manhole(171,5219 + def __init__(184,5704 + def connectionMade(190,5875 + def handle_INT(201,6345 + def handle_EOF(217,6798 + def handle_FF(224,6938 + def handle_QUIT(234,7185 + def _needsNewline(238,7253 + def addOutput(243,7386 + def lineReceived(266,8071 +class VT102Writer:VT102Writer275,8296 + def __init__(295,8824 + def color(299,8876 + def write(304,8966 + def __bytes__(314,9245 +def lastColorizedLine(324,9438 +class ColoredManhole(348,10062 + def getSource(353,10165 + def characterReceived(365,10486 + +venv/lib/python2.7/site-packages/twisted/conch/scripts/tkconch.py,1362 +class TkConchMenu(29,865 + def __init__(30,899 + def getIdentityFile(97,4600 + def addForward(103,4787 + def removeForward(113,5193 + def doConnect(118,5323 +class GeneralOptions(188,7939 + def opt_identity(230,10081 + def opt_localforward(233,10146 + def opt_remoteforward(239,10404 + def opt_compress(245,10656 + def parseArgs(248,10750 +def deferredAskFrame(262,11041 + def gotChar(267,11200 +def run(290,11832 +def handleError(337,13414 +class SSHClientFactory(345,13574 + def stopFactory(348,13637 + def buildProtocol(351,13688 + def clientConnectionFailed(354,13760 +class SSHClientTransport(357,13930 + def receiveError(359,13987 + def sendDisconnect(363,14164 + def receiveDebug(368,14413 + def verifyHostKey(373,14599 + def _cbVerifyHostKey(400,15919 + def connectionSecure(418,16838 +class SSHUserAuthClient(425,17055 + def getPassword(428,17128 + def getPublicKey(433,17309 + def getPrivateKey(449,17789 + def _cbGetPrivateKey(460,18308 +class SSHConnection(471,18759 + def serviceStarted(472,18806 +class SSHSession(490,19688 + def channelOpen(494,19750 + def handleInput(529,21311 + def dataReceived(555,22293 + def extReceived(562,22500 + def eofReceived(568,22704 + def closed(572,22785 + def request_exit_status(577,22927 + def sendEOF(582,23098 + +venv/lib/python2.7/site-packages/twisted/conch/scripts/ckeygen.py,399 +def _keyGenerator(30,739 + def assignkeygenerator(31,767 + def wrapper(33,838 +class GeneralOptions(41,1026 +def run(66,2195 +def enumrepresentation(95,3106 +def handleError(108,3524 +def generateRSAkey(116,3649 +def generateDSAkey(133,4106 +def generateECDSAkey(149,4534 +def printFingerprint(167,5117 +def changePassPhrase(185,5733 +def displayPublicKey(233,7527 +def _saveKey(251,8170 + +venv/lib/python2.7/site-packages/twisted/conch/scripts/conch.py,1450 +class ClientOptions(31,738 + def opt_escape(64,2219 + def opt_localforward(78,2618 + def opt_remoteforward(88,2965 + def parseArgs(98,3306 +def run(114,3538 +def handleError(173,5210 +def _stopReactor(183,5395 +def doConnect(190,5467 +def _ebExit(213,6307 +def onConnect(220,6447 +def reConnect(255,7771 +def beforeShutdown(261,7858 +def stopConnection(269,8088 +class _KeepAlive:_KeepAlive275,8191 + def __init__(277,8210 + def sendGlobal(284,8380 + def _cbGlobal(291,8646 + def _ebGlobal(297,8787 +class SSHConnection(304,8933 + def serviceStarted(305,8980 + def serviceStopped(317,9343 + def requestRemoteForwarding(325,9516 + def _cbRemoteForwarding(335,9997 + def _ebRemoteForwarding(342,10252 + def cancelRemoteForwarding(348,10425 + def channel_forwarded_tcpip(359,10832 + def channelClosed(376,11641 +class SSHSession(388,12017 + def channelOpen(392,12079 + def handleInput(436,14121 + def _(449,14651 + def dataReceived(477,15728 + def extReceived(481,15795 + def eofReceived(490,16091 + def closeReceived(495,16188 + def closed(500,16307 + def request_exit_status(506,16434 + def sendEOF(512,16612 + def stopWriting(516,16669 + def startWriting(520,16734 + def _windowResized(524,16801 +class SSHListenClientForwardingChannel(532,17094 +class SSHConnectForwardingChannel(533,17184 +def _leaveRawMode(537,17267 +def _enterRawMode(547,17448 + +venv/lib/python2.7/site-packages/twisted/conch/scripts/cftp.py,2431 +class ClientOptions(21,703 + def parseArgs(42,1713 +def run(50,1984 +def handleError(76,2614 +def doConnect(85,2765 +def _ebExit(104,3422 +def _ignore(116,3666 +class FileWrapper:FileWrapper118,3692 + def __init__(120,3712 + def __getattr__(126,3852 +class StdioClient(129,3923 + def __init__(138,4043 + def connectionMade(144,4221 + def _cbSetCurDir(147,4316 + def _writeToTransport(151,4412 + def lineReceived(156,4567 + def _dispatchCommand(177,5196 + def _printFailure(197,5927 + def _newLine(209,6477 + def _cbCommand(222,6878 + def _ebCommand(231,7192 + def cmd_CD(237,7375 + def _cbCd(247,7719 + def _cbCurDir(253,7882 + def cmd_CHGRP(256,7951 + def cmd_CHMOD(264,8203 + def cmd_CHOWN(272,8454 + def _cbSetUsrGrp(280,8706 + def cmd_GET(288,9003 + def _cbGetMultiple(312,9916 + def _cbGetMultipleNext(317,10133 + def _ebCloseLf(335,10838 + def _cbGetOpenFile(339,10908 + def _cbGetFileSize(342,11017 + def _getNextChunk(361,11766 + def _cbGetRead(375,12263 + def _cbGetDone(406,13480 + def cmd_PUT(415,13723 + def _putSingleFile(447,14760 + def _putMultipleFiles(463,15219 + def _cbPutMultipleNext(479,15686 + def _putRemoteFile(534,17573 + def _cbPutOpenFile(558,18370 + def _cbPutWrite(573,18903 + def _cbPutDone(588,19391 + def cmd_LCD(595,19605 + def cmd_LN(598,19658 + def cmd_LS(606,20008 + def _cbDisplayFiles(631,20925 + def cmd_MKDIR(644,21323 + def cmd_RMDIR(649,21529 + def cmd_LMKDIR(654,21733 + def cmd_RM(657,21803 + def cmd_LLS(662,21999 + def cmd_RENAME(665,22063 + def cmd_EXIT(673,22404 + def cmd_VERSION(678,22510 + def cmd_HELP(684,22715 + def cmd_PWD(711,24152 + def cmd_LPWD(714,24222 + def cmd_PROGRESS(717,24283 + def cmd_EXEC(721,24455 + def _remoteGlob(737,24894 + def _cbOpenList(754,25498 + def _ebNotADirectory(760,25668 + def _cbReadFile(765,25828 + def _abbrevSize(782,26394 + def _abbrevTime(798,26845 + def _printProgressBar(811,27201 + def _getFilename(853,28737 +class SSHConnection(892,30100 + def serviceStarted(893,30147 +class SSHSession(896,30217 + def channelOpen(900,30279 + def _cbSubsystem(911,30683 + def extReceived(922,31100 + def eofReceived(928,31304 + def closeReceived(932,31400 + def closed(936,31512 + def stopWriting(942,31608 + def startWriting(945,31672 + +venv/lib/python2.7/site-packages/twisted/python/threadpool.py,676 +class ThreadPool:ThreadPool27,601 + def __init__(54,1343 + def trackingThreadFactory(74,2018 + def currentLimit(79,2207 + def workers(88,2407 + def working(101,2819 + def waiters(113,3190 + def _queue(126,3608 + class NotAQueue(133,3862 + def qsize(134,3895 + def start(150,4446 + def startAWorker(163,4758 + def _generateName(171,4970 + def stopAWorker(181,5229 + def __setstate__(189,5412 + def __getstate__(194,5544 + def callInThread(201,5678 + def callInThreadWithCallback(214,6061 + def inContext(248,7575 + def stop(272,8326 + def adjustPoolsize(283,8564 + def dumpStats(313,9534 + +venv/lib/python2.7/site-packages/twisted/python/test/test_textattributes.py,72 +class DefaultFormattingStateTests(13,230 + def test_equality(17,372 + +venv/lib/python2.7/site-packages/twisted/python/test/test_components.py,4318 +class Compo(22,526 + def inc(24,577 +class IAdept(28,653 + def adaptorFunc(29,678 +class IElapsed(32,738 + def elapsedFunc(33,765 +class Adept(39,845 + def __init__(40,878 + def adaptorFunc(43,958 +class Elapsed(48,1086 + def elapsedFunc(49,1121 +class AComp(52,1166 +class BComp(54,1214 +class CComp(56,1243 +class ITest(59,1273 +class ITest2(63,1308 +class ITest3(67,1344 +class ITest4(71,1380 +class Test(76,1452 + def __init__(77,1484 +class Test2(82,1550 + def __init__(84,1596 +class RegistryUsingMixin(89,1642 + def setUp(93,1759 +class ComponentizedTests(110,2460 + def setUp(114,2603 + def testComponentized(122,2834 + def testInheritanceAdaptation(131,3185 + def testMultiAdapter(145,3608 + def test_getComponentDefaults(154,3835 + def test_setAdapter(172,4412 + def test_addAdapter(184,4864 + def test_setComponent(196,5336 + def test_unsetComponent(207,5689 + def test_reprableComponentized(219,6076 +class AdapterTests(231,6410 + def testAdapterGetComponent(234,6486 +class IMeta(242,6672 +class MetaAdder(248,6728 + def add(249,6765 +class BackwardsAdder(255,6851 + def add(256,6893 +class MetaNumber(261,6959 + def __init__(265,7053 +class ComponentNumber(270,7108 + def __init__(271,7157 +class ComponentAdder(278,7273 + def __init__(282,7374 + def add(287,7499 +class IAttrX(293,7574 + def x(297,7671 +class IAttrXX(304,7735 + def xx(308,7836 +class Xcellent(316,7932 + def x(320,8038 +class DoubleXAdapter(331,8164 + def __init__(336,8249 + def xx(340,8318 + def __cmp__(344,8392 +class MetaInterfaceTests(349,8465 + def test_basic(350,8541 + def testComponentizedInteraction(358,8802 + def testAdapterWithCmp(365,9045 +class RegistrationTests(372,9302 + def _registerAdapterForClassOrInterface(376,9429 + class or 379,9579 + def test_registerAdapterForClass(389,9914 + class TheOriginal(394,10070 + def test_registerAdapterForInterface(399,10193 + def _duplicateAdapterForClassOrInterface(407,10424 + def test_duplicateAdapterForClass(425,11118 + class TheOriginal(430,11300 + def test_duplicateAdapterForInterface(435,11424 + def _duplicateAdapterForClassOrInterfaceAllowed(443,11682 + class TheInterface(451,12058 + def test_duplicateAdapterForClassAllowed(474,12839 + class TheOriginal(480,13097 + def test_duplicateAdapterForInterfaceAllowed(485,13228 + class TheOriginal(491,13493 + def _multipleInterfacesForClassOrInterface(496,13627 + def test_multipleInterfacesForClass(509,14109 + class TheOriginal(514,14276 + def test_multipleInterfacesForInterface(519,14402 + def _subclassAdapterRegistrationForClassOrInterface(527,14647 + class TheSubclass(536,15101 + def test_subclassAdapterRegistrationForClass(548,15525 + class TheOriginal(553,15722 + def test_subclassAdapterRegistrationForInterface(558,15857 +class IProxiedInterface(567,16142 + def yay(575,16355 +class IProxiedSubInterface(580,16452 + def boo(585,16594 +class Yayable(592,16730 + def __init__(600,16927 + def yay(604,17000 +class Booable(615,17208 + def yay(621,17329 + def boo(628,17450 +class IMultipleMethods(636,17573 + def methodOne(641,17665 + def methodTwo(646,17754 +class MultipleMethodImplementor(653,17846 + def methodOne(658,17957 + def methodTwo(665,18044 +class ProxyForInterfaceTests(673,18132 + def test_original(678,18245 + def test_proxyMethod(688,18569 + def test_decoratedProxyMethod(701,18983 + class klass(707,19229 + def yay(709,19285 + def test_proxyAttribute(719,19521 + def test_proxySetAttribute(731,19934 + def test_proxyDeleteAttribute(743,20315 + def test_multipleMethods(755,20712 + def test_subclassing(766,21090 + class SpecializedProxy(771,21218 + def boo(775,21392 + def test_proxyName(788,21727 + def test_implements(799,22058 + def test_proxyDescriptorGet(807,22302 + class Sample(823,23216 + def hello(825,23273 + def test_proxyInheritance(837,23687 + class YayableWrapper(843,23930 + class EnhancedWrapper(848,24091 + def yay(853,24249 + def test_interfaceInheritance(864,24611 + def test_attributeCustomization(878,25072 + +venv/lib/python2.7/site-packages/twisted/python/test/pullpipe.py,19 +def recvfd(13,239 + +venv/lib/python2.7/site-packages/twisted/python/test/test_zippath.py,193 +def zipit(18,375 +class ZipFilePathTests(34,893 + def setUp(39,1058 + def test_zipPathRepr(49,1414 + def test_zipPathReprParentDirSegment(71,2226 + def test_zipArchiveRepr(83,2696 + +venv/lib/python2.7/site-packages/twisted/python/test/test_pydoctor.py,603 +class TwistedSystemTests(27,655 + def test_initCustomSphinxInventory(33,764 + def test_privacyClassBaseTestPackage(42,1006 + def test_privacyClassProtoHelpers(66,1687 + def test_privacyClassChildTestModule(95,2503 + def test_privacyClassPublicCode(125,3309 +class TwistedSphinxInventoryTests(167,4622 + def getInventoryWithZope(173,4749 + def test_getLinkExistentInInterSphinx(195,5442 + def test_getLinkZopeNonExistent(208,5824 + def test_getLinkZopeAdapterRegistry(224,6404 + def test_getLinkWin32APIExistingMethod(236,6813 + def test_getLinkWin32APIUnknown(255,7446 + +venv/lib/python2.7/site-packages/twisted/python/test/test_htmlizer.py,83 +class FilterTests(14,233 + def test_empty(18,327 + def test_variable(31,717 + +venv/lib/python2.7/site-packages/twisted/python/test/test_constants.py,4717 +class NamedConstantTests(22,460 + def setUp(27,628 + class foo(31,742 + def test_name(36,816 + def test_representation(46,1121 + def test_equality(56,1471 + def test_nonequality(66,1747 + def test_hash(79,2151 +class _ConstantsTestsMixin(93,2627 + def _notInstantiableTest(98,2766 + def _initializedOnceTest(110,3178 +class NamesTests(131,3891 + def setUp(136,4062 + class METHOD(142,4336 + def test_notInstantiable(157,4695 + def test_symbolicAttributes(165,4914 + def test_withoutOtherAttributes(177,5367 + def test_representation(185,5632 + def test_lookupByName(193,5916 + def test_notLookupMissingByName(201,6143 + def test_name(212,6628 + def test_attributeIdentity(220,6829 + def test_iterconstants(228,7089 + def test_attributeIterconstantsIdentity(240,7490 + def test_iterconstantsIdentity(252,7964 + def test_initializedOnce(265,8430 + def test_asForeignClassAttribute(273,8647 + class Another(278,8858 + def test_asForeignClassAttributeViaInstance(284,8990 + class Another(290,9251 + def test_notAsAlternateContainerAttribute(296,9385 + def defineIt(302,9644 + class AnotherNames(303,9668 +class ValuesTests(314,9956 + def setUp(319,10150 + class STATUS(325,10426 + def test_notInstantiable(332,10571 + def test_symbolicAttributes(340,10791 + def test_withoutOtherAttributes(350,11140 + def test_representation(358,11406 + def test_lookupByName(367,11698 + def test_notLookupMissingByName(375,11924 + def test_lookupByValue(385,12337 + def test_lookupDuplicateByValue(394,12646 + class TRANSPORT_MESSAGE(399,12862 + def test_notLookupMissingByValue(411,13219 + def test_name(421,13628 + def test_attributeIdentity(429,13821 + def test_iterconstants(437,14080 + def test_attributeIterconstantsIdentity(448,14436 + def test_iterconstantsIdentity(458,14806 + def test_initializedOnce(469,15181 +class _FlagsTestsMixin(478,15399 + def setUp(484,15582 + class FXF(490,15856 +class FlagsTests(507,16350 + def test_notInstantiable(512,16572 + def test_symbolicAttributes(520,16785 + def test_withoutOtherAttributes(533,17284 + def test_representation(541,17546 + def test_lookupByName(549,17826 + def test_notLookupMissingByName(557,18045 + def test_lookupByValue(567,18447 + def test_lookupDuplicateByValue(589,19178 + class TIMEX(594,19393 + def test_notLookupMissingByValue(604,19672 + def test_name(612,19933 + def test_attributeIdentity(620,20127 + def test_iterconstants(628,20382 + def test_attributeIterconstantsIdentity(640,20791 + def test_iterconstantsIdentity(653,21309 + def test_initializedOnce(667,21815 +class FlagConstantSimpleOrTests(676,22031 + def test_value(682,22325 + def test_name(694,22701 + def test_representation(703,22989 + def test_iterate(712,23309 + def test_membership(728,23822 + def test_truthiness(738,24120 +class FlagConstantSimpleAndTests(748,24396 + def test_value(754,24703 + def test_name(766,25136 + def test_representation(778,25561 +class FlagConstantSimpleExclusiveOrTests(791,26024 + def test_value(797,26341 + def test_name(811,26826 + def test_representation(823,27266 +class FlagConstantNegationTests(836,27739 + def test_value(842,28042 + def test_name(864,28683 + def test_representation(874,29003 +class OrderedConstantsTests(885,29356 + def test_orderedNameConstants_lt(892,29633 + def test_orderedNameConstants_le(900,29873 + def test_orderedNameConstants_gt(909,30181 + def test_orderedNameConstants_ge(917,30421 + def test_orderedValueConstants_lt(926,30729 + def test_orderedValueConstants_le(935,31043 + def test_orderedValueConstants_gt(945,31428 + def test_orderedValueConstants_ge(954,31742 + def test_orderedFlagConstants_lt(964,32127 + def test_orderedFlagConstants_le(973,32445 + def test_orderedFlagConstants_gt(983,32844 + def test_orderedFlagConstants_ge(992,33162 + def test_orderedDifferentConstants_lt(1002,33561 + def test_orderedDifferentConstants_le(1013,33891 + def test_orderedDifferentConstants_gt(1024,34221 + def test_orderedDifferentConstants_ge(1035,34551 + def test_orderedDifferentContainers_lt(1046,34881 + def test_orderedDifferentContainers_le(1057,35232 + def test_orderedDifferentContainers_gt(1068,35583 + def test_orderedDifferentContainers_ge(1079,35934 +class NamedLetters(1091,36286 +class MoreNamedLetters(1100,36413 +class ValuedLetters(1109,36551 +class PizzaToppings(1123,37026 +class ConstantsDeprecationTests(1136,37487 + def test_constantsDeprecation(1140,37593 + +venv/lib/python2.7/site-packages/twisted/python/test/test_tzhelper.py,241 +def mktime(27,656 +def setTZ(48,1089 +def addTZCleanup(69,1397 + def resetTZ(79,1676 +class FixedOffsetTimeZoneTests(84,1718 + def test_tzinfo(89,1815 + def testForTimeZone(99,2147 + def timeDeltaFromOffset(120,2914 + +venv/lib/python2.7/site-packages/twisted/python/test/test_versions.py,680 +class VersionsTests(19,405 + def test_versionComparison(21,437 + def test_versionComparisonCaseInsensitive(36,895 + def test_comparingPrereleasesWithReleases(52,1434 + def test_comparingPrereleases(63,1785 + def test_infComparison(78,2318 + def test_disallowBuggyComparisons(87,2488 + def test_notImplementedComparisons(97,2822 + def test_repr(107,3151 + def test_reprWithPrerelease(116,3423 + def test_str(125,3787 + def test_strWithPrerelease(134,4053 + def testShort(142,4322 + def test_getVersionString(146,4418 + def test_getVersionStringWithPrerelease(155,4688 + def test_base(164,4959 + def test_baseWithPrerelease(171,5156 + +venv/lib/python2.7/site-packages/twisted/python/test/test_win32.py,147 +class CommandLineQuotingTests(12,187 + def test_argWithoutSpaces(17,285 + def test_argWithSpaces(25,533 + def test_emptyStringArg(33,794 + +venv/lib/python2.7/site-packages/twisted/python/test/test_appdirs.py,87 +class AppdirsTests(18,293 + def test_moduleName(26,445 + def test_manual(36,789 + +venv/lib/python2.7/site-packages/twisted/python/test/test_url.py,1934 +class TestURL(81,2472 + def assertUnicoded(86,2547 + def assertURL(104,3221 + def test_initDefaults(132,4022 + def check(136,4134 + def test_init(145,4380 + def test_initPercent(160,4935 + def test_repr(173,5362 + def test_fromText(187,5864 + def test_roundtrip(196,6098 + def test_equality(221,6996 + def test_fragmentEquality(236,7494 + def test_child(246,7862 + def test_multiChild(266,8645 + def test_childInitRoot(276,8974 + def test_sibling(286,9301 + def test_click(305,9971 + def test_clickRFC3986(341,11683 + def test_clickSchemeRelPath(350,11995 + def test_cloneUnchanged(359,12319 + def test_clickCollapse(378,12912 + def test_queryAdd(414,14520 + def test_querySet(447,15851 + def test_queryRemove(468,16655 + def test_parseEqualSignInParamValue(479,16981 + def test_empty(493,17596 + def test_justQueryText(500,17756 + def test_identicalEqual(508,17987 + def test_similarEqual(516,18166 + def test_differentNotEqual(525,18414 + def test_otherTypesNotEqual(536,18783 + def test_identicalNotUnequal(547,19161 + def test_similarNotUnequal(555,19391 + def test_differentUnequal(564,19683 + def test_otherTypesUnequal(573,19973 + def test_asURI(582,20277 + def test_asIRI(604,21349 + def test_badUTF8AsIRI(625,22293 + def test_alreadyIRIAsIRI(641,22940 + def test_alreadyURIAsURI(655,23563 + def test_userinfo(665,23889 + def test_portText(686,24731 + def test_mailto(695,25035 + def test_queryIterable(706,25481 + def test_pathIterable(715,25779 + def test_invalidArguments(724,26045 + class Unexpected(734,26517 + def __str__(735,26551 + def __repr__(737,26613 + def assertRaised(740,26749 + def check(746,27023 + def test_technicallyTextIsIterableBut(788,28840 +class URLDeprecationTests(803,29334 + def test_urlDeprecation(807,29439 + +venv/lib/python2.7/site-packages/twisted/python/test/test_shellcomp.py,1627 +class ZshScriptTestMeta(20,417 + def __new__(24,501 + def makeTest(25,543 + def runTest(26,587 +class ZshScriptTestMixin(41,1071 +def test_genZshFunction(62,1825 + class to 72,2182 +class ZshTests(130,4250 + def test_accumulateMetadata(134,4335 + def test_mutuallyExclusiveCornerCase(159,5341 + class OddFighterAceOptions(165,5582 + def test_accumulateAdditionalOptions(193,6898 + def test_verifyZshNames(209,7494 + class TmpOptions(214,7636 + class TmpOptions2(221,7921 + def test_zshCode(231,8310 + def test_zshCodeWithSubs(244,8798 + def test_incompleteCommandLine(257,9320 + def test_incompleteCommandLine_case2(275,9983 + def test_incompleteCommandLine_case3(298,10812 + def test_skipSubcommandList(318,11546 + def test_poorlyDescribedOptMethod(334,12108 + def test_brokenActions(348,12565 + class BrokenActions(353,12731 + def test_optMethodsDontOverride(366,13185 + class Options(371,13369 + def opt_flag(375,13519 + def opt_param(378,13593 +class EscapeTests(389,13907 + def test_escape(390,13945 +class CompleterNotImplementedTests(404,14233 + def test_unknownShell(411,14469 +class FighterAceServerOptions(422,14761 +class FighterAceOptions(433,15110 + def opt_silly(474,16838 +class FighterAceExtendedOptions(480,16932 + def opt_nocrash(497,17617 + def opt_difficulty(503,17717 +def _accuracyAction(510,17820 +class SimpleProgOptions(516,17987 + def opt_X(544,19065 +class SimpleProgSub1(551,19181 +class SimpleProgSub2(556,19270 +class SimpleProgWithSubcommands(561,19359 + +venv/lib/python2.7/site-packages/twisted/python/test/test_dist3.py,94 +class ModulesToInstallTests(18,329 + def test_exist(22,419 + def test_notexist(37,1078 + +venv/lib/python2.7/site-packages/twisted/python/test/test_release.py,2827 +class ExternalTempdirTestCase(79,1899 + def mktemp(84,2100 +def _gitConfig(94,2298 +def _gitInit(111,2838 +def genVersion(124,3131 +class StructureAssertingMixin(136,3453 + def createStructure(142,3668 + def assertStructure(170,4840 +class ProjectTests(200,6109 + def assertProjectsEqual(205,6227 + def makeProject(218,6843 + def makeProjects(241,7778 + def test_getVersion(253,8137 + def test_repr(262,8387 + def test_findTwistedStyleProjects(271,8622 +class UtilityTests(287,9224 + def test_chdir(292,9341 + def chAndBreak(300,9569 + def test_replaceInFile(311,9834 +def doNotFailOnNetworkError(334,10607 + def wrapper(346,11016 +class DoNotFailTests(359,11410 + def test_skipsOnAssertionError(364,11501 + def inner(371,11770 + def test_doesNotSkipOnDifferentError(380,11982 + def inner(386,12200 +class APIBuilderTests(396,12382 + def test_build(403,12529 + def test_buildWithPolicy(465,14730 + def test_buildWithDeprecated(515,16593 + def test_apiBuilderScriptMainRequiresTwoArguments(585,19182 + def test_apiBuilderScriptMain(596,19624 +class FilePathDeltaTests(609,20025 + def test_filePathDeltaSubdir(614,20110 + def test_filePathDeltaSiblingDir(623,20413 + def test_filePathNoCommonElements(633,20738 + def test_filePathDeltaSimilarEndElements(643,21098 +class SphinxBuilderTests(654,21505 + def setUp(693,22770 + def createFakeSphinxProject(706,23156 + def verifyFileExists(718,23674 + def test_build(756,24843 + def test_main(765,25079 + def test_warningsAreErrors(774,25331 + def verifyBuilt(793,26018 + def test_failToBuild(809,26581 +class CommandsTestMixin(821,26917 + def setUp(825,27048 + def test_ensureIsWorkingDirectoryWithWorkingDirectory(829,27117 + def test_ensureIsWorkingDirectoryWithNonWorkingDirectory(839,27500 + def test_statusClean(849,27903 + def test_statusNotClean(858,28210 + def test_remove(868,28583 + def test_export(884,29137 +class GitCommandTest(909,30069 + def makeRepository(918,30292 + def commitRepository(932,30643 +class RepositoryCommandDetectionTest(945,31075 + def setUp(952,31296 + def test_git(956,31364 + def test_unknownRepository(965,31606 +class VCSCommandInterfaceTests(975,31921 + def test_git(979,32044 +class CheckNewsfragmentScriptTests(987,32207 + def setUp(993,32336 + def test_noArgs(1010,32937 + def test_diffFromTrunkNoNewsfragments(1022,33283 + def test_noChangeFromTrunk(1047,34132 + def test_trunk(1066,34696 + def test_release(1081,35107 + def test_releaseWithNewsfragments(1107,35978 + def test_onlyQuotes(1138,37034 + def test_newsfragmentAdded(1165,37901 + def test_topfileButNotFragmentAdded(1195,38915 + def test_newsfragmentAddedButWithOtherNewsfragments(1226,39959 + +venv/lib/python2.7/site-packages/twisted/python/test/test_sendmsg.py,2178 +class _FDHolder(60,1628 + def __init__(64,1744 + def fileno(67,1795 + def close(73,1904 + def __del__(81,2090 + def __enter__(92,2412 + def __exit__(95,2458 +def _makePipe(99,2537 +class ExitedWithStderr(108,2699 + def __str__(113,2790 +class StartStopProcessProtocol(124,3046 + def __init__(139,3610 + def connectionMade(146,3756 + def outReceived(150,3834 + def errReceived(154,3897 + def processEnded(158,3960 +def _spawn(167,4196 +class BadList(195,4975 + def __iter__(210,5575 +class WorseList(225,6043 + def __iter__(232,6250 + class BadIterator(237,6399 + def next(238,6434 +class CModuleSendmsgTests(244,6559 + def setUp(254,6842 + def tearDown(261,6982 + def test_sendmsgBadArguments(269,7130 + def test_badAncillaryIter(295,8201 + def test_badAncillaryNext(312,8788 + def test_sendmsgBadAncillaryItem(323,9174 + def test_syscallError(360,10579 + def test_syscallErrorWithControlMessage(371,10969 + def test_roundtrip(383,11405 + def test_roundtripEmptyAncillary(396,11771 + def test_flags(407,12159 + def test_wrongTypeAncillary(430,13043 + def test_sendSubProcessFD(443,13539 + def test_sendmsgTwoAncillaryDoesNotSegfault(467,14458 +class CModuleRecvmsgTests(484,14977 + def test_badArguments(491,15162 + def test_cmsgSpaceOverflow(516,16089 + def test_syscallError(524,16355 + def test_flags(535,16729 +class CModuleGetSocketFamilyTests(551,17250 + def _socket(559,17482 + def test_badArguments(570,17825 + def test_syscallError(580,18171 + def test_inet(591,18553 + def test_inet6(599,18811 + def test_unix(607,19074 +class SendmsgTests(618,19402 + def setUp(625,19567 + def tearDown(632,19707 + def test_syscallError(640,19855 + def test_syscallErrorWithControlMessage(650,20211 + def test_roundtrip(661,20613 + def test_shortsend(676,21046 + def test_roundtripEmptyAncillary(692,21708 + def test_flags(703,22074 + def test_sendSubProcessFD(727,22975 +class GetSocketFamilyTests(752,23877 + def _socket(759,24023 + def test_inet(770,24357 + def test_inet6(778,24625 + def test_unix(786,24898 + +venv/lib/python2.7/site-packages/twisted/python/test/test_runtime.py,697 +class PythonVersionTests(19,401 + def test_shortPythonVersion(24,506 +class PlatformTests(34,768 + def test_isKnown(43,1031 + def test_isVistaConsistency(52,1278 + def test_isMacOSXConsistency(64,1696 + def test_isLinuxConsistency(74,1986 + def test_isWinNT(84,2320 + def test_isWinNTDeprecated(99,2820 + def test_supportsThreads(111,3224 +class ForeignPlatformTests(128,3838 + def test_getType(133,3967 + def test_isMacOSX(145,4437 + def test_isLinux(156,4887 +class DockerPlatformTests(170,5473 + def test_noChecksOnLinux(175,5597 + def test_noCGroups(183,5825 + def test_cgroupsSuggestsDocker(192,6122 + def test_cgroupsSuggestsRealSystem(216,7275 + +venv/lib/python2.7/site-packages/twisted/python/test/cmodulepullpipe.py,19 +def recvfd(10,219 + +venv/lib/python2.7/site-packages/twisted/python/test/test_systemd.py,621 +class InheritedDescriptorsMixin(16,271 + def test_inheritedDescriptors(22,513 + def test_repeated(31,819 +class MemoryOnlyMixin(42,1109 + def getDaemon(48,1385 +class EnvironmentMixin(59,1769 + def initializeEnvironment(67,2154 + def getDaemon(78,2515 +class MemoryOnlyTests(90,2993 +class EnvironmentTests(98,3182 + def test_secondEnvironment(102,3358 + def test_mismatchedPID(113,3837 + def test_missingPIDVariable(123,4227 + def test_nonIntegerPIDVariable(134,4648 + def test_missingFDSVariable(144,5073 + def test_nonIntegerFDSVariable(155,5494 + def test_defaultEnviron(165,5929 + +venv/lib/python2.7/site-packages/twisted/python/test/test_deprecate.py,3813 +class _MockDeprecatedAttribute(45,1378 + def __init__(51,1542 + def get(55,1602 +class ModuleProxyTests(63,1701 + def _makeProxy(69,1969 + def test_getattrPassthrough(83,2372 + def test_getattrIntercept(94,2833 + def test_privateAttributes(107,3314 + def test_setattr(118,3712 + def test_repr(129,4066 +class DeprecatedAttributeTests(142,4491 + def setUp(148,4751 + def _getWarningString(154,4927 + def test_deprecatedAttributeHelper(164,5278 + def addStackLevel(179,5964 + def test_deprecatedAttribute(193,6410 + def test_wrappedModule(219,7471 +class ImportedModuleAttributeTests(251,8454 + def pathEntryTree(266,8858 + def makeSomeFiles(280,9515 + def simpleModuleEntry(303,10419 + def checkOneWarning(314,10837 + def test_deprecatedModule(329,11437 + def test_deprecatedModuleMultipleTimes(338,11745 +class WarnAboutFunctionTests(360,12733 + def setUp(365,12957 +def testFunction(378,13416 +def callTestFunction(383,13483 + def test_warning(404,14219 + def aFunc(410,14451 + def test_warningLineNumber(422,14887 + def assertSamePath(440,15688 + def test_renamedFile(455,16146 + def test_filteredWarning(491,17713 + def test_filteredOnceWarning(512,18504 +def dummyCallable(544,19821 +def dummyReplacementMethod(553,19931 +class DeprecationWarningsTests(562,20066 + def test_getDeprecationWarningString(563,20119 + def test_getDeprecationWarningStringWithFormat(576,20682 + def test_deprecateEmitsWarning(591,21430 + def addStackLevel(597,21659 + def test_deprecatedPreservesName(608,22124 + def test_getDeprecationDocstring(619,22534 + def test_deprecatedUpdatesDocstring(630,22876 + def localDummyCallable(636,23057 + def test_versionMetadata(653,23495 + def test_getDeprecationWarningStringReplacement(663,23820 + def test_getDeprecationWarningStringReplacementWithCallable(681,24597 +class DeprecatedClass(702,25480 +class ClassWithDeprecatedProperty(709,25599 + def someProperty(717,25789 + def someProperty(727,25966 +class DeprecatedDecoratorTests(735,26095 + def assertDocstring(740,26202 + def test_propertyGetter(757,26716 + def test_propertySetter(789,27909 + def test_class(810,28657 + def test_deprecatedReplacement(837,29678 + def test_deprecatedReplacementWithCallable(856,30434 +class AppendToDocstringTests(876,31272 + def test_appendToEmptyDocstring(883,31442 + def noDocstring(888,31581 + def test_appendToSingleLineDocstring(895,31750 + def singleLineDocstring(906,32212 + def test_appendToMultilineDocstring(918,32667 + def multiLineDocstring(927,32984 + def expectedDocstring(932,33095 +class MutualArgumentExclusionTests(945,33394 + def checkPassed(950,33513 + def test_passed_simplePositional(973,34283 + def func(978,34438 + def test_passed_tooManyArgs(983,34552 + def func(988,34697 + def test_passed_doublePassKeyword(993,34810 + def func(998,34985 + def test_passed_unspecifiedKeyword(1003,35094 + def func(1008,35287 + def test_passed_star(1013,35396 + def func(1018,35567 + def test_passed_starStar(1024,35715 + def func(1029,35876 + def test_passed_noDefaultValues(1035,36047 + def func(1040,36217 + def test_mutualExclusionPrimeDirective(1046,36381 + def func(1053,36662 + def test_mutualExclusionExcludesByKeyword(1061,36863 + def func(1067,37127 + def test_invalidParameterType(1073,37236 + class FakeSignature:FakeSignature1079,37470 + def __init__(1080,37499 + class FakeParameter:FakeParameter1083,37589 + def __init__(1084,37618 + def func(1088,37729 + class KeywordOnlyTests(1111,38450 + def test_notAvailable(1120,38761 + +venv/lib/python2.7/site-packages/twisted/python/test/test_fakepwd.py,901 +def findInvalidUID(26,404 +class UserDatabaseTestsMixin(54,1200 + def test_getpwuid(62,1599 + def test_noSuchUID(82,2398 + def test_getpwnam(90,2635 + def test_noSuchName(110,3444 + def test_recordLength(121,3804 + def test_recordIndexable(133,4252 +class UserDatabaseTests(156,5257 + def setUp(160,5363 + def getExistingUserInfo(168,5550 + def test_addUser(186,6132 +class PwdModuleTests(216,7182 + def setUp(227,7568 + def getExistingUserInfo(232,7671 +class ShadowDatabaseTestsMixin(247,8128 + def test_getspnam(255,8545 + def test_noSuchName(277,9424 + def test_recordLength(285,9663 + def test_recordIndexable(297,10050 +class ShadowDatabaseTests(324,11191 + def setUp(328,11303 + def getExistingUserInfo(336,11477 + def test_addUser(358,12225 +class SPwdModuleTests(392,13383 + def setUp(405,13878 + def getExistingUserInfo(409,13954 + +venv/lib/python2.7/site-packages/twisted/python/test/test_setup.py,1049 +class SetupTests(28,498 + def test_conditionalExtensions(33,574 + def test_win32Definition(55,1478 +class OptionalDependenciesTests(72,2036 + def test_distributeTakesExtrasRequire(77,2129 + def canonicalizeExtras(99,3052 + def test_extrasRequireDictContainsKeys(111,3409 + def test_extrasRequiresDevDeps(129,4217 + def test_extrasRequiresTlsDeps(144,4788 + def test_extrasRequiresConchDeps(156,5245 + def test_extrasRequiresSoapDeps(168,5661 + def test_extrasRequiresSerialDeps(179,5979 + def test_extrasRequiresHttp2Deps(190,6303 + def test_extrasRequiresAllNonPlatformDeps(200,6665 + def test_extrasRequiresMacosPlatformDeps(219,7465 + def test_extrasRequireMacOSXPlatformDeps(238,8238 + def test_extrasRequiresWindowsPlatformDeps(246,8513 +class FakeModule(266,9301 + def __init__(270,9408 + def __getattr__(280,9665 +class WithPlatformTests(298,10127 + def test_cpython(302,10253 + def test_other(310,10502 +class BuildPy3Tests(319,10754 + def test_find_package_modules(328,10936 + +venv/lib/python2.7/site-packages/twisted/python/test/test_inotify.py,881 +class INotifyTests(22,496 + def test_missingInit(29,666 + class libc:libc34,850 + def inotify_add_watch(35,870 + def inotify_rm_watch(37,932 + def test_missingAdd(42,1060 + class libc:libc47,1248 + def inotify_init(48,1268 + def inotify_rm_watch(50,1325 + def test_missingRemove(55,1453 + class libc:libc60,1643 + def inotify_init(61,1663 + def inotify_add_watch(63,1720 + def test_setTypes(68,1849 + class libc:libc74,2109 + def inotify_init(75,2129 + def inotify_rm_watch(79,2241 + def inotify_add_watch(83,2365 + def test_failedInit(100,2941 + class libc:libc105,3090 + def inotify_init(106,3110 + def test_failedAddWatch(112,3265 + class libc:libc117,3422 + def inotify_add_watch(118,3442 + +venv/lib/python2.7/site-packages/twisted/python/test/test_syslog.py,491 +class SyslogObserverTests(16,285 + def setUp(25,520 + def openlog(31,744 + def syslog(36,874 + def test_emitWithoutMessage(40,963 + def test_emitCustomPriority(49,1247 + def test_emitErrorPriority(62,1737 + def test_emitCustomPriorityOverridesError(75,2162 + def test_emitCustomFacility(89,2722 + def test_emitCustomSystem(102,3231 + def test_emitMessage(114,3642 + def test_emitMultilineMessage(127,4062 + def test_emitStripsTrailingEmptyLines(140,4484 + +venv/lib/python2.7/site-packages/twisted/python/test/modules_helpers.py,213 +class TwistedModulesMixin(16,282 + def replaceSysPath(22,466 + def cleanUpSysPath(27,645 + def replaceSysModules(33,789 + def cleanUpSysModules(38,987 + def pathEntryWithOnePackage(46,1215 + +venv/lib/python2.7/site-packages/twisted/python/test/test_urlpath.py,880 +class _BaseURLPathTests(14,289 + def test_partsAreBytes(18,386 + def test_strReturnsStr(29,792 + def test_mutabilityWithText(36,981 + def test_mutabilityWithBytes(70,2350 + def test_allAttributesAreBytes(77,2540 + def test_stringConversion(88,2933 + def test_childString(97,3219 + def test_siblingString(110,3806 + def test_parentString(128,4593 + def test_hereString(148,5493 + def test_doubleSlash(162,6084 + def test_pathList(174,6516 +class BytesURLPathTests(198,7369 + def setUp(202,7519 + def test_mustBeBytes(207,7653 + def test_withoutArguments(218,7954 + def test_partialArguments(227,8208 + def test_nonASCIIBytes(243,8819 +class StringURLPathTests(252,9094 + def setUp(257,9272 + def test_mustBeStr(262,9406 +class UnicodeURLPathTests(275,9746 + def setUp(280,9929 + def test_nonASCIICharacters(285,10064 + +venv/lib/python2.7/site-packages/twisted/python/test/test_util.py,4620 +class UtilTests(38,855 + def testUniq(40,892 + def testRaises(44,1041 + def test_uidFromNumericString(56,1422 + def test_uidFromUsernameString(64,1671 + def test_gidFromNumericString(76,2108 + def test_gidFromGroupnameString(84,2357 +class NameToLabelTests(97,2799 + def test_nameToLabel(102,2889 +class UntilConcludesTests(121,3399 + def test_uninterruptably(125,3514 + def f(132,3824 +class SwitchUIDTests(151,4368 + def setUp(160,4550 + def initgroups(167,4738 + def test_uid(174,4914 + def test_euid(184,5232 + def test_currentUID(194,5594 + def test_currentEUID(211,6303 +class MergeFunctionMetadataTests(229,7034 + def test_mergedFunctionBehavesLikeMergeTarget(234,7144 + def foo(242,7393 + def bar(245,7443 + def test_moduleIsMerged(253,7655 + def foo(258,7805 + def bar(261,7842 + def test_docstringIsMerged(269,8031 + def foo(274,8173 + def bar(279,8250 + def test_nameIsMerged(288,8431 + def foo(293,8563 + def bar(296,8600 + def test_instanceDictionaryIsMerged(303,8743 + def foo(309,8924 + def bar(314,8997 +class OrderedDictTests(326,9241 + def test_deprecated(330,9335 +class InsensitiveDictTests(348,9954 + def test_preserve(353,10057 + def test_noPreserve(382,10992 + def test_unicode(398,11525 + def test_bytes(408,11777 +class PasswordTestingProcessProtocol(419,12026 + def connectionMade(424,12238 + def childDataReceived(428,12336 + def processEnded(431,12423 +class GetPasswordTests(435,12515 + def test_stdin(439,12669 + def processFinished(458,13442 +class SearchUpwardsTests(467,13663 + def testSearchupwards(468,13708 +class IntervalDifferentialTests(491,14642 + def testDefault(492,14694 + def testSingle(497,14853 + def testPair(502,15008 + def testTriple(518,15670 + def testInsert(541,16659 + def testRemove(555,17170 +class Record(569,17627 + def __init__(575,17763 +class DifferentRecord(581,17834 + def __init__(587,17999 +class DerivedRecord(593,18070 +class EqualToEverything(600,18177 + def __eq__(604,18302 + def __ne__(608,18353 +class EqualToNothing(613,18406 + def __eq__(617,18525 + def __ne__(621,18577 +class EqualityTests(626,18629 + def test_identity(630,18716 + class Empty(635,18901 + def test_equality(645,19155 + def test_unequality(657,19648 + def test_differentClassesEquality(668,20040 + def test_differentClassesInequality(676,20277 + def test_inheritedClassesEquality(684,20513 + def test_inheritedClassesInequality(696,21044 + class if 700,21250 + def test_rightHandArgumentImplementsEquality(708,21567 + def test_rightHandArgumentImplementsUnequality(719,21999 +class RunAsEffectiveUserTests(731,22438 + def setUp(739,22652 + def _securedFunction(747,22926 + def test_forwardResult(757,23307 + def test_takeParameters(766,23563 + def test_takesKeyworkArguments(775,23817 + def _testUIDGIDSwitch(784,24097 + def test_root(802,24888 + def test_UID(812,25226 + def test_GID(822,25583 + def test_UIDGID(832,25924 +class InitGroupsTests(846,26474 + def test_initgroupsInStdlib(850,26566 + def mockInitgroups(857,26739 + def test_initgroupsNoneGid(869,27110 +class DeprecationTests(880,27415 + def test_getPluginDirs(884,27528 + def test_addPluginDir(899,28060 +class SuppressedWarningsTests(919,28767 + def test_runWithWarningsSuppressedFiltered(925,28960 + def test_runWithWarningsSuppressedUnfiltered(937,29474 + def test_passThrough(949,29977 + def test_noSideEffects(957,30201 +class FancyStrMixinTests(971,30654 + def test_sequenceOfStrings(976,30753 + class Foo(981,30964 + def test_formatter(988,31174 + class Foo(995,31480 + def test_override(1004,31770 + class Foo(1011,32108 + def test_fancybasename(1018,32326 + class Foo(1022,32470 + def test_repr(1027,32591 + class Foo(1031,32700 +class PadToTests(1040,32908 + def test_default(1045,32991 + def test_specificDefaultValue(1054,33217 + def test_padNonEmptyList(1063,33462 + def test_padToSmallerSize(1072,33713 + def test_alreadyPadded(1080,33951 + def test_alreadyPaddedCopies(1090,34250 + def test_makeCopy(1100,34556 +class ReplaceIfTests(1110,34766 + def test_replacesIfTrue(1115,34858 + def test(1121,35061 + def test_keepsIfFalse(1129,35271 + def test(1135,35481 + def test_multipleReplace(1141,35569 + def test(1149,35892 + def test_boolsOnly(1155,35979 + def test(1162,36195 + +venv/lib/python2.7/site-packages/twisted/python/test/test_zipstream.py,963 +class FileEntryMixin(17,272 + def getFileEntry(21,376 + def test_isatty(32,720 + def test_closed(40,937 + def test_readline(50,1219 + def test_next(61,1606 + def test_readlines(71,1965 + def test_iteration(79,2222 + def test_readWhole(88,2507 + def test_readPartial(97,2751 + def test_tell(109,3097 +class DeflatedZipFileEntryTests(123,3462 +class ZipFileEntryTests(131,3633 +class ZipstreamTests(139,3782 + def setUp(143,3878 + def makeZipFile(154,4214 + def test_invalidMode(169,4813 + def test_closedArchive(178,5128 + def test_invalidHeader(188,5454 + def test_filenameMismatch(207,6252 + def test_unsupportedCompression(227,7019 + def test_extraData(245,7708 + def test_unzipIterChunky(262,8299 + def test_unzipIterChunkyDirectory(281,9041 + def _unzipIterChunkyTest(306,10252 + def test_unzipIterChunkyStored(337,11455 + def test_chunkyDeflated(345,11696 + def _makebigfile(353,11934 + +venv/lib/python2.7/site-packages/twisted/python/text.py,226 +def stringyString(11,172 +def isMultiline(66,1860 +def endsInNewline(73,1986 +def greedyWrap(80,2116 +def removeLeadingBlanks(133,3602 +def removeLeadingTrailingBlanks(141,3748 +def splitQuoted(149,3945 +def strFile(184,4866 + +venv/lib/python2.7/site-packages/twisted/python/util.py,2368 +class InsensitiveDict:InsensitiveDict34,869 + def __init__(48,1337 + def __delitem__(58,1570 + def _lowerOrReturn(63,1664 + def __getitem__(70,1832 + def __setitem__(78,2022 + def has_key(87,2275 + def _doPreserve(97,2476 + def keys(105,2699 + def values(112,2827 + def items(119,2938 + def get(126,3058 + def setdefault(137,3317 + def update(147,3589 + def __repr__(155,3744 + def iterkeys(163,3962 + def itervalues(168,4066 + def iteritems(173,4154 + def popitem(178,4264 + def clear(184,4355 + def copy(189,4432 + def __len__(193,4506 + def __eq__(197,4561 +def uniquify(205,4742 +def padTo(220,5047 +def getPluginDirs(244,5608 +def addPluginDir(258,6145 +def sibpath(266,6344 +def _getpass(278,6689 +def getPassword(294,7013 +def println(344,8692 +def str_xor(353,8824 +def makeStatBar(358,8895 + def statBar(363,9119 +def spewer(387,10030 +def searchupwards(408,10664 +class LineLog:LineLog438,11526 + def __init__(445,11708 + def append(456,11991 + def str(464,12163 + def __str__(468,12227 + def __bytes__(472,12292 + def __getitem__(476,12369 + def clear(480,12448 +def raises(488,12557 +class IntervalDifferential(500,12772 + def __init__(519,13291 + def __iter__(532,13709 +class _IntervalDifferentialIterator(537,13811 + def __init__(538,13856 + def __next__(545,14009 + def addInterval(559,14418 + def removeInterval(568,14705 +class FancyStrMixin:FancyStrMixin582,15146 + def __str__(603,16081 +class FancyEqMixin:FancyEqMixin621,16663 + def __eq__(630,16868 + def __ne__(640,17219 + def initgroups(657,17555 + def initgroups(664,17720 +def switchUID(684,18335 +class SubclassableCStringIO(730,20051 + def __init__(736,20180 + def __iter__(741,20296 + def next(745,20360 + def close(749,20416 + def isatty(753,20474 + def seek(757,20534 + def tell(761,20612 + def read(765,20668 + def readline(769,20731 + def readlines(773,20814 + def truncate(777,20900 + def write(781,20979 + def writelines(785,21041 + def flush(789,21119 + def getvalue(793,21177 +def untilConcludes(798,21242 +def mergeFunctionMetadata(823,21838 +def nameToLabel(851,22455 +def uidFromString(898,23960 +def gidFromString(921,24569 +def runAsEffectiveUser(944,25181 +def runWithWarningsSuppressed(985,26477 + +venv/lib/python2.7/site-packages/twisted/python/usage.py,1510 +class UsageError(30,686 +class CoerceParameter(37,747 + def __init__(41,858 + def dispatch(50,1145 +class Options(66,1668 + def __init__(158,6024 + def opt_help(194,6912 + def opt_version(201,7047 + def parseOptions(211,7323 + def postOptions(279,10038 + def parseArgs(288,10309 + def _generic_flag(303,10890 + def _gather_flags(310,11141 + def _gather_parameters(337,11948 + def _gather_handlers(371,13028 + def __str__(446,15594 + def getSynopsis(449,15687 + def getUsage(473,16625 +class Completer(555,19192 + def __init__(565,19583 + def _getRepeatFlag(583,20288 + def _description(591,20447 + def _shellCode(598,20594 +class CompleteFiles(618,21286 + def __init__(622,21383 + def _description(627,21511 + def _shellCode(634,21724 +class CompleteDirs(643,22083 + def _shellCode(647,22160 +class CompleteList(655,22444 + def __init__(659,22536 + def _shellCode(663,22641 +class CompleteMultiList(672,22968 + def __init__(676,23096 + def _shellCode(680,23201 +class CompleteUsernames(690,23654 + def _shellCode(694,23729 +class CompleteGroups(702,24001 + def _shellCode(707,24103 +class CompleteHostnames(715,24377 + def _shellCode(719,24452 +class CompleteUserAtHost(727,24724 + def _shellCode(735,24948 +class CompleteNetInterfaces(752,25856 + def _shellCode(756,25949 +class Completions(764,26239 + def __init__(847,30175 +def docMakeChunks(857,30506 +def flagFunction(954,33430 +def portCoerce(993,34685 + +venv/lib/python2.7/site-packages/twisted/python/hook.py,321 +class HookError(40,1282 +def addPre(43,1373 +def addPost(51,1571 +def removePre(58,1770 +def removePost(67,2018 +def %(81,2330 +def _XXX(97,2720 +def PRE(104,2860 +def POST(108,2975 +def ORIG(112,3093 +def _addHook(117,3213 +def _removeHook(128,3505 +def _enhook(143,4054 + def newfunc(148,4207 +def _dehook(168,4865 + +venv/lib/python2.7/site-packages/twisted/python/_release.py,982 +def runCommand(42,1459 +class IVCSCommand(59,1997 + def ensureIsWorkingDirectory(63,2078 + def isStatusClean(72,2305 + def remove(82,2580 + def exportTo(91,2796 +class GitCommand(107,3331 + def ensureIsWorkingDirectory(112,3460 + def isStatusClean(128,3948 + def remove(142,4366 + def exportTo(153,4674 +def getRepositoryCommand(173,5484 +class Project(199,6290 + def __init__(209,6648 + def __repr__(213,6720 + def getVersion(218,6827 +def findTwistedProjects(236,7433 +def replaceInFile(251,7904 +class NoDocumentsFound(267,8341 +class APIBuilder(274,8441 + def build(280,8648 + def templatefile(316,9974 +class SphinxBuilder(346,11109 + def main(361,11618 + def build(377,12189 +def filePathDelta(421,13832 +class NotWorkingDirectory(450,14767 +class BuildAPIDocsScript(458,14921 + def buildAPIDocs(463,15029 + def main(485,15815 +class CheckNewsfragmentScript(501,16336 + def __init__(505,16455 + def main(509,16518 + +venv/lib/python2.7/site-packages/twisted/python/sendmsg.py,70 +def sendmsg(27,697 +def recvmsg(54,1587 +def getSocketFamily(94,3129 + +venv/lib/python2.7/site-packages/twisted/python/_pydoctor.py,528 +class HeadRequest(19,479 + def get_method(24,580 +class TwistedSphinxInventory(32,689 + def getLink(41,957 + def _getURLAsHEAD(108,3345 +def getDeprecated(128,3882 +class TwistedModuleVisitor(157,4927 + def visitClass(159,4998 + def visitFunction(170,5265 +def versionToUsefulObject(183,5570 +def deprecatedToUsefulText(193,5774 +class TwistedFunction(212,6325 + def docsources(214,6386 +class TwistedASTBuilder(224,6580 +class TwistedSystem(230,6717 + def __init__(237,6911 + def privacyClass(245,7269 + +venv/lib/python2.7/site-packages/twisted/python/components.py,1153 + class IFoo(14,391 + class Foo:Foo18,452 +def registerAdapter(50,1339 +def getAdapterFactory(74,2355 +def _addHook(89,2886 + def _hook(99,3184 +def _removeHook(109,3429 +def getRegistry(122,3781 +class Adapter:Adapter132,3999 + def __init__(154,4687 + def __conform__(159,4838 + def isuper(168,5128 +class Componentized:Componentized176,5295 + def __init__(190,5837 + def locateAdapterClass(193,5894 + def setAdapter(196,6026 + def addAdapter(203,6278 + def setComponent(213,6630 + def addComponent(219,6828 + def unsetComponent(241,7699 + def removeComponent(245,7881 + def getComponent(259,8332 + def __conform__(292,9795 +class ReprableComponentized(296,9879 + def __init__(297,9923 + def __repr__(300,9985 +def proxyForInterface(308,10147 + class MySpecializedProxy(316,10464 + def someInterfaceMethod(317,10521 + def __init__(332,11133 +class _ProxiedClassMethod(344,11511 + def __init__(360,11979 + def __call__(365,12140 +class _ProxyDescriptor(380,12602 + def __init__(394,13132 + def __get__(399,13286 + def __set__(410,13679 + def __delete__(418,13913 + +venv/lib/python2.7/site-packages/twisted/python/win32.py,204 +class FakeWindowsError(28,632 +def cmdLineQuote(42,944 +def quoteArguments(57,1481 +class _ErrorFormatter(70,1933 + def __init__(85,2542 + def fromEnvironment(90,2711 + def formatError(111,3354 + +venv/lib/python2.7/site-packages/twisted/python/shortcut.py,147 +def open(16,197 +class Shortcut:Shortcut29,390 + def __init__(34,448 + def load(66,1725 + def save(74,1928 + def __getattr__(84,2179 + +venv/lib/python2.7/site-packages/twisted/python/failure.py,1048 +class DefaultException(30,554 +def format_frames(35,601 +class NoCurrentExceptionError(86,2917 +def _Traceback(94,3111 +class _TracebackFrame(113,3717 + def __init__(119,3873 +class _Frame(132,4286 + def __init__(141,4552 +class _Code(154,4880 + def __init__(158,4978 +def _extraneous(166,5118 +class Failure(183,5478 + def __init__(217,6759 + def _extrapolate(380,12808 + def trap(412,14097 + def _ebFoo(422,14471 + def check(445,15230 + def raiseException(466,16034 + def throwExceptionIntoGenerator(480,16387 + def _findFailure(494,16941 + def __repr__(553,19294 + def __str__(559,19495 + def __getstate__(563,19587 + def cleanFailure(596,20478 + def getTracebackObject(609,20889 + def getErrorMessage(627,21516 + def getBriefTraceback(636,21774 + def getTraceback(642,21904 + def printTraceback(649,22146 + def printBriefTraceback(719,24783 + def printDetailedTraceback(726,24997 +def _safeReprVars(734,25239 +def _debuginit(752,25808 +def startDebugMode(773,26529 + +venv/lib/python2.7/site-packages/twisted/python/procutils.py,18 +def which(13,182 + +venv/lib/python2.7/site-packages/twisted/python/fakepwd.py,512 +class _UserRecord(14,314 + def __init__(20,527 + def __len__(30,800 + def __getitem__(34,842 +class UserDatabase(41,1026 + def __init__(49,1302 + def addUser(53,1353 + def getpwuid(89,2481 + def getpwnam(99,2723 + def getpwall(109,2973 +class _ShadowRecord(117,3094 + def __init__(123,3320 + def __len__(136,3700 + def __getitem__(140,3742 +class ShadowDatabase(148,3966 + def __init__(158,4260 + def addUser(162,4311 + def getspnam(206,5751 + def getspall(216,6013 + +venv/lib/python2.7/site-packages/twisted/python/finalize.py,168 +def callbackFactory(12,119 + def _cb(13,151 +def register(21,257 + def fin(28,450 + class Finalizeable:Finalizeable31,499 + def __finalizers__(36,576 + +venv/lib/python2.7/site-packages/twisted/python/formmethod.py,1515 +class FormException(18,331 + def __init__(21,421 +class InputError(26,539 +class Argument:Argument34,641 + def __init__(40,789 + def addHints(53,1208 + def getHint(56,1277 + def getShortDescription(59,1366 + def getLongDescription(62,1458 + def coerce(65,1569 +class String(70,1712 + def __init__(77,1820 + def coerce(84,2156 +class Text(93,2480 +class Password(98,2532 +class VerifiedPassword(103,2619 + def coerce(106,2730 +class Hidden(117,3171 +class Integer(124,3289 + def __init__(129,3374 + def coerce(139,3934 +class IntegerRange(148,4194 + def __init__(150,4224 + def coerce(157,4551 +class Float(168,4978 + def __init__(172,5029 + def coerce(183,5590 +class Choice(192,5816 + def __init__(202,6315 + def coerce(209,6648 +class Flags(217,6862 + def __init__(227,7336 + def coerce(232,7585 +class CheckGroup(246,8006 +class RadioGroup(250,8042 +class Boolean(254,8079 + def coerce(255,8104 +class File(263,8304 + def __init__(264,8326 + def coerce(269,8549 +def positiveInt(277,8744 +class Date(282,8825 + def __init__(287,8921 + def coerce(294,9222 +class Submit(317,9960 + def __init__(320,10042 + def coerce(327,10394 +class PresentationHint:PresentationHint336,10562 +class MethodSignature:MethodSignature344,10651 + def __init__(349,10722 + def getArgument(354,10820 + def method(359,10949 +class FormMethod:FormMethod365,11071 + def __init__(368,11136 + def getArgs(373,11311 + def call(376,11388 + +venv/lib/python2.7/site-packages/twisted/python/lockfile.py,250 +def unique(20,403 + def kill(53,1500 + def symlink(69,1986 + def readlink(98,2864 + def rmlink(115,3356 +class FilesystemLock(121,3465 + def __init__(143,4083 + def lock(147,4140 + def unlock(209,6786 +def isLocked(227,7261 + +venv/lib/python2.7/site-packages/twisted/python/reflect.py,1076 +def prefixedMethodNames(31,744 +def addMethodNamesToDict(52,1375 +def prefixedMethods(93,2982 +def accumulateMethods(113,3529 +def namedModule(155,5207 +def namedObject(168,5431 +def requireModule(180,5690 +class _NoModuleFound(200,6195 +class InvalidName(207,6292 +class ModuleNotFound(214,6408 +class ObjectNotFound(222,6552 +def _importAndCheckStack(230,6696 +def namedAny(261,8059 +def filenameToModuleName(325,10340 +def qual(363,11638 +def _determineClass(371,11765 +def _determineClassName(379,11863 +def _safeFormat(391,12075 +def safe_repr(415,12741 +def safe_str(431,13042 +class QueueMethod:QueueMethod455,13567 + def __init__(459,13651 + def __call__(462,13740 +def fullFuncName(467,13819 +def getClass(475,14062 +def accumulateClassDict(487,14319 + class Soy:Soy498,14745 + class Plant:Plant501,14807 + class Seaweed(504,14872 + class Lunch(507,14914 +def accumulateClassList(524,15346 +def isSame(536,15778 +def isLike(540,15818 +def modgrep(544,15858 +def isOfType(548,15940 +def findInstances(554,16101 + def objgrep(564,16496 + +venv/lib/python2.7/site-packages/twisted/python/_oldstyle.py,152 +def _replaceIf(18,361 + def decorator(29,718 + def wrapped(40,1046 +def passthru(49,1174 +def _ensureOldClass(61,1315 +def _oldStyle(85,2031 + +venv/lib/python2.7/site-packages/twisted/python/htmlizer.py,252 +class TokenPrinter:TokenPrinter17,335 + def __init__(26,547 + def printtoken(33,699 +class HTMLWriter:HTMLWriter72,1998 + def __init__(80,2154 + def write(87,2336 +class SmallerHTMLWriter(101,2756 +def filter(111,2982 +def main(124,3355 + +venv/lib/python2.7/site-packages/twisted/python/context.py,465 +class ContextTracker:ContextTracker27,548 + def handleRequest(39,1006 + def renderRequest(42,1116 + def renderHeader(46,1207 + def renderBody(49,1271 + def __init__(61,1856 + def callWithContext(65,1927 + def getContext(90,2725 +class ThreadedContextTracker(110,3250 + def __init__(111,3288 + def currentContext(114,3344 + def callWithContext(121,3528 + def getContext(124,3661 +def installContextTracker(128,3770 + +venv/lib/python2.7/site-packages/twisted/python/_inotify.py,110 +class INotifyError(17,318 +def init(24,445 +def add(35,668 +def remove(56,1282 +def initializeModule(84,2533 + +venv/lib/python2.7/site-packages/twisted/python/syslog.py,117 +class SyslogObserver:SyslogObserver23,480 + def __init__(37,911 + def emit(55,1556 +def startLogging(99,3207 + +venv/lib/python2.7/site-packages/twisted/python/threadable.py,372 +class DummyLock(14,301 + def __reduce__(19,408 +def unpickle_lock(24,472 +def _synchPre(33,637 +def _synchPost(43,925 +def _sync(48,986 + def sync(50,1035 +def synchronize(60,1225 +def init(76,1789 + class XLock(88,2094 + def __reduce__(89,2155 +def getThreadID(104,2555 +def isInIOThread(111,2682 +def registerAsIOThread(118,2825 + +venv/lib/python2.7/site-packages/twisted/python/rebuild.py,319 +def _isClassType(31,492 +class Sensitive(51,1092 + def needRebuildUpdate(61,1368 + def rebuildUpToDate(66,1467 + def latestVersionOf(70,1539 +def latestFunction(97,2446 +def latestClass(111,2807 +class RebuildError(138,3695 +def updateInstance(145,3824 +def __injectedgetattr__(153,3957 +def rebuild(167,4341 + +venv/lib/python2.7/site-packages/twisted/python/_shellcomp.py,863 +def shellComplete(35,1252 +class SubcommandAction(136,5481 + def _shellCode(137,5522 +class ZshBuilder(144,5720 + class will 150,5968 + def __init__(164,6505 + def write(170,6642 +class ZshSubcommandBuilder(197,7849 + def __init__(207,8293 + def write(212,8416 +class ZshArgumentsGenerator(226,8811 + class with 233,9116 + def __init__(278,11211 + def write(348,13567 + def writeHeader(359,13816 + def writeOptions(369,14111 + def writeExtras(380,14407 + def writeFooter(402,15351 + def verifyZshNames(410,15543 + def err(416,15775 + def excludeStr(432,16351 + def makeExcludesDict(475,17852 + def writeOpt(503,18883 + def getAction(550,20554 + def getDescription(567,21088 + def getShortOption(599,22197 + def addAdditionalOptions(608,22439 +def descrFromDoc(649,24177 +def escape(662,24506 + +venv/lib/python2.7/site-packages/twisted/python/deprecate.py,1508 + def badAPI(14,376 + class BadClass(21,526 + class OtherwiseUndeprecatedClass(35,933 + def badProperty(38,1038 + def badProperty(44,1169 +def _fullyQualifiedName(99,2762 +def _getReplacementString(132,3886 +def _getDeprecationDocstring(148,4343 +def _getDeprecationWarningString(169,4994 +def getDeprecationWarningString(206,6270 +def _appendToDocstring(242,7542 +def deprecated(269,8505 + def deprecationDecorator(288,9334 + def deprecatedFunction(296,9583 +def deprecatedProperty(312,10040 + class _DeprecatedProperty(338,11004 + def _deprecatedWrapper(343,11142 + def deprecatedFunction(345,11219 + def setter(354,11497 + def deprecationDecorator(358,11611 + def deprecatedFunction(376,12352 +def getWarningMethod(395,12900 +def setWarningMethod(403,13036 +class _InternalState(415,13288 + def __init__(423,13571 + def __getattribute__(427,13653 + def __setattr__(432,13817 +class _ModuleProxy(438,13981 + def __init__(465,15216 + def __repr__(472,15394 + def __setattr__(481,15672 + def __getattribute__(490,15909 +class _DeprecatedAttribute(521,17041 + def __init__(541,17669 + def get(552,17966 +def _deprecateAttribute(568,18617 +def deprecatedModuleAttribute(594,19490 +def warnAboutFunction(621,20369 +def _passedArgSpec(656,21535 +def _passedSignature(699,23049 +def _mutuallyExclusiveArguments(759,25400 + def function(771,25910 + def wrapper(776,26122 + def wrapped(787,26450 + +venv/lib/python2.7/site-packages/twisted/python/_setup.py,462 +class ConditionalExtension(155,4641 + def __init__(165,5061 +def _checkPythonVersion(195,5977 +def getSetupArgs(207,6352 + class my_build_ext(227,7203 +class BuildPy3(268,8251 + def find_package_modules(273,8400 +class build_ext_twisted(285,8713 + def prepare_extensions(291,8877 + def build_extensions(322,10122 + def _remove_conftest(330,10340 + def _compile_helper(338,10555 + def _check_header(353,10946 +def _checkCPython(363,11290 + +venv/lib/python2.7/site-packages/twisted/python/urlpath.py,447 +def _rereconstituter(19,449 +class URLPath(40,1121 + def __init__(59,1627 + def _reconstitute(69,1934 + def _fromURL(88,2561 + def pathList(111,3430 + def fromString(130,4008 + def fromBytes(151,4745 + def fromRequest(174,5472 + def _mod(187,5840 + def sibling(207,6499 + def child(224,7029 + def parent(240,7463 + def here(253,7814 + def click(266,8163 + def __str__(280,8582 + def __repr__(287,8739 + +venv/lib/python2.7/site-packages/twisted/python/roots.py,1037 +class NotSupportedError(18,368 +class Request:Request27,557 + def write(37,948 + def finish(42,1123 +class Entity:Entity50,1340 + def render(60,1711 +class Collection:Collection70,1968 + def __init__(77,2141 + def getStaticEntity(85,2334 + def getDynamicEntity(92,2539 + def getEntity(98,2712 + def putEntity(115,3260 + def delEntity(122,3460 + def storeEntity(129,3636 + def removeEntity(134,3846 + def listStaticEntities(139,4059 + def listDynamicEntities(146,4254 + def listEntities(153,4429 + def listStaticNames(160,4644 + def listDynamicNames(168,4835 + def listNames(176,5010 +class ConstraintViolation(184,5189 +class Constrained(189,5295 + def nameConstraint(192,5401 + def entityConstraint(200,5714 + def reallyPutEntity(208,6013 + def putEntity(211,6108 +class Locked(225,6573 + def lock(230,6681 + def entityConstraint(233,6726 +class Homogenous(237,6799 + def entityConstraint(246,7028 + def getNameType(253,7285 + def getEntityType(256,7335 + +venv/lib/python2.7/site-packages/twisted/python/zippath.py,818 +class ZipPath(32,842 + def __init__(37,957 + def __cmp__(57,1694 + def __repr__(64,1915 + def sep(73,2231 + def parent(83,2485 + def child(90,2690 + def sibling(107,3500 + def exists(111,3572 + def isdir(115,3641 + def isfile(119,3723 + def islink(123,3816 + def listdir(127,3861 + def splitext(139,4266 + def basename(149,4605 + def dirname(153,4685 + def open(159,4855 + def changed(164,5030 + def getsize(168,5068 + def getAccessTime(178,5338 + def getModificationTime(188,5605 + def getStatusChangeTime(201,6039 +class ZipArchive(212,6341 + def __init__(226,6914 + def child(253,8109 + def exists(263,8412 + def getAccessTime(270,8574 + def getModificationTime(277,8744 + def getStatusChangeTime(284,8927 + def __repr__(291,9111 + +venv/lib/python2.7/site-packages/twisted/python/log.py,1578 +class ILogContext:ILogContext40,1037 +class ILogObserver(50,1293 + def __call__(57,1528 +def callWithContext(83,2518 +def callWithLogger(90,2700 +def err(111,3208 +class Logger:Logger144,4393 + def logPrefix(148,4495 +class LogPublisher:LogPublisher159,4778 + def __init__(167,4892 + def observers(191,5971 + def _startLogging(201,6281 + def _stopLogging(217,6804 + def addObserver(227,7189 + def removeObserver(240,7584 + def msg(251,7913 + def _actually(294,9261 + def decorate(309,9796 + def addObserver(321,10120 + def removeObserver(333,10396 + def msg(345,10709 + def showwarning(360,11121 +def _safeFormat(369,11281 +def textFromEventDict(418,12940 +class _GlobalStartStopMixIn:_GlobalStartStopMixIn461,14555 + def start(466,14662 + def stop(473,14776 +class FileLogObserver(481,14892 + def __init__(491,15149 + def getTimezoneOffset(497,15260 + def formatTime(512,15755 + def emit(544,16911 +class PythonLoggingObserver(567,17603 + def __init__(577,18007 + def emit(585,18236 +class StdioOnnaStick:StdioOnnaStick600,18703 + def __init__(616,19150 + def close(624,19365 + def fileno(628,19401 + def flush(632,19443 + def read(636,19479 + def write(645,19625 + def writelines(655,19936 +def startLogging(663,20159 +def startLoggingWithObserver(677,20484 +class NullFile:NullFile689,20804 + def read(695,20904 + def write(701,20970 + def flush(710,21102 + def close(716,21169 +def discardLogs(723,21237 +class DefaultObserver(743,21829 + def emit(752,22087 + +venv/lib/python2.7/site-packages/twisted/python/modules.py,1747 +def _isPythonIdentifier(89,2996 +def _isPackagePath(104,3365 +class _ModuleIteratorHelper:_ModuleIteratorHelper113,3611 + def iterModules(120,3835 + def walkModules(176,6425 + def _subModuleName(188,6891 + def _packagePaths(195,7091 + def _getEntry(203,7304 + def __getitem__(213,7525 + def __iter__(235,8293 +class PythonAttribute:PythonAttribute246,8693 + def __init__(258,9086 + def __repr__(273,9620 + def isLoaded(276,9695 + def load(286,10028 + def iterAttributes(295,10278 +class PythonModule(299,10438 + def __init__(312,10812 + def _getEntry(328,11342 + def __repr__(331,11398 + def isLoaded(338,11563 + def iterAttributes(347,11811 + def isPackage(367,12675 + def load(374,12877 + def __eq__(398,13777 + def __ne__(406,13995 + def walkModules(414,14218 + def _subModuleName(419,14424 + def _packagePaths(425,14581 +class PathEntry(447,15342 + def __init__(456,15626 + def _getEntry(463,15827 + def __repr__(466,15873 + def _packagePaths(469,15948 +class IPathImportMapper(472,16006 + def mapPath(477,16159 +class _DefaultMapImpl:_DefaultMapImpl491,16529 + def mapPath(493,16610 +class _ZipMapImpl:_ZipMapImpl499,16757 + def __init__(501,16849 + def mapPath(504,16917 +def _defaultSysPathFactory(531,17909 +class PythonPath:PythonPath541,18124 + def __init__(561,18814 + def _getSysPath(618,21380 + def _findEntryPathString(626,21574 + def _smartPath(658,23044 + def iterEntries(678,23745 + def __getitem__(689,24017 + def __contains__(729,25379 + def __repr__(743,25743 + def iterModules(749,25931 + def walkModules(757,26151 +def walkModules(768,26524 +def iterModules(776,26768 +def getModule(785,27017 + +venv/lib/python2.7/site-packages/twisted/python/_textattributes.py,901 +class _Attribute(29,855 + def __init__(43,1251 + def __repr__(47,1304 + def __getitem__(51,1391 + def serialize(60,1646 +class _NormalAttr(87,2635 + def serialize(91,2720 +class _OtherAttr(97,2874 + def __init__(112,3252 + def __neg__(118,3401 + def serialize(124,3557 +class _ColorAttr(130,3754 + def __init__(141,3980 + def serialize(147,4111 +class _ForegroundColorAttr(153,4302 + def __init__(157,4390 +class _BackgroundColorAttr(162,4479 + def __init__(166,4567 +class _ColorAttribute(171,4656 + def __init__(185,5052 + def __getattr__(190,5149 +class CharacterAttributesMixin(198,5311 + def __getattr__(205,5648 +class DefaultFormattingState(214,5854 + def copy(224,6062 + def _withAttribute(233,6229 + def toVT102(246,6575 +class _FormattingStateMixin(258,6864 + def copy(262,7002 + def _withAttribute(268,7125 +def flatten(279,7393 + +venv/lib/python2.7/site-packages/twisted/python/compat.py,1016 +def _shouldEnableNewStyle(61,1260 +def currentframe(81,1810 +def inet_pton(100,2342 +def inet_ntop(163,4417 +def execfile(231,6229 + def cmp(253,6894 +def comparable(269,7201 + def __eq__(283,7603 + def __ne__(290,7741 + def __lt__(297,7879 + def __le__(304,8016 + def __gt__(311,8154 + def __ge__(318,8291 +def ioType(343,8693 +def nativeString(404,10999 +def _matchingString(430,11776 + def reraise(463,13147 + def iterbytes(492,13941 + def intToBytes(497,14060 + def lazyByteSlice(501,14127 + def networkString(522,14751 + def iterbytes(527,14929 + def intToBytes(531,14994 + def networkString(536,15071 + def iteritems(616,17171 + def itervalues(620,17220 + def items(624,17271 + def iteritems(631,17379 + def itervalues(635,17432 + def items(639,17487 +def _keys(669,17934 +def bytesEnviron(683,18125 +def _constructMethod(703,18578 +def _bytesChr(746,19638 +def _coercedUnicode(769,19973 +def _bytesRepr(804,20938 +def _get_async_param(838,21657 + +venv/lib/python2.7/site-packages/twisted/python/runtime.py,400 +def shortPythonVersion(16,282 +class Platform:Platform42,664 + def __init__(51,892 + def isKnown(59,1161 + def getType(69,1385 + def isMacOSX(79,1561 + def isWinNT(89,1799 + def isWindows(107,2398 + def isVista(118,2641 + def isLinux(131,3020 + def isDocker(141,3265 + def _supportsSymlinks(170,4316 + def supportsThreads(197,5389 + def supportsINotify(211,5733 + +venv/lib/python2.7/site-packages/twisted/python/release.py,134 +class DirectoryExists(21,289 +class DirectoryDoesntExist(29,394 +class CommandFailed(37,508 +def sh(44,563 +def runChdirSafe(62,1045 + +venv/lib/python2.7/site-packages/twisted/python/_appdirs.py,29 +def getDataDirectory(17,307 + +venv/lib/python2.7/site-packages/twisted/python/systemd.py,121 +class ListenFDs(19,370 + def __init__(37,1036 + def fromEnvironment(46,1274 + def inheritedDescriptors(85,2682 + +venv/lib/python2.7/site-packages/twisted/python/logfile.py,879 +class BaseLogFile:BaseLogFile22,404 + def __init__(29,535 + def fromFullPath(48,1207 + def shouldRotate(58,1536 + def _openFile(66,1714 + def write(94,2574 + def flush(109,2971 + def close(116,3069 + def reopen(127,3278 + def getCurrentLog(139,3653 +class LogFile(146,3797 + def __init__(152,3938 + def _openFile(174,4835 + def shouldRotate(178,4935 + def getLog(184,5123 + def write(193,5432 + def rotate(200,5590 + def listLogs(220,6319 + def __getstate__(235,6742 +class DailyLogFile(244,6900 + def _openFile(247,7014 + def shouldRotate(251,7135 + def toDate(255,7273 + def suffix(265,7674 + def getLog(273,7967 + def write(282,8365 + def rotate(290,8688 + def __getstate__(305,9212 +class LogReader:LogReader314,9389 + def __init__(317,9439 + def readLines(326,9664 + def close(339,10035 + +venv/lib/python2.7/site-packages/twisted/python/zipstream.py,654 +class ChunkingZipFile(18,420 + def readfile(24,598 +class _FileEntry(70,2230 + def __init__(93,3068 + def isatty(104,3373 + def close(111,3501 + def readline(120,3659 + def __next__(132,3900 + def readlines(146,4236 + def xreadlines(153,4353 + def __iter__(160,4463 + def __enter__(167,4571 + def __exit__(171,4618 +class ZipFileEntry(176,4698 + def __init__(181,4816 + def tell(186,4953 + def read(190,5005 +class DeflatedZipFileEntry(204,5403 + def __init__(209,5524 + def tell(217,5764 + def read(221,5820 +def countZipFileChunks(262,7220 +def countFileChunks(274,7557 +def unzipIterChunky(292,8040 + +venv/lib/python2.7/site-packages/twisted/python/filepath.py,3033 +def _stub_islink(49,1448 +class IFilePath(68,1795 + def child(98,3072 + def open(110,3542 + def changed(118,3741 + def getsize(123,3860 + def getModificationTime(131,4078 + def getStatusChangeTime(139,4270 + def getAccessTime(147,4472 + def exists(155,4661 + def isdir(164,4864 + def isfile(172,5065 + def children(180,5273 + def basename(188,5522 + def parent(197,5755 + def sibling(202,5875 +class InsecurePath(213,6207 +class LinkError(220,6332 +class UnlistableError(228,6504 + def __init__(239,6959 +class _WindowsUnlistableError(250,7241 +def _secureEnoughString(262,7615 +class AbstractFilePath(277,8048 + def getContent(287,8393 + def parents(298,8630 + def children(314,9125 + def walk(381,12380 + def sibling(412,13700 + def descendant(426,14062 + def segmentsFrom(444,14554 + def __hash__(476,15699 + def getmtime(484,15904 + def getatime(491,16055 + def getctime(498,16194 +class RWX(506,16346 + def __init__(524,16915 + def __repr__(530,17066 + def shorthand(535,17197 +class Permissions(554,17704 + def __init__(573,18166 + def __repr__(582,18470 + def shorthand(587,18594 +class _SpecialNoValue(600,18976 +def _asFilesystemBytes(610,19158 +def _asFilesystemText(631,19730 +def _coerceToFilesystemEncoding(653,20310 +class FilePath(670,20862 + def __init__(731,23858 + def __getstate__(740,24128 + def sep(752,24415 + def _asBytesPath(762,24664 + def _asTextPath(774,25017 + def asBytesMode(786,25371 + def asTextMode(800,25803 + def _getPathAsSameTypeAs(814,26237 + def child(828,26684 + def preauthChild(863,28053 + def childSearchPreauth(883,28797 + def siblingExtensionSearch(903,29454 + def realpath(934,30605 + def siblingExtension(960,31607 + def linkTo(974,32041 + def open(990,32589 + def restat(1016,33545 + def changed(1036,34228 + def chmod(1045,34406 + def getsize(1057,34738 + def getModificationTime(1072,35115 + def getStatusChangeTime(1086,35451 + def getAccessTime(1100,35797 + def getInodeNumber(1114,36130 + def getDevice(1135,36788 + def getNumberOfHardLinks(1159,37515 + def getUserID(1185,38416 + def getGroupID(1205,38925 + def getPermissions(1225,39421 + def exists(1241,39879 + def isdir(1259,40317 + def isfile(1276,40743 + def isBlockDevice(1293,41217 + def isSocket(1310,41647 + def islink(1327,42061 + def isabs(1342,42639 + def listdir(1354,42877 + def splitext(1369,43371 + def __repr__(1381,43730 + def touch(1385,43801 + def remove(1401,44251 + def makedirs(1416,44744 + def globChildren(1437,45352 + def basename(1457,46091 + def dirname(1469,46481 + def parent(1481,46915 + def setContent(1492,47222 + def __cmp__(1545,49808 + def createDirectory(1551,49960 + def requireCreate(1562,50189 + def create(1575,50514 + def temporarySibling(1590,51020 + def copyTo(1617,52088 + def moveTo(1690,55723 + def statinfo(1737,57687 + +venv/lib/python2.7/site-packages/twisted/python/randbytes.py,311 + def _fromhex(20,439 +class SecureRandomNotAvailable(24,507 +class SourceNotAvailable(31,635 +class RandomFactory(38,770 + def _osUrandom(53,1187 + def secureRandom(63,1467 + def _randBits(92,2387 + def _randModule(105,2787 + def _randModule(113,3066 + def insecureRandom(123,3325 + +venv/lib/python2.7/site-packages/twisted/python/_tzhelper.py,206 +class FixedOffsetTimeZone(18,268 + def __init__(29,613 + def fromSignHoursMinutes(44,1016 + def fromLocalTimeStamp(74,2027 + def utcoffset(92,2522 + def dst(99,2652 + def tzname(107,2844 + +venv/lib/python2.7/site-packages/twisted/python/monkey.py,190 +class MonkeyPatcher(9,176 + def __init__(15,327 + def addPatch(25,658 + def _alreadyPatched(35,1003 + def patch(46,1288 + def restore(57,1676 + def runWithPatches(66,1907 + +venv/lib/python2.7/site-packages/twisted/cred/test/test_simpleauth.py,363 +class UsernamePasswordTests(16,431 + def test_initialisation(20,521 + def test_correctPassword(30,831 + def test_wrongPassword(39,1139 + def test_interface(48,1460 +class UsernameHashedPasswordTests(56,1653 + def test_initialisation(60,1755 + def test_correctPassword(70,2073 + def test_wrongPassword(79,2393 + def test_interface(88,2726 + +venv/lib/python2.7/site-packages/twisted/cred/test/test_cred.py,1729 +class ITestable(27,583 +class TestAvatar(35,684 + def __init__(39,745 + def login(45,863 + def logout(50,948 +class Testable(56,1027 +class IDerivedCredentials(66,1192 +class DerivedCredentials(72,1307 + def __init__(74,1342 + def checkPassword(79,1454 +class TestRealm(85,1565 + def __init__(89,1630 + def requestAvatar(93,1682 +class CredTests(105,2032 + def setUp(110,2173 + def test_listCheckers(118,2448 + def test_basicLogin(130,2908 + def test_derivedInterface(151,3627 + def test_failedLoginPassword(172,4332 + def test_failedLoginName(183,4765 +class OnDiskDatabaseTests(195,5192 + def setUp(202,5349 + def test_getUserNonexistentDatabase(209,5535 + def testUserLookup(219,5855 + def testCaseInSensitivity(226,6101 + def testRequestAvatarId(232,6315 + def testRequestAvatarId_hashed(241,6679 +class HashedPasswordOnDiskDatabaseTests(252,7074 + def setUp(259,7245 + def hash(271,7613 + def testGoodCredentials(275,7714 + def testGoodCredentials_login(283,8030 + def testBadCredentials(292,8429 + def testHashedCredentials(301,8805 + def _assertFailures(310,9201 +class CheckersMixin(321,9484 + def test_positive(336,9999 + def test_negative(348,10388 +class HashlessFilePasswordDBMixin(359,10712 + def getGoodCredentials(370,10995 + def getBadCredentials(375,11135 + def getCheckers(382,11365 +class LocallyHashedFilePasswordDBMixin(411,12594 +class NetworkHashedFilePasswordDBMixin(416,12716 + class credClass(419,12839 + def checkPassword(420,12896 +class HashlessFilePasswordDBCheckerTests(425,12996 +class LocallyHashedFilePasswordDBCheckerTests(431,13154 +class NetworkHashedFilePasswordDBCheckerTests(438,13373 + +venv/lib/python2.7/site-packages/twisted/cred/test/test_digestauth.py,1660 +def b64encode(24,679 +class FakeDigestCredentialFactory(29,739 + def __init__(34,902 + def _generateNonce(39,1051 + def _getTime(46,1188 +class DigestAuthTests(54,1285 + def setUp(60,1513 + def test_MD5HashA1(77,2058 + def test_MD5SessionHashA1(90,2587 + def test_SHAHashA1(105,3193 + def test_MD5HashA2Auth(113,3423 + def test_MD5HashA2AuthInt(126,3903 + def test_MD5SessHashA2Auth(139,4425 + def test_MD5SessHashA2AuthInt(147,4684 + def test_SHAHashA2Auth(155,4953 + def test_SHAHashA2AuthInt(164,5226 + def test_MD5HashResponse(172,5489 + def test_MD5SessionHashResponse(190,6146 + def test_SHAHashResponse(199,6484 + def test_MD5HashResponseExtra(208,6810 + def test_MD5SessionHashResponseExtra(230,7606 + def test_SHAHashResponseExtra(239,7929 + def formatResponse(248,8240 + def getDigestResponse(287,9501 + def test_response(303,10037 + def test_responseWithoutQuotes(324,10845 + def test_responseWithCommaURI(334,11225 + def test_caseInsensitiveAlgorithm(344,11532 + def test_md5DefaultAlgorithm(353,11770 + def test_responseWithoutClientIP(361,11972 + def test_multiResponse(380,12730 + def test_failsWithDifferentMethod(413,14000 + def test_noUsername(435,14954 + def test_noNonce(457,15766 + def test_noOpaque(470,16192 + def test_checkHash(483,16605 + def test_invalidOpaque(509,17622 + def test_incompatibleNonce(558,19384 + def test_incompatibleClientIP(592,20563 + def test_oldNonce(617,21429 + def test_mismatchedOpaqueChecksum(642,22376 + def test_incompatibleCalcHA1Options(666,23250 + def test_noNewlineOpaque(691,24025 + +venv/lib/python2.7/site-packages/twisted/cred/test/test_strcred.py,2820 +def getInvalidAuthType(39,759 +class PublicAPITests(51,1079 + def test_emptyDescription(53,1121 + def test_invalidAuthType(63,1441 +class StrcredFunctionsTests(74,1768 + def test_findCheckerFactories(76,1817 + def test_findCheckerFactory(85,2131 +class MemoryCheckerTests(95,2438 + def setUp(97,2484 + def test_isChecker(105,2848 + def test_badFormatArgString(115,3225 + def test_memoryCheckerSucceeds(124,3549 + def _gotAvatar(128,3665 + def test_memoryCheckerFailsUsername(135,3877 + def test_memoryCheckerFailsPassword(143,4139 +class AnonymousCheckerTests(152,4402 + def test_isChecker(154,4451 + def testAnonymousAccessSucceeds(164,4843 + def _gotAvatar(170,5082 +class UnixCheckerTests(176,5225 + def _spwd_getspnam(183,5343 + def setUp(189,5564 + def test_isChecker(214,6809 + def test_unixCheckerSucceeds(228,7408 + def _gotAvatar(232,7522 + def test_unixCheckerSucceedsBytes(239,7734 + def _gotAvatar(243,7862 + def test_unixCheckerFailsUsername(251,8134 + def test_unixCheckerFailsUsernameBytes(259,8394 + def test_unixCheckerFailsPassword(267,8657 + def test_unixCheckerFailsPasswordBytes(275,8917 +class CryptTests(298,9841 + def test_verifyCryptedPassword(305,10020 +class FileDBCheckerTests(351,12038 + def setUp(356,12137 + def _fakeFilename(366,12612 + def test_isChecker(373,12770 + def test_fileCheckerSucceeds(383,13147 + def _gotAvatar(387,13261 + def test_fileCheckerFailsUsername(394,13473 + def test_fileCheckerFailsPassword(402,13733 + def test_failsWithEmptyFilename(410,13993 + def test_warnWithBadFilename(418,14240 +class SSHCheckerTests(432,14777 + def test_isChecker(448,15225 +class DummyOptions(460,15638 +class CheckerOptionsTests(467,15776 + def test_createsList(469,15823 + def test_invalidAuthError(482,16293 + def test_createsDictionary(499,16901 + def test_credInterfacesProvidesLists(519,17872 + def test_listDoesNotDisplayDuplicates(531,18306 + def test_displaysListCorrectly(542,18655 + def test_displaysHelpCorrectly(555,19157 + def test_unexpectedException(570,19719 +class OptionsForUsernamePassword(583,20200 +class OptionsForUsernameHashedPassword(588,20336 +class OptionsSupportsAllInterfaces(593,20484 +class OptionsSupportsNoInterfaces(598,20594 +class LimitingInterfacesTests(603,20701 + def setUp(620,21420 + def _hash(630,21794 + def test_supportsInterface(637,21975 + def test_supportsAllInterfaces(651,22450 + def test_supportsCheckerFactory(663,22865 + def test_canAddSupportedChecker(674,23283 + def test_failOnAddingUnsupportedChecker(691,24043 + def test_unsupportedInterfaceError(701,24410 + def test_helpAuthLimitsOutput(713,24817 + def test_helpAuthTypeLimitsOutput(729,25407 + +venv/lib/python2.7/site-packages/twisted/cred/test/test_cramauth.py,249 +class CramMD5CredentialsTests(19,404 + def test_idempotentChallenge(23,498 + def test_checkPassword(33,804 + def test_noResponse(46,1339 + def test_wrongPassword(55,1576 + def test_setResponse(68,2102 + def test_interface(83,2637 + +venv/lib/python2.7/site-packages/twisted/cred/portal.py,198 +class IRealm(19,457 + def requestAvatar(24,584 +class Portal(46,1658 + def __init__(58,2180 + def listCredentialsInterfaces(68,2419 + def registerChecker(75,2601 + def login(82,2881 + +venv/lib/python2.7/site-packages/twisted/cred/strcred.py,597 +class ICheckerFactory(28,495 + def generateChecker(53,1167 +class StrcredException(61,1346 +class InvalidAuthType(68,1438 +class InvalidAuthArgumentString(76,1611 +class UnsupportedInterfaces(84,1784 +def findCheckerFactories(99,2230 +def findCheckerFactory(107,2372 +def makeChecker(118,2641 +class AuthOptionMixin:AuthOptionMixin133,3063 + def supportsInterface(162,4034 + def supportsCheckerFactory(170,4284 + def addChecker(181,4637 + def opt_auth(205,5612 + def _checkerFactoriesForOptHelpAuth(221,6168 + def opt_help_auth(233,6592 + def opt_help_auth_type(255,7579 + +venv/lib/python2.7/site-packages/twisted/cred/error.py,146 +class Unauthorized(11,146 +class LoginFailed(16,219 +class UnauthorizedLogin(23,325 +class UnhandledCredentials(29,434 +class LoginDenied(38,764 + +venv/lib/python2.7/site-packages/twisted/cred/_digest.py,68 +def calcHA1(36,980 +def calcHA2(83,2481 +def calcResponse(107,3271 + +venv/lib/python2.7/site-packages/twisted/cred/checkers.py,563 +class ICredentialsChecker(17,400 + def requestAvatarId(26,643 +class AllowAnonymousAccess:AllowAnonymousAccess55,1808 + def requestAvatarId(58,1888 +class InMemoryUsernamePasswordDatabaseDontUse(64,2009 + def __init__(78,2563 + def addUser(82,2667 + def _cbPasswordMatch(86,2752 + def requestAvatarId(93,2929 +class FilePasswordDB:FilePasswordDB105,3335 + def __init__(124,4082 + def __getstate__(183,6512 + def _cbPasswordMatch(193,6730 + def _loadCredentials(200,6907 + def getUser(227,7871 + def requestAvatarId(243,8459 + +venv/lib/python2.7/site-packages/twisted/cred/credentials.py,1196 +class ICredentials(32,805 +class IUsernameDigestHash(42,1026 + def checkHash(47,1226 +class IUsernameHashedPassword(58,1576 + def checkPassword(72,2133 +class IUsernamePassword(88,2636 + def checkPassword(105,3274 +class IAnonymous(121,3777 +class DigestedCredentials(129,3940 + def __init__(134,4050 + def checkPassword(141,4227 + def checkHash(164,5104 +class DigestCredentialFactory(189,6024 + def __init__(223,7307 + def getChallenge(229,7498 + def _generateNonce(249,8090 + def _getTime(259,8324 + def _generateOpaque(267,8529 + def _verifyOpaque(287,9262 + def decode(349,11495 +class CramMD5Credentials(396,13200 + def __init__(413,13676 + def getChallenge(417,13738 + def setResponse(433,14411 + def moreChallenges(437,14513 + def checkPassword(441,14566 +class UsernameHashedPassword:UsernameHashedPassword448,14756 + def __init__(450,14787 + def checkPassword(454,14892 +class UsernamePassword:UsernamePassword460,15005 + def __init__(462,15030 + def checkPassword(466,15141 +class Anonymous:Anonymous472,15249 +class ISSHPrivateKey(477,15278 +class SSHPrivateKey:SSHPrivateKey502,15975 + def __init__(503,15996 + +venv/lib/python2.7/site-packages/twisted/news/test/test_news.py,331 +class NewsTests(32,704 + def setUp(33,740 + def testArticleExists(39,943 + def testArticleRequest(45,1092 + def cbArticle(48,1191 + def testHeadRequest(66,1971 + def cbArticle(69,2041 + def cbHead(76,2224 + def testBodyRequest(88,2619 + def cbArticle(91,2689 + def cbBody(98,2872 + +venv/lib/python2.7/site-packages/twisted/news/test/test_database.py,583 +class ModerationTestsMixin:ModerationTestsMixin20,402 + def setUp(24,520 + def sendmail(28,568 + def getApprovedMessage(53,1303 + def getUnapprovedMessage(64,1685 + def getStorage(75,2044 + def test_postApproved(89,2562 + def cbPosted(104,3092 + def test_postModerated(113,3365 + def cbModerated(128,3924 + def _checkModeratorMessage(144,4600 +class PickleStorageTests(166,5358 + def getStorage(170,5464 +class NewsShelfTests(184,5925 + def getStorage(188,6023 + def test_notifyModerator(203,6560 + def test_defaultSender(214,6960 + +venv/lib/python2.7/site-packages/twisted/news/test/test_nntp.py,667 +class TestNNTPClient(36,868 + def __init__(37,907 + def assertEqual(40,971 + def connectionMade(43,1079 + def gotSubscriptions(48,1190 + def gotAllGroups(55,1401 + def getAllGroupsFailed(62,1581 + def gotGroup(66,1692 + def getSubscriptionsFailed(73,1840 + def getGroupFailed(77,1962 + def postFailed(81,2068 + def postedOk(85,2171 + def gotArticle(89,2226 + def getArticleFailed(99,2458 +class NNTPTests(103,2568 + def setUp(104,2604 + def testLoopback(117,3037 + def test_connectionMade(129,3477 + def test_LIST(140,3782 + def test_GROUP(155,4255 + def test_LISTGROUP(168,4696 + def test_XROVER(183,5186 + +venv/lib/python2.7/site-packages/twisted/news/database.py,3016 +def hexdigest(32,747 +class Article:Article35,870 + def __init__(36,885 + def getHeader(64,1806 + def putHeader(72,1972 + def textHeaders(76,2069 + def overview(82,2244 +class NewsServerError(89,2385 +class INewsStorage(93,2430 + def listRequest(98,2536 + def subscriptionRequest(105,2736 + def postRequest(112,2923 + def overviewRequest(120,3166 + def xoverRequest(127,3348 + def xhdrRequest(136,3671 + def listGroupRequest(145,3997 + def groupRequest(152,4168 + def articleExistsRequest(159,4374 + def articleRequest(167,4625 + def headRequest(179,5163 + def bodyRequest(188,5453 +class NewsStorage:NewsStorage196,5740 + def listRequest(201,5894 + def subscriptionRequest(203,5957 + def postRequest(205,6028 + def overviewRequest(207,6100 + def xoverRequest(209,6174 + def xhdrRequest(211,6256 + def listGroupRequest(213,6345 + def groupRequest(215,6420 + def articleExistsRequest(217,6491 + def articleRequest(219,6567 + def headRequest(221,6658 + def bodyRequest(223,6735 +class _ModerationMixin:_ModerationMixin228,6815 + def notifyModerators(236,7104 +class PickleStorage(283,8668 + def __init__(292,8913 + def getModerators(308,9551 + def listRequest(317,9904 + def subscriptionRequest(334,10447 + def postRequest(337,10526 + def overviewRequest(371,11557 + def xoverRequest(375,11633 + def xhdrRequest(385,11978 + def listGroupRequest(395,12327 + def groupRequest(401,12511 + def articleExistsRequest(415,12969 + def articleRequest(423,13225 + def headRequest(441,13788 + def bodyRequest(452,14156 + def flush(463,14534 + def load(468,14637 +class Group:Group486,15321 + def __init__(493,15424 +class NewsShelf(500,15575 + def __init__(504,15701 + def initialize(525,16443 + def addGroup(539,16958 + def addSubscription(543,17051 + def addModerator(547,17161 + def listRequest(551,17251 + def subscriptionRequest(558,17456 + def getModerator(562,17549 + def notifyModerator(573,17907 + def postRequest(582,18166 + def overviewRequest(616,19357 + def xoverRequest(620,19433 + def xhdrRequest(635,19916 + def listGroupRequest(650,20407 + def groupRequest(656,20643 + def articleExistsRequest(669,21037 + def articleRequest(673,21139 + def headRequest(695,21859 + def bodyRequest(713,22477 +class NewsStorageAugmentation:NewsStorageAugmentation732,23132 + def __init__(776,24180 + def __setstate__(781,24294 + def listRequest(788,24553 + def subscriptionRequest(805,25188 + def postRequest(812,25400 + def _doPost(819,25655 + def overviewRequest(888,28121 + def xoverRequest(895,28326 + def xhdrRequest(917,29088 + def listGroupRequest(933,29633 + def groupRequest(945,30025 + def articleExistsRequest(963,30635 + def articleRequest(974,30926 + def headRequest(1002,32081 + def bodyRequest(1015,32592 +def makeGroupSQL(1035,33334 +def makeOverviewSQL(1042,33506 + +venv/lib/python2.7/site-packages/twisted/news/tap.py,309 +class DBOptions(11,233 + def postOptions(24,891 +class PickleOptions(50,1835 + def postOptions(63,2266 +class Options(79,2969 + def __init__(98,3674 + def opt_group(105,3820 + def opt_moderator(110,3944 + def opt_subscription(115,4102 + def opt_server(120,4249 +def makeService(125,4413 + +venv/lib/python2.7/site-packages/twisted/news/nntp.py,4147 +def parseRange(38,961 +def extractCode(61,1511 +class NNTPError(71,1698 + def __init__(72,1726 + def __str__(75,1788 +class NNTPClient(79,1858 + def __init__(82,1926 + def gotAllGroups(96,2237 + def getAllGroupsFailed(100,2350 + def gotOverview(104,2461 + def getOverviewFailed(108,2577 + def gotSubscriptions(112,2689 + def getSubscriptionsFailed(116,2820 + def gotGroup(120,2942 + def getGroupFailed(124,3049 + def gotArticle(128,3155 + def getArticleFailed(132,3268 + def gotHead(136,3378 + def getHeadFailed(140,3482 + def gotBody(144,3586 + def getBodyFailed(148,3690 + def postedOk(152,3793 + def postFailed(156,3895 + def gotXHeader(160,3998 + def getXHeaderFailed(164,4110 + def gotNewNews(168,4218 + def getNewNewsFailed(172,4327 + def gotNewGroups(176,4435 + def getNewGroupsFailed(180,4550 + def setStreamSuccess(184,4662 + def setStreamFailed(188,4770 + def fetchGroups(192,4876 + def fetchOverview(201,5158 + def fetchSubscriptions(210,5453 + def fetchGroup(220,5808 + def fetchHead(229,6123 + def fetchBody(239,6483 + def fetchArticle(249,6841 + def postArticle(259,7242 + def fetchNewNews(271,7699 + def fetchNewGroups(295,8751 + def fetchXHeader(307,9331 + def setStream(332,10435 + def quit(342,10770 + def _newState(347,10862 + def _endState(355,11131 + def _newLine(365,11374 + def _setResponseCode(371,11534 + def _getResponseCode(375,11612 + def lineReceived(379,11684 + def _statePassive(395,12224 + def _passiveError(399,12303 + def _headerInitial(403,12389 + def _stateList(412,12587 + def _stateOverview(420,12838 + def _stateSubscriptions(427,13026 + def _headerGroup(434,13202 + def _stateArticle(440,13342 + def _stateHead(449,13583 + def _stateBody(456,13744 + def _headerPost(465,13979 + def _headerPosted(479,14488 + def _stateXHDR(488,14710 + def _stateNewNews(495,14872 + def _stateNewGroups(502,15028 + def _headerMode(509,15188 +class NNTPServer(518,15411 + def __init__(525,15694 + def connectionMade(529,15750 + def lineReceived(535,15940 + def do_LIST(560,16952 + def _gotList(581,17869 + def _errList(588,18074 + def _gotSubscription(593,18216 + def _errSubscription(600,18386 + def _gotOverview(605,18544 + def _errOverview(612,18734 + def do_LISTGROUP(617,18893 + def _gotListGroup(626,19216 + def _errListGroup(640,19599 + def do_XOVER(645,19727 + def _gotXOver(654,20057 + def _errXOver(661,20250 + def xhdrWork(666,20379 + def do_XHDR(686,21083 + def _gotXHDR(692,21242 + def _errXHDR(698,21408 + def do_POST(703,21526 + def _doingPost(709,21703 + def _gotPost(721,22057 + def _errPost(725,22137 + def do_CHECK(730,22256 + def _gotCheck(735,22399 + def _errCheck(742,22621 + def do_TAKETHIS(747,22754 + def _doingTakeThis(752,22861 + def _didTakeThis(763,23218 + def _errTakeThis(767,23308 + def do_GROUP(772,23444 + def _gotGroup(777,23593 + def _errGroup(784,23821 + def articleWork(789,23941 + def do_ARTICLE(809,24726 + def _gotArticle(815,24945 + def finishedFileTransfer(826,25290 + def _errArticle(834,25465 + def do_STAT(839,25594 + def _gotStat(845,25801 + def _errStat(851,26000 + def do_HEAD(856,26123 + def _gotHead(862,26327 + def _errHead(870,26568 + def do_BODY(875,26709 + def _gotBody(881,26906 + def _errBody(890,27236 + def do_NEXT(897,27490 + def do_LAST(903,27680 + def do_MODE(909,27870 + def do_QUIT(921,28241 + def do_HELP(926,28343 + def do_SLAVE(932,28481 + def do_XPATH(937,28586 + def do_XINDEX(944,28859 + def do_XROVER(950,29099 + def do_IHAVE(961,29396 + def _foundArticle(965,29512 + def _handleIHAVE(974,29824 + def _gotIHAVE(986,30156 + def _errIHAVE(990,30243 +class UsenetClientProtocol(995,30383 + def __init__(1001,30537 + def connectionMade(1013,31039 + def articleExists(1020,31278 + def gotNewNews(1028,31486 + def getNewNewsFailed(1037,31817 + def gotArticle(1042,31981 + +venv/lib/python2.7/site-packages/twisted/news/news.py,460 +class NNTPFactory(16,238 + def __init__(21,369 + def buildProtocol(24,438 +class UsenetClientFactory(30,551 + def __init__(31,602 + def clientConnectionLost(37,734 + def clientConnectionFailed(41,804 + def updateChecks(45,916 + def buildProtocol(49,1011 +class UsenetServerFactory(57,1317 + def __init__(62,1444 + def startFactory(69,1729 + def stopFactory(73,1829 + def buildProtocol(79,1961 + def syncWithRemotes(85,2074 + +venv/lib/python2.7/site-packages/twisted/scripts/test/test_scripts.py,328 +def outputFromPythonScript(22,582 +class ScriptTestsMixin(49,1567 + def scriptTest(56,1788 +class ScriptTests(84,2824 + def test_twistd(88,2919 + def test_twistdPathInsert(92,2982 + def test_trial(113,3722 + def test_trialPathInsert(117,3783 + def test_pyhtmlizer(136,4442 +class ZshIntegrationTests(141,4514 + +venv/lib/python2.7/site-packages/twisted/scripts/htmlizer.py,65 +class Options(32,623 + def parseArgs(46,973 +def run(51,1047 + +venv/lib/python2.7/site-packages/twisted/scripts/_twistw.py,159 +class ServerOptions(14,297 + def opt_version(20,467 +class WindowsApplicationRunner(31,751 + def preApplication(37,928 + def postApplication(46,1139 + +venv/lib/python2.7/site-packages/twisted/scripts/_twistd_unix.py,633 +def _umask(28,745 +class ServerOptions(32,791 + def opt_version(73,2772 + def postOptions(83,3047 +def checkPID(89,3211 +class UnixAppLogger(119,4261 + def __init__(135,4738 + def _getLogObserver(142,4982 + def rotateLog(174,6248 +def launchWithName(182,6537 +class UnixApplicationRunner(190,6778 + def preApplication(197,6996 + def _formatChildException(208,7327 + def postApplication(247,9165 + def removePID(272,10165 + def setupEnvironment(293,10805 + def daemonize(334,12167 + def _waitForStart(379,13699 + def shedPrivileges(399,14363 + def startApplication(426,15316 + +venv/lib/python2.7/site-packages/twisted/scripts/trial.py,1078 +def _parseLocalVariables(38,884 +def loadLocalVariables(64,1783 +def getTestModules(81,2259 +def isTestFile(88,2446 +def _reporterAction(98,2763 +def _maybeFindSourceLine(103,2907 +def _checkKnownRunOrder(144,4224 +class _BasicOptions(163,4849 + def __init__(211,6957 + def getSynopsis(215,7046 + def coverdir(225,7471 + def opt_coverage(244,8298 + def opt_testmodule(255,8627 + def opt_spew(279,9622 + def opt_help_orders(288,9879 + def opt_help_reporters(299,10290 + def opt_disablegc(309,10687 + def opt_tbformat(317,10834 + def opt_recursionlimit(330,11258 + def opt_random(343,11617 + def opt_without_module(357,12093 + def parseArgs(370,12571 + def _loadReporterByName(374,12640 + def postOptions(384,13055 +class Options(397,13620 + def opt_jobs(447,15538 + def _getWorkerArguments(462,16009 + def postOptions(477,16504 +def _initialDebugSetup(493,17099 +def _getSuite(502,17357 +def _getLoader(509,17518 +def _wrappedPdb(524,18021 +class _DebuggerNotFound(547,18566 +def _makeRunner(557,18723 +def run(602,20300 + +venv/lib/python2.7/site-packages/twisted/scripts/twistd.py,35 +def runApp(23,621 +def run(30,791 + +venv/lib/python2.7/site-packages/hamcrest/library/object/hasproperty.py,227 +class IsObjectWithProperty(13,436 + def __init__(15,478 + def _matches(19,619 + def describe_to(29,864 + def describe_mismatch(35,1198 + def __str__(51,1969 +def has_property(57,2076 +def has_properties(90,3161 + +venv/lib/python2.7/site-packages/hamcrest/library/object/hasstring.py,124 +class HasString(9,221 + def __init__(11,252 + def _matches(14,329 + def describe_to(17,411 +def has_string(22,580 + +venv/lib/python2.7/site-packages/hamcrest/library/object/haslength.py,160 +class HasLength(10,275 + def __init__(12,306 + def _matches(15,383 + def describe_mismatch(20,533 + def describe_to(26,847 +def has_length(31,1016 + +venv/lib/python2.7/site-packages/hamcrest/library/integration/match_equality.py,154 +class EqualityWrapper(10,244 + def __init__(12,276 + def __eq__(15,341 + def __str__(18,416 + def __repr__(21,466 +def match_equality(25,530 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/isdict_containingkey.py,132 +class IsDictContainingKey(10,275 + def __init__(12,316 + def _matches(15,393 + def describe_to(22,617 +def has_key(27,790 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/issequence_onlycontaining.py,143 +class IsSequenceOnlyContaining(11,319 + def __init__(13,365 + def _matches(16,430 + def describe_to(28,773 +def only_contains(33,950 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/is_empty.py,91 +class IsEmpty(8,163 + def matches(10,192 + def describe_to(26,650 +def empty(30,747 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/issequence_containing.py,315 +class IsSequenceContaining(11,319 + def __init__(13,361 + def _matches(16,450 + def describe_to(24,687 +class IsSequenceContainingEvery(33,1139 + def __init__(35,1186 + def _matches(39,1332 + def describe_mismatch(45,1487 + def describe_to(48,1616 +def has_item(53,1705 +def has_items(71,2336 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/isdict_containing.py,132 +class IsDictContaining(10,275 + def __init__(12,313 + def _matches(16,448 + def describe_to(23,719 +def has_entry(31,1079 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/issequence_containinginanyorder.py,357 +class MatchInAnyOrder(10,275 + def __init__(11,306 + def matches(15,456 + def isfinished(18,550 + def isnotsurplus(28,1005 + def ismatched(36,1301 +class IsSequenceContainingInAnyOrder(48,1693 + def __init__(50,1745 + def matches(53,1813 + def describe_mismatch(67,2412 + def describe_to(70,2523 +def contains_inanyorder(76,2746 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/isdict_containingvalue.py,136 +class IsDictContainingValue(10,275 + def __init__(12,318 + def _matches(15,401 + def describe_to(22,635 +def has_value(27,810 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/isdict_containingentries.py,245 +class IsDictContainingEntries(10,275 + def __init__(12,320 + def _not_a_dictionary(15,422 + def matches(21,686 + def describe_mismatch(50,1974 + def describe_keyvalue(53,2085 + def describe_to(59,2398 +def has_entries(70,2764 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/isin.py,114 +class IsIn(8,161 + def __init__(10,187 + def _matches(13,255 + def describe_to(16,323 +def is_in(21,478 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/issequence_containinginorder.py,342 +class MatchingInOrder(10,275 + def __init__(11,306 + def matches(16,487 + def isfinished(19,581 + def ismatched(27,921 + def isnotsurplus(37,1342 +class IsSequenceContainingInOrder(46,1665 + def __init__(48,1714 + def matches(51,1782 + def describe_mismatch(64,2335 + def describe_to(67,2446 +def contains(72,2613 + +venv/lib/python2.7/site-packages/hamcrest/library/text/stringmatches.py,140 +class StringMatchesPattern(12,239 + def __init__(14,281 + def describe_to(17,346 + def _matches(22,569 +def matches_regexp(26,654 + +venv/lib/python2.7/site-packages/hamcrest/library/text/substringmatcher.py,83 +class SubstringMatcher(9,172 + def __init__(11,210 + def describe_to(16,411 + +venv/lib/python2.7/site-packages/hamcrest/library/text/stringcontains.py,135 +class StringContains(9,232 + def __init__(11,273 + def _matches(14,365 + def relationship(19,507 +def contains_string(23,565 + +venv/lib/python2.7/site-packages/hamcrest/library/text/isequal_ignoring_whitespace.py,182 +def stripspace(9,172 +class IsEqualIgnoringWhiteSpace(23,507 + def __init__(25,554 + def _matches(31,801 + def describe_to(36,964 +def equal_to_ignoring_whitespace(41,1131 + +venv/lib/python2.7/site-packages/hamcrest/library/text/stringstartswith.py,133 +class StringStartsWith(9,232 + def __init__(11,275 + def _matches(14,369 + def relationship(19,518 +def starts_with(23,579 + +venv/lib/python2.7/site-packages/hamcrest/library/text/stringcontainsinorder.py,152 +class StringContainsInOrder(10,242 + def __init__(12,287 + def _matches(19,586 + def describe_to(29,897 +def string_contains_in_order(34,1068 + +venv/lib/python2.7/site-packages/hamcrest/library/text/isequal_ignoring_case.py,146 +class IsEqualIgnoringCase(9,172 + def __init__(11,213 + def _matches(17,449 + def describe_to(22,607 +def equal_to_ignoring_case(27,768 + +venv/lib/python2.7/site-packages/hamcrest/library/text/stringendswith.py,129 +class StringEndsWith(9,232 + def __init__(11,273 + def _matches(14,365 + def relationship(19,510 +def ends_with(23,569 + +venv/lib/python2.7/site-packages/hamcrest/library/number/iscloseto.py,182 +def isnumeric(10,194 +class IsCloseTo(26,554 + def __init__(28,585 + def _matches(37,871 + def describe_mismatch(42,1012 + def describe_to(51,1469 +def close_to(58,1751 + +venv/lib/python2.7/site-packages/hamcrest/library/number/ordering_comparison.py,231 +class OrderingComparison(9,177 + def __init__(11,217 + def _matches(16,437 + def describe_to(19,526 +def greater_than(26,820 +def greater_than_or_equal_to(35,1027 +def less_than(44,1270 +def less_than_or_equal_to(53,1468 + +venv/lib/python2.7/site-packages/hamcrest/core/description.py,149 +class Description(6,109 + def append_text(14,347 + def append_description_of(22,540 + def append_value(34,906 + def append_list(46,1231 + +venv/lib/python2.7/site-packages/hamcrest/core/selfdescribingvalue.py,87 +class SelfDescribingValue(10,183 + def __init__(20,534 + def describe_to(25,697 + +venv/lib/python2.7/site-packages/hamcrest/core/core/is_.py,175 +class Is(11,317 + def __init__(13,341 + def matches(16,406 + def describe_mismatch(19,527 + def describe_to(22,663 +def wrap_value_or_type(26,761 +def is_(33,890 + +venv/lib/python2.7/site-packages/hamcrest/core/core/raises.py,318 +class Raises(12,254 + def __init__(13,281 + def _matches(19,450 + def _call_function(26,632 + def describe_to(39,1037 + def describe_mismatch(42,1160 +def raises(62,2049 +class DeferredCallable(81,2823 + def __init__(82,2855 + def __call__(87,2964 + def with_args(90,3041 +def calling(96,3159 + +venv/lib/python2.7/site-packages/hamcrest/core/core/isequal.py,120 +class IsEqual(9,203 + def __init__(11,232 + def _matches(14,294 + def describe_to(17,360 +def equal_to(26,651 + +venv/lib/python2.7/site-packages/hamcrest/core/core/anyof.py,116 +class AnyOf(9,221 + def __init__(11,248 + def _matches(14,317 + def describe_to(20,473 +def any_of(24,580 + +venv/lib/python2.7/site-packages/hamcrest/core/core/isnot.py,166 +class IsNot(12,356 + def __init__(14,383 + def _matches(17,448 + def describe_to(20,525 +def wrap_value_or_type(24,643 +def is_not(31,772 +def not_(49,1345 + +venv/lib/python2.7/site-packages/hamcrest/core/core/isinstanceof.py,129 +class IsInstanceOf(10,239 + def __init__(12,273 + def _matches(17,495 + def describe_to(20,578 +def instance_of(29,930 + +venv/lib/python2.7/site-packages/hamcrest/core/core/issame.py,158 +class IsSame(8,161 + def __init__(10,189 + def _matches(13,251 + def describe_to(16,317 + def describe_mismatch(22,611 +def same_instance(30,929 + +venv/lib/python2.7/site-packages/hamcrest/core/core/allof.py,149 +class AllOf(9,221 + def __init__(11,248 + def matches(14,317 + def describe_mismatch(24,750 + def describe_to(27,861 +def all_of(31,969 + +venv/lib/python2.7/site-packages/hamcrest/core/core/isnone.py,112 +class IsNone(10,226 + def _matches(12,254 + def describe_to(15,313 +def none(19,395 +def not_none(24,470 + +venv/lib/python2.7/site-packages/hamcrest/core/core/isanything.py,123 +class IsAnything(8,161 + def __init__(10,193 + def _matches(15,340 + def describe_to(18,391 +def anything(22,483 + +venv/lib/python2.7/site-packages/hamcrest/core/core/described_as.py,163 +class DescribedAs(12,211 + def __init__(14,244 + def matches(19,414 + def describe_mismatch(22,535 + def describe_to(25,664 +def described_as(37,1131 + +venv/lib/python2.7/site-packages/hamcrest/core/base_description.py,302 +class BaseDescription(13,346 + def append_text(19,490 + def append_description_of(23,570 + def append_value(42,1313 + def append_value_list(53,1685 + def append_list(59,1980 + def append(71,2298 + def append_string_in_python_syntax(75,2425 +def character_in_python_syntax(82,2613 + +venv/lib/python2.7/site-packages/hamcrest/core/string_description.py,125 +def tostring(13,222 +class StringDescription(24,558 + def __init__(30,702 + def __str__(33,749 + def append(37,836 + +venv/lib/python2.7/site-packages/hamcrest/core/assert_that.py,77 +def assert_that(13,411 +def _assert_match(48,1795 +def _assert_bool(60,2264 + +venv/lib/python2.7/site-packages/hamcrest/core/compat.py,28 + def is_callable(13,356 + +venv/lib/python2.7/site-packages/hamcrest/core/matcher.py,98 +class Matcher(9,192 + class,16,492 + def matches(23,723 + def describe_mismatch(36,1211 + +venv/lib/python2.7/site-packages/hamcrest/core/selfdescribing.py,55 +class SelfDescribing(6,109 + def describe_to(9,195 + +venv/lib/python2.7/site-packages/hamcrest/core/helpers/wrap_matcher.py,55 +def wrap_matcher(12,230 +def is_matchable_type(24,547 + +venv/lib/python2.7/site-packages/hamcrest/core/helpers/hasmethod.py,21 +def hasmethod(6,109 + +venv/lib/python2.7/site-packages/hamcrest/core/base_matcher.py,134 +class BaseMatcher(10,245 + def __str__(21,679 + def _matches(24,733 + def matches(27,810 + def describe_mismatch(33,1055 + +venv/lib/python2.7/site-packages/automat/_core.py,458 +class NoTransition(14,227 + def __init__(24,515 +class Automaton(32,726 + def __init__(39,877 + def initialState(48,1079 + def initialState(56,1239 + def addTransition(69,1614 + def allTransitions(86,2410 + def inputAlphabet(93,2535 + def outputAlphabet(101,2792 + def states(114,3133 + def outputForInput(129,3510 +class Transitioner(140,3937 + def __init__(145,4042 + def setTrace(150,4191 + def transition(153,4254 + +venv/lib/python2.7/site-packages/automat/_discover.py,189 +def isOriginalLocation(7,133 +def findMachinesViaWrapper(24,609 +class InvalidFQPN(62,2029 +class NoModule(68,2144 +class NoObject(74,2257 +def wrapFQPN(80,2358 +def findMachines(129,3731 + +venv/lib/python2.7/site-packages/automat/_test/test_core.py,220 +class CoreTests(6,77 + def test_NoTransition(11,194 + def test_noOutputForInput(30,790 + def test_oneTransition(40,1097 + def test_oneTransition_nonIterableOutputs(56,1795 + def test_initialState(73,2383 + +venv/lib/python2.7/site-packages/automat/_test/test_discover.py,2380 +def isTwistedInstalled(12,135 +class _WritesPythonModules(21,277 + def setUp(26,398 + def tearDown(42,879 + def makeImportable(52,1188 + def writeSourceInto(55,1255 + def makeModule(66,1634 + def attributesAsDict(70,1826 + def loadModuleAsDict(73,1958 + def makeModuleAsDict(77,2066 +class OriginalLocationTests(82,2257 + def setUp(94,2727 + def test_failsWithNoModule(99,2904 + class Fake(105,3121 + def test_failsWithDifferentModule(118,3540 + class ImportThisClass(124,3783 + def test_succeedsWithSameModule(155,5022 + class ThisClassWasDefinedHere(161,5266 +class FindMachinesViaWrapperTests(180,6065 + class PythonClass(191,6411 + class NestedClass(194,6487 + def ignoredMethod(199,6621 + def setUp(207,6829 + def test_yieldsMachine(212,7024 + def test_yieldsMachineInClass(229,7657 + class PythonClass(239,8019 + def test_yieldsMachineInNestedClass(248,8435 + class variable,252,8637 + class PythonClass(258,8810 + class NestedClass(259,8845 + def test_yieldsMachineInModule(271,9389 + def test_yieldsMachineInClassInModule(287,10044 + class PythonClass(297,10411 + def test_yieldsMachineInNestedClassInModule(307,10844 + class PythonClass(317,11224 + class NestedClass(318,11259 + def test_ignoresImportedClass(329,11734 + class when 336,12042 + class PythonClass(341,12199 + def test_descendsIntoPackages(356,12700 + class PythonClass(370,13115 + def test_infiniteLoop(394,14007 + class InfiniteLoop(401,14205 +class WrapFQPNTests(411,14511 + def setUp(418,14713 + def assertModuleWrapperRefersTo(429,15109 + def assertAttributeWrapperRefersTo(438,15485 + def test_failsWithEmptyFQPN(447,15871 + def test_failsWithBadDotting(454,16085 + def test_singleModule(463,16393 + def test_failsWithMissingSingleModuleOrPackage(475,16761 + def test_singlePackage(483,17069 + def test_multiplePackages(491,17350 + def test_multiplePackagesFinalModule(499,17653 + def test_singleModuleObject(508,18015 + def test_multiplePackagesObject(517,18350 + def test_failsWithMultiplePackagesMissingModuleOrPackage(533,19008 +class FindMachinesIntegrationTests(545,19478 + class PythonClass(554,19723 + def setUp(563,19902 + def test_discoverAll(585,20728 + +venv/lib/python2.7/site-packages/automat/_test/test_trace.py,363 +class SampleObject(4,75 + def begin(8,161 + def middle(11,222 + def end(14,283 + def go1(18,339 + def go2(21,397 + def back(24,455 + def out(28,516 +class TraceTests(38,722 + def test_only_inputs(39,750 + def tracer(41,802 + def test_inputs_and_outputs(65,1697 + def tracer(67,1756 + def trace_outputs(69,1868 + +venv/lib/python2.7/site-packages/automat/_test/test_visualize.py,1589 +def isGraphvizModuleInstalled(15,229 +def isGraphvizInstalled(27,440 +def sampleMachine(40,666 + class SampleObject(45,798 + def begin(47,862 + def end(50,935 + def go(53,1002 + def out(56,1072 +class ElementMakerTests(65,1288 + def setUp(70,1411 + def test_sortsAttrs(74,1520 + def test_quotesAttrs(85,1930 + def test_noAttrs(98,2456 +class HTMLElement(107,2683 +def findElements(114,2846 +def isLeaf(129,3220 +class TableMakerTests(137,3430 + def fakeElementMaker(146,3693 + def setUp(149,3837 + def test_inputLabelRow(157,4101 + def hasPort(164,4356 + def test_noOutputLabels(181,5058 + def test_withOutputLabels(191,5470 + def hasCorrectColspan(204,5988 +class IntegrationTests(217,6588 + def test_validGraphviz(223,6725 +class SpotChecks(235,7185 + def test_containsMachineFeatures(241,7331 +class RecordsDigraphActions(253,7719 + def __init__(258,7815 + def reset(261,7861 +class FakeDigraph(266,7942 + def __init__(272,8071 + def render(275,8140 + def save(278,8223 +class FakeMethodicalMachine(282,8303 + def __init__(287,8428 + def asDigraph(290,8494 +class VisualizeToolTests(297,8763 + def setUp(299,8800 + def collectPrints(308,9088 + def fakeFindMachines(311,9177 + def tool(314,9276 + def test_checksCurrentDirectory(328,9751 + def test_quietHidesOutput(337,10037 + def test_onlySaveDot(346,10335 + def test_saveOnlyImage(366,11077 + def test_saveDotAndImagesInDifferentDirectories(387,11862 + def test_saveDotAndImagesInSameDirectory(412,12935 + +venv/lib/python2.7/site-packages/automat/_test/test_methodical.py,3759 +class MethodicalTests(14,269 + def test_oneTransition(19,355 + class Machination(27,694 + def anInput(30,800 + def anOutput(34,889 + def anotherOutput(39,1021 + def anState(44,1179 + def anotherState(48,1266 + def test_machineItselfIsPrivate(60,1675 + class Machination(68,2087 + def test_outputsArePrivate(78,2456 + class Machination(86,2882 + def anInput(90,3012 + def anOutput(93,3100 + def state(96,3207 + def test_multipleMachines(114,3791 + class MultiMach(119,3962 + def inputA(124,4091 + def inputB(127,4170 + def initialA(130,4261 + def initialB(133,4356 + def outputA(136,4440 + def outputB(139,4522 + def test_collectOutputs(149,4808 + class Machine(154,4964 + def input(157,5054 + def outputA(160,5134 + def outputB(163,5216 + def state(166,5309 + def test_methodName(174,5555 + class Mech(178,5663 + def declaredInputName(181,5750 + def aState(184,5853 + def test_inputWithArguments(192,6099 + class Mechanism(196,6240 + def input(199,6332 + def state(202,6431 + def output(205,6510 + def test_outputWithSubsetOfArguments(215,6755 + class Mechanism(219,6882 + def input(222,6974 + def state(225,7073 + def outputX(228,7152 + def outputY(232,7263 + def outputNoArgs(236,7374 + def test_inputFunctionsMustBeEmpty(263,8186 + class Mechanism(273,8513 + def input(277,8663 + class MechanismWithDocstring(285,9005 + def input(288,9110 + def start(291,9201 + class MechanismWithPass(296,9360 + def input(299,9460 + def start(302,9545 + class MechanismWithDocstringAndPass(307,9699 + def input(310,9811 + def start(314,9923 + class MechanismReturnsNone(319,10089 + def input(322,10192 + def start(325,10284 + class MechanismWithDocstringAndReturnsNone(330,10441 + def input(333,10560 + def start(337,10679 + def test_inputOutputMismatch(343,10853 + class Mechanism(348,11064 + def nameOfInput(351,11156 + def outputThatMatches(354,11245 + def outputThatDoesntMatch(357,11354 + def state(360,11472 + def test_getArgNames(369,11851 + def test_filterArgs(388,12333 + def test_multipleInitialStatesFailure(400,12741 + class WillFail(405,12879 + def firstInitialState(409,12983 + def secondInitialState(414,13169 + def test_multipleTransitionsFailure(418,13292 + class WillFail(424,13454 + def start(428,13558 + def end(431,13643 + def event(435,13726 + def test_badTransitionForCurrentState(442,13943 + class OnlyOnePath(448,14153 + def start(451,14259 + def end(454,14342 + def advance(457,14421 + def deadEnd(460,14517 + def test_saveState(476,15072 + class Mechanism(484,15374 + def __init__(486,15443 + def first(489,15567 + def second(492,15675 + def save(495,15765 + def test_restoreState(510,16113 + class Mechanism(518,16465 + def __init__(520,16534 + def first(524,16697 + def second(527,16805 + def input(530,16890 + def output(533,16970 + def output2(538,17118 + def save(545,17411 + def _restore(552,17610 + def fromBlob(557,17767 + +venv/lib/python2.7/site-packages/automat/_visualize.py,162 +def _gvquote(10,121 +def _gvhtml(14,188 +def elementMaker(18,234 +def tableMaker(31,682 +def makeDigraph(63,1610 +def tool(108,3292 + def _print(158,5407 + +venv/lib/python2.7/site-packages/automat/_methodical.py,1272 +def _getArgSpec(26,628 +def _getArgNames(50,1381 +def _keywords_only(69,1910 + def g(80,2236 +class MethodicalState(86,2324 + def upon(94,2506 + def _name(128,4179 +def _transitionerFromInstance(132,4238 +def _empty(146,4591 +def _docstring(149,4615 +def assertNoCode(152,4654 +def _filterArgs(169,5552 +class MethodicalInput(210,7173 + def _buildArgSpec(221,7508 + def __get__(224,7578 + def doInput(234,8024 + def _name(249,8637 +class MethodicalOutput(254,8717 + def _buildArgSpec(263,8932 + def __get__(266,9002 + def __call__(279,9421 + def _name(285,9581 +class MethodicalTracer(289,9670 + def __get__(294,9773 + def setTrace(297,9948 +def gensym(304,10065 +class MethodicalMachine(312,10180 + def __init__(318,10331 + def __get__(324,10455 + def state(337,10859 + def decorator(358,11751 + def input(369,12101 + def decorator(375,12214 + def output(383,12470 + def decorator(392,12725 + def _oneTransition(397,12860 + def serializer(422,14105 + def decorator(426,14156 + def serialize(428,14220 + def unserializer(436,14553 + def decorator(440,14606 + def unserialize(442,14670 + def _setTrace(455,15217 + def asDigraph(458,15306 + +venv/lib/python2.7/site-packages/automat/_introspection.py,96 +def copycode(8,102 +def copyfunction(24,550 +def preserveName(35,863 + def decorator(39,971 + +venv/lib/python2.7/site-packages/six.py,2443 + class X(60,2014 + def __len__(62,2040 +def _add_doc(75,2320 +def _import_module(80,2413 +class _LazyDescr(86,2557 + def __init__(88,2584 + def __get__(91,2640 +class MovedModule(103,3006 + def __init__(105,3038 + def _resolve(114,3271 + def __getattr__(117,3336 +class _LazyModule(124,3500 + def __init__(126,3538 + def __dir__(130,3663 +class MovedAttribute(139,3879 + def __init__(141,3914 + def _resolve(159,4498 +class _SixMetaPathImporter(164,4608 + def __init__(173,4863 + def _add_module(177,4973 + def _get_module(181,5118 + def find_module(184,5218 + def __get_module(189,5354 + def load_module(195,5557 + def is_package(209,5944 + def get_code(218,6218 +class _MovedItems(229,6507 +class Module_six_moves_urllib_parse(322,11404 +class Module_six_moves_urllib_error(364,13467 +class Module_six_moves_urllib_request(384,14163 +class Module_six_moves_urllib_response(436,17067 +class Module_six_moves_urllib_robotparser(457,17855 +class Module_six_moves_urllib(475,18504 + def __dir__(485,18978 +def add_move(492,19189 +def remove_move(497,19289 + def advance_iterator(529,20008 + def callable(537,20136 + def get_unbound_function(542,20249 + def create_unbound_method(547,20356 + def get_unbound_function(552,20447 + def create_bound_method(555,20518 + def create_unbound_method(558,20617 + class Iterator(561,20709 + def next(563,20738 + def iterkeys(580,21275 + def itervalues(583,21337 + def iteritems(586,21403 + def iterlists(589,21467 + def iterkeys(598,21680 + def itervalues(601,21740 + def iteritems(604,21804 + def iterlists(607,21866 + def b(625,22437 + def u(628,22487 + def b(648,23040 + def u(652,23114 + def byte2int(657,23236 + def indexbytes(660,23285 +def assertCountEqual(672,23654 +def assertRaisesRegex(676,23762 +def assertRegex(680,23872 + def reraise(687,24023 + def exec_(699,24320 + def raise_from(736,25236 + def print_(742,25364 + def write(748,25551 + def print_(798,27294 + def wraps(808,27590 + def wrapper(810,27703 +def with_metaclass(819,27906 + class metaclass(824,28171 + def __new__(826,28199 + def __prepare__(830,28308 +def add_metaclass(835,28469 + def wrapper(837,28564 +def ensure_binary(853,29114 +def ensure_str(872,29583 +def ensure_text(892,30123 +def python_2_unicode_compatible(912,30580 + +venv/lib/python2.7/site-packages/zope/interface/interfaces.py,3742 +class IElement(25,870 + def getTaggedValue(32,1088 + def queryTaggedValue(38,1232 + def getTaggedValueTags(44,1398 + def setTaggedValue(47,1471 +class IAttribute(51,1554 +class IMethod(59,1779 + def getSignatureInfo(62,1835 + def getSignatureString(78,2269 +class ISpecification(86,2568 + def providedBy(89,2645 + def implementedBy(97,2908 + def isOrExtends(105,3196 + def extends(109,3301 + def weakref(118,3599 + def get(152,4668 +class IInterface(160,4842 + class IMyInterface(204,6775 + def meth(207,6851 + class IMySubInterface(212,6970 + def meth2(215,7051 + class itself 240,7831 + def names(248,8022 + def namesAndDescriptions(259,8421 + def __getitem__(271,8898 + def direct(277,9052 + def validateInvariants(283,9231 + def __contains__(291,9559 + def __iter__(294,9652 +class IDeclaration(303,9966 + def __contains__(310,10144 + def __iter__(317,10370 + def flattened(321,10473 + def __sub__(333,11028 + def __add__(347,11537 + def __nonzero__(358,11960 +class IInterfaceDeclaration(362,12071 + def providedBy(386,12991 + def implementedBy(395,13259 + def classImplements(401,13421 + class C(413,13860 + def implementer(423,14076 + def classImplementsOnly(430,14306 + class C(441,14724 + def implementer_only(451,15005 + def directlyProvidedBy(458,15235 + def directlyProvides(464,15405 + class C(476,15836 + def alsoProvides(503,16750 + def noLongerProvides(513,16992 + def implements(528,17436 + class C(556,18309 + def implementsOnly(564,18505 + class C(588,19242 + def classProvides(596,19437 + class has 607,19904 + def provider(625,20501 + def moduleProvides(628,20592 + def Declaration(653,21486 +class IAdapterRegistry(663,21793 + def register(675,22244 + def registered(682,22474 + def lookup(696,22937 + def queryMultiAdapter(704,23185 + def lookup1(708,23342 + def queryAdapter(716,23622 + def adapter_hook(720,23765 + def lookupAll(726,23936 + def names(732,24139 + def subscribe(736,24254 + def subscriptions(746,24584 + def subscribers(753,24803 +class ComponentLookupError(759,24956 +class Invalid(762,25040 +class IObjectEvent(765,25116 +class ObjectEvent(776,25375 + def __init__(778,25403 +class IComponentLookup(781,25465 + def queryAdapter(794,25853 + def getAdapter(800,26069 + def queryMultiAdapter(807,26292 + def getMultiAdapter(813,26521 + def getAdapters(820,26757 + def subscribers(827,26993 + def handle(835,27233 + def queryUtility(841,27382 + def getUtilitiesFor(847,27555 + def getAllUtilitiesRegisteredFor(853,27727 +class IRegistration(862,27981 +class IUtilityRegistration(877,28438 +class _IBaseAdapterRegistration(885,28742 +class IAdapterRegistration(903,29301 +class ISubscriptionAdapterRegistration(907,29421 +class IHandlerRegistration(911,29565 +class IRegistrationEvent(922,29931 +class RegistrationEvent(927,30054 + def __repr__(930,30149 +class IRegistered(933,30246 +class Registered(938,30365 +class IUnregistered(941,30412 +class Unregistered(946,30537 +class IComponentRegistry(951,30641 + def registerUtility(955,30714 + def unregisterUtility(983,31591 + def registeredUtilities(1016,32869 + def registerAdapter(1023,33075 + def unregisterAdapter(1058,34380 + def registeredAdapters(1100,36241 + def registerSubscriptionAdapter(1107,36446 + def unregisterSubscriptionAdapter(1145,37920 + def registeredSubscriptionAdapters(1191,39865 + def registerHandler(1198,40107 + def unregisterHandler(1233,41370 + def registeredHandlers(1269,42776 +class IComponents(1277,42982 + +venv/lib/python2.7/site-packages/zope/interface/advice.py,193 +def getFrameInfo(38,1412 +def addClassAdvisor(74,2549 + class will 95,3776 + def advise(120,4750 +def isClassAdvisor(154,5860 +def determineMetaclass(159,6012 +def minimalBases(188,6917 + +venv/lib/python2.7/site-packages/zope/interface/adapter.py,1710 +class BaseAdapterRegistry(29,992 + def __init__(40,1376 + def _setBases(87,3454 + def _createLookup(96,3749 + def changed(101,3928 + def register(105,4053 + def registered(140,5073 + def unregister(159,5608 + def subscribe(207,7219 + def unsubscribe(234,8033 + def get(294,10060 + class XXXTwistedFakeOut:XXXTwistedFakeOut295,10101 +class LookupBaseFallback(301,10225 + def __init__(303,10260 + def changed(308,10362 + def _getcache(313,10486 + def lookup(326,10834 + def lookup1(348,11588 + def queryAdapter(361,12046 + def adapter_hook(364,12186 + def lookupAll(380,12762 + def subscriptions(395,13198 +class VerifyingBaseFallback(417,13818 + def changed(423,14111 + def _verify(428,14340 + def _getcache(433,14490 + def lookupAll(437,14621 + def subscriptions(441,14760 +class AdapterLookupBase(453,15098 + def __init__(455,15132 + def changed(461,15309 + def init_extendors(492,16590 + def add_extendor(497,16726 + def remove_extendor(509,17130 + def _subscribe(516,17354 + def _uncached_lookup(524,17578 + def queryMultiAdapter(547,18266 + def _uncached_lookupAll(558,18586 + def names(576,19195 + def _uncached_subscriptions(579,19303 + def subscribers(602,20017 +class AdapterLookup(616,20530 +class AdapterRegistry(620,20623 + def __init__(624,20701 + def _addSubregistry(631,20976 + def _removeSubregistry(634,21048 + def _setBases(638,21166 + def changed(649,21492 +class VerifyingAdapterLookup(656,21696 +class VerifyingAdapterRegistry(660,21801 +def _convert_None_to_Interface(664,21897 +def _lookup(670,22003 +def _lookupAll(688,22523 +def _subscriptions(700,22927 + +venv/lib/python2.7/site-packages/zope/interface/verify.py,98 +def _verify(27,1059 +def verifyClass(104,3887 +def verifyObject(107,3995 +def _incompat(110,4104 + +venv/lib/python2.7/site-packages/zope/interface/common/idatetime.py,1579 +class ITimeDeltaClass(23,927 +class ITimeDelta(38,1337 +class IDateClass(64,2100 + def today(78,2481 + def fromtimestamp(83,2611 + def fromordinal(93,3109 +class IDate(103,3423 + def replace(122,3915 + def timetuple(130,4217 + def toordinal(139,4566 + def weekday(146,4781 + def isoweekday(155,5012 + def isocalendar(164,5257 + def isoformat(183,6173 + def __str__(190,6379 + def ctime(193,6476 + def strftime(203,6877 +class IDateTimeClass(211,7096 + def today(225,7510 + def now(233,7722 + def utcnow(248,8389 + def fromtimestamp(257,8624 + def utcfromtimestamp(280,9792 + def fromordinal(290,10180 + def combine(299,10518 +class IDateTime(309,10911 + def date(334,11653 + def time(337,11735 + def timetz(345,11909 + def replace(352,12078 + def astimezone(360,12472 + def utcoffset(390,14006 + def dst(394,14124 + def tzname(399,14266 + def timetuple(402,14325 + def utctimetuple(405,14428 + def toordinal(408,14521 + def weekday(414,14664 + def isoweekday(421,14853 + def isocalendar(429,15063 + def isoformat(435,15218 + def __str__(450,15801 + def ctime(454,15923 + def strftime(464,16357 +class ITimeClass(471,16514 +class ITime(487,16906 + def replace(510,17416 + def isoformat(519,17778 + def __str__(528,18168 + def strftime(531,18255 + def utcoffset(537,18402 + def dst(547,18790 + def tzname(557,19188 +class ITZInfo(566,19431 + def utcoffset(570,19495 + def dst(583,20140 + def tzname(588,20303 + def fromutc(593,20431 + +venv/lib/python2.7/site-packages/zope/interface/common/interfaces.py,1134 +class IException(19,766 +class IStandardError(24,868 +class IWarning(32,1101 +class ISyntaxError(37,1196 +class ILookupError(42,1311 +class IValueError(47,1426 +class IRuntimeError(52,1537 +class IArithmeticError(57,1656 +class IAssertionError(62,1787 +class IAttributeError(67,1914 +class IDeprecationWarning(72,2041 +class IEOFError(77,2178 +class IEnvironmentError(82,2281 +class IFloatingPointError(87,2416 +class IIOError(92,2561 +class IImportError(97,2663 +class IIndentationError(102,2778 +class IIndexError(107,2911 +class IKeyError(112,3020 +class IKeyboardInterrupt(117,3121 +class IMemoryError(122,3260 +class INameError(127,3375 +class INotImplementedError(132,3482 +class IOSError(137,3628 +class IOverflowError(142,3730 +class IOverflowWarning(147,3857 +class IReferenceError(155,4088 +class IRuntimeWarning(160,4215 +class IStopIteration(165,4336 +class ISyntaxWarning(170,4455 +class ISystemError(175,4572 +class ISystemExit(180,4687 +class ITabError(185,4794 +class ITypeError(190,4900 +class IUnboundLocalError(195,5007 +class IUnicodeError(200,5142 +class IUserWarning(205,5258 +class IZeroDivisionError(210,5367 + +venv/lib/python2.7/site-packages/zope/interface/common/sequence.py,955 +class IMinimalSequence(23,844 + def __getitem__(38,1362 +class IFiniteSequence(44,1549 + def __len__(46,1591 +class IReadSequence(49,1653 + def __contains__(52,1742 + def __lt__(55,1825 + def __le__(58,1898 + def __eq__(61,1972 + def __ne__(64,2046 + def __gt__(67,2120 + def __ge__(70,2193 + def __add__(73,2267 + def __mul__(76,2342 + def __rmul__(79,2405 + def __getslice__(82,2470 +class IExtendedReadSequence(90,2679 + def count(93,2764 + def index(96,2838 +class IUniqueMemberWriteSequence(102,2966 + def __setitem__(105,3088 + def __delitem__(112,3303 + def __setslice__(119,3503 + def __delslice__(127,3734 + def __iadd__(134,3946 + def append(137,4012 + def insert(140,4068 + def pop(143,4137 + def remove(146,4222 + def reverse(149,4292 + def sort(152,4345 + def extend(155,4440 +class IWriteSequence(158,4533 + def __imul__(161,4628 +class ISequence(164,4694 + +venv/lib/python2.7/site-packages/zope/interface/common/mapping.py,824 +class IItemMapping(21,808 + def __getitem__(25,888 +class IReadMapping(32,1027 + def get(36,1101 + def __contains__(42,1246 +class IWriteMapping(46,1326 + def __delitem__(49,1403 + def __setitem__(52,1491 +class IEnumerableMapping(56,1571 + def keys(60,1674 + def __iter__(64,1753 + def values(68,1852 + def items(72,1935 + def __len__(76,2016 +class IMapping(80,2087 +class IIterableMapping(83,2176 + def iterkeys(92,2454 + def itervalues(95,2531 + def iteritems(98,2584 +class IClonableMapping(101,2635 + def copy(107,2765 +class IExtendedReadMapping(110,2812 + def has_key(118,3029 +class IExtendedWriteMapping(121,3134 + def clear(127,3262 + def update(130,3307 + def setdefault(133,3386 + def pop(136,3501 + def popitem(143,3773 +class IFullMapping(147,3909 + +venv/lib/python2.7/site-packages/zope/interface/common/tests/test_import_interfaces.py,62 +class TestInterfaceImport(16,653 + def test_import(18,700 + +venv/lib/python2.7/site-packages/zope/interface/common/tests/basemapping.py,539 +def testIReadMapping(18,702 +def test_keys(31,1152 +def test_iter(37,1383 +def test_values(43,1607 +def test_items(49,1858 +def test___len__(55,2099 +def testIEnumerableMapping(59,2214 +class BaseTestIReadMapping(66,2401 + def testIReadMapping(67,2437 +class BaseTestIEnumerableMapping(74,2665 + def test_keys(76,2773 + def test_values(82,2988 + def test_items(88,3209 + def test___len__(94,3427 + def _IReadMapping__stateDict(100,3637 + def _IReadMapping__sample(103,3731 + def _IReadMapping__absentKeys(106,3819 + +venv/lib/python2.7/site-packages/zope/interface/common/tests/test_idatetime.py,71 +class TestDateTimeInterfaces(26,1087 + def test_interfaces(28,1137 + +venv/lib/python2.7/site-packages/zope/interface/declarations.py,1875 + class implements 19,851 +class named(51,1896 + def __init__(53,1918 + def __call__(56,1974 +class Declaration(60,2063 + def __init__(63,2131 + def changed(66,2234 + def __contains__(73,2425 + def __iter__(79,2613 + def flattened(84,2753 + def __sub__(89,2895 + def __add__(99,3193 +class Implements(123,3802 + def named(134,4023 + def __repr__(145,4532 + def __reduce__(148,4611 + def __cmp(151,4685 + def __hash__(176,6081 + def __lt__(186,6647 + def __le__(190,6728 + def __gt__(194,6810 + def __ge__(198,6891 +def _implements_name(202,6973 +def implementedByFallback(214,7589 +def classImplementsOnly(301,10648 +def classImplements(315,11155 +def _implements_advice(345,12039 +class implementer(352,12239 + class C(371,12921 + def __init__(381,13081 + def __call__(384,13156 +class implementer_only(397,13575 + class C(412,14123 + def __init__(421,14272 + def __call__(424,14347 +def _implements(436,14885 +def implements(454,15670 +def implementsOnly(486,16713 +class Provides(518,17743 + def __init__(524,17959 + def __reduce__(529,18144 + def __get__(534,18243 +def Provides(551,18884 +def directlyProvides(567,19323 +def alsoProvides(603,20754 +def noLongerProvides(614,21221 +class ClassProvidesBaseFallback(621,21513 + def __get__(623,21555 +class ClassProvides(648,22268 + def __init__(655,22537 + def __reduce__(661,22790 +def directlyProvidedBy(667,22940 +def classProvides(685,23574 +def _classProvides_advice(735,25333 +class provider(743,25608 + def __init__(746,25684 + def __call__(749,25759 +def moduleProvides(753,25853 +def ObjectSpecification(797,27479 +def getObjectSpecificationFallback(804,27690 +def providedByFallback(821,28124 +class ObjectSpecificationDescriptorFallback(872,29857 + def __get__(879,30054 +def _normalizeargs(895,30529 + +venv/lib/python2.7/site-packages/zope/interface/registry.py,2458 + def notify(21,783 +class _UnhashableComponentCounter(43,1737 + def __init__(46,1842 + def __getitem__(50,1967 + def __setitem__(56,2123 + def __delitem__(63,2370 +def _defaultdict_int(70,2602 +class _UtilityRegistrations(73,2655 + def __init__(75,2693 + def __populate_cache(83,2976 + def __cache_utility(88,3161 + def __uncache_utility(97,3556 + def _is_utility_subscribed(112,4205 + def registerUtility(119,4441 + def unregisterUtility(130,4873 +class Components(141,5233 + def __init__(145,5303 + def __repr__(155,5700 + def __reduce__(158,5793 + def _init_registries(173,6511 + def _init_registrations(179,6766 + def _utility_registrations_cache(186,6985 + def _getBases(198,7550 + def _setBases(202,7662 + def registerUtility(215,8086 + def unregisterUtility(244,9079 + def registeredUtilities(275,10152 + def queryUtility(280,10352 + def getUtility(283,10481 + def getUtilitiesFor(289,10694 + def getAllUtilitiesRegisteredFor(293,10839 + def registerAdapter(296,10954 + def unregisterAdapter(314,11653 + def registeredAdapters(341,12670 + def queryAdapter(347,12950 + def getAdapter(350,13098 + def queryMultiAdapter(356,13339 + def getMultiAdapter(361,13538 + def getAdapters(367,13792 + def registerSubscriptionAdapter(375,14072 + def registeredSubscriptionAdapters(395,14898 + def unregisterSubscriptionAdapter(399,15055 + def subscribers(441,16539 + def registerHandler(444,16646 + def registeredHandlers(461,17250 + def unregisterHandler(465,17385 + def handle(499,18468 +def _getName(503,18551 +def _getUtilityProvided(509,18676 +def _getAdapterProvided(517,18941 +def _getAdapterRequired(525,19215 +class UtilityRegistration(554,20233 + def __init__(556,20269 + def __repr__(561,20512 + def __hash__(570,20860 + def __eq__(573,20909 + def __ne__(576,20980 + def __lt__(579,21051 + def __le__(582,21121 + def __gt__(585,21192 + def __ge__(588,21262 +class AdapterRegistration(592,21368 + def __init__(594,21404 + def __repr__(599,21643 + def __hash__(608,22009 + def __eq__(611,22058 + def __ne__(614,22129 + def __lt__(617,22200 + def __le__(620,22270 + def __gt__(623,22341 + def __ge__(626,22411 +class SubscriptionRegistration(630,22534 +class HandlerRegistration(635,22638 + def __init__(637,22687 + def factory(642,22892 + def __repr__(647,22965 + +venv/lib/python2.7/site-packages/zope/interface/_flatten.py,21 +def _flatten(20,736 + +venv/lib/python2.7/site-packages/zope/interface/ro.py,66 +def _mergeOrderings(18,734 +def _flatten(47,1417 +def ro(61,1883 + +venv/lib/python2.7/site-packages/zope/interface/interface.py,1812 +def invariant(34,1013 +def taggedValue(42,1237 +class Element(50,1500 + def __init__(60,1729 + def getName(69,1982 + def getDoc(73,2083 + def getTaggedValue(77,2192 + def queryTaggedValue(81,2326 + def getTaggedValueTags(85,2489 + def setTaggedValue(89,2611 +class SpecificationBasePy(93,2743 + def providedBy(95,2779 + def implementedBy(101,2942 + def isOrExtends(109,3212 +class InterfaceBasePy(123,3577 + def __call__(127,3678 + def __adapt__(145,4223 +class Specification(171,4782 + def __init__(188,5349 + def subscribe(193,5503 + def unsubscribe(196,5615 + def __setBases(205,5880 + def changed(223,6338 + def interfaces(256,7282 + def extends(267,7613 + def weakref(278,7964 + def get(281,8046 +class InterfaceClass(301,8591 + def __init__(309,8835 + def interfaces(377,11287 + def getBases(382,11416 + def isEqualOrExtendedBy(385,11471 + def names(389,11607 + def __iter__(401,11914 + def namesAndDescriptions(404,11981 + def getDescriptionFor(417,12340 + def __contains__(427,12588 + def direct(430,12665 + def queryDescriptionFor(433,12732 + def validateInvariants(436,12827 + def __repr__(455,13438 + def _call_conform(467,13795 + def __reduce__(486,14641 + def __cmp(489,14697 + def __hash__(520,15801 + def __eq__(527,16078 + def __ne__(531,16160 + def __lt__(535,16242 + def __le__(539,16323 + def __gt__(543,16405 + def __ge__(547,16486 +class Attribute(554,16641 +class Method(566,16853 + def _get_optional(580,17224 + def _set_optional(584,17340 + def _del_optional(586,17403 + def __call__(590,17532 + def getSignatureInfo(593,17636 + def getSignatureString(601,17900 +def fromFunction(614,18285 +def fromMethod(659,19483 +def _wire(668,19758 + +venv/lib/python2.7/site-packages/zope/interface/__init__.py,50 + class IMyInterface(22,899 + def meth(26,972 + +venv/lib/python2.7/site-packages/zope/interface/_compat.py,124 + def _normalize_name(21,722 + def _normalize_name(36,1050 +def _skip_under_py3k(51,1404 +def _skip_under_py2(56,1547 + +venv/lib/python2.7/site-packages/zope/interface/tests/advisory_testing.py,125 +def ping(21,770 + def pong(23,793 + class ClassicClass:ClassicClass32,937 +class NewStyleClass:NewStyleClass38,1100 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_verify.py,5678 +class Test_verifyClass(19,701 + def _callFUT(21,745 + def test_class_doesnt_implement(25,879 + class ICurrent(29,1031 + class Current(32,1084 + def test_class_doesnt_implement_but_classImplements_later(37,1212 + class ICurrent(41,1378 + class Current(44,1431 + def test_class_doesnt_have_required_method_simple(51,1566 + class ICurrent(56,1787 + def method(57,1822 + class Current(60,1885 + def test_class_has_required_method_simple(66,2043 + class ICurrent(70,2189 + def method(71,2224 + class Current(74,2287 + def method(76,2319 + def test_class_doesnt_have_required_method_derived(81,2436 + class IBase(86,2658 + def method(87,2690 + class IDerived(90,2738 + class Current(94,2818 + def test_class_has_required_method_derived(100,2976 + class IBase(104,3123 + def method(105,3155 + class IDerived(108,3203 + class Current(112,3283 + def method(114,3315 + def test_method_takes_wrong_arg_names_but_OK(119,3432 + class ICurrent(124,3628 + def method(126,3664 + class Current(130,3744 + def method(132,3776 + def test_method_takes_not_enough_args(137,3896 + class ICurrent(142,4111 + def method(144,4147 + class Current(148,4227 + def method(150,4259 + def test_method_doesnt_take_required_starargs(156,4449 + class ICurrent(161,4672 + def method(163,4708 + class Current(167,4792 + def method(169,4824 + def test_method_doesnt_take_required_only_kwargs(175,5014 + class ICurrent(180,5240 + def method(182,5276 + class Current(186,5359 + def method(188,5391 + def test_method_takes_extra_arg(194,5581 + class ICurrent(199,5790 + def method(201,5826 + class Current(205,5906 + def method(207,5938 + def test_method_takes_extra_arg_with_default(213,6134 + class ICurrent(217,6283 + def method(219,6319 + class Current(223,6399 + def method(225,6431 + def test_method_takes_only_positional_args(230,6559 + class ICurrent(234,6706 + def method(236,6742 + class Current(240,6822 + def method(242,6854 + def test_method_takes_only_kwargs(247,6978 + class ICurrent(252,7189 + def method(254,7225 + class Current(258,7305 + def method(260,7337 + def test_method_takes_extra_starargs(266,7533 + class ICurrent(270,7674 + def method(272,7710 + class Current(276,7790 + def method(278,7822 + def test_method_takes_extra_starargs_and_kwargs(283,7949 + class ICurrent(287,8101 + def method(289,8137 + class Current(293,8217 + def method(295,8249 + def test_method_doesnt_take_required_positional_and_starargs(300,8382 + class ICurrent(305,8620 + def method(307,8656 + class Current(311,8743 + def method(313,8775 + def test_method_takes_required_positional_and_starargs(319,8968 + class ICurrent(323,9127 + def method(325,9163 + class Current(329,9250 + def method(331,9282 + def test_method_takes_only_starargs(336,9409 + class ICurrent(340,9549 + def method(342,9585 + class Current(346,9672 + def method(348,9704 + def test_method_takes_required_kwargs(353,9828 + class ICurrent(357,9970 + def method(359,10006 + class Current(363,10093 + def method(365,10125 + def test_method_takes_positional_plus_required_starargs(370,10248 + class ICurrent(375,10481 + def method(377,10517 + class Current(381,10601 + def method(383,10633 + def test_method_doesnt_take_required_kwargs(390,10834 + class ICurrent(395,11055 + def method(397,11091 + class Current(401,11178 + def method(403,11210 + def test_class_has_method_for_iface_attr(410,11404 + class ICurrent(415,11594 + class Current:Current419,11711 + def attr(421,11735 + def test_class_has_nonmethod_for_method(426,11850 + class ICurrent(431,12067 + def method(432,12102 + class Current:Current436,12181 + def test_class_has_attribute_for_attribute(442,12343 + class ICurrent(447,12535 + class Current:Current451,12652 + def test_class_misses_attribute_for_attribute(457,12740 + class ICurrent(463,12981 + class Current:Current467,13098 + def test_w_callable_non_func_method(472,13181 + class QuasiMethod(477,13373 + def __call__(478,13408 + class QuasiCallable(481,13498 + def __call__(482,13535 + class ICurrent(485,13625 + class Current:Current489,13743 + def test_w_decorated_method(495,13845 + def decorator(499,13977 + class ICurrent(503,14127 + def method(505,14163 + class Current(509,14243 + def method(512,14298 +class Test_verifyObject(517,14418 + def _callFUT(519,14462 + def test_class_misses_attribute_for_attribute(525,14685 + class ICurrent(532,14993 + class Current:Current536,15110 + def test_module_hit(542,15260 + def test_module_miss(548,15444 + class IDummyModule(554,15670 + def test_staticmethod_hit_on_class(560,15834 + class IFoo(565,16025 + def bar(567,16057 + class Foo(571,16142 + def bar(574,16196 +class OldSkool:OldSkool581,16410 + +venv/lib/python2.7/site-packages/zope/interface/tests/m1.py,34 +class I1(18,736 +class I2(19,762 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_advice.py,2397 +class FrameInfoTest(35,1404 + def test_w_module(37,1445 + def test_w_ClassicClass(46,1806 + def test_w_NewStyleClass(59,2267 + def test_inside_function_call(70,2634 + def test_inside_exec(78,2994 +class AdviceTests(94,3515 + def test_order(97,3576 + class Foo(100,3682 + def test_single_explicit_meta(113,4010 + class Metaclass(116,4115 + class Concrete(119,4164 + def test_mixed_metas(128,4371 + class Metaclass1(131,4467 + class Metaclass2(134,4517 + class Base1:Base1137,4567 + class Base2:Base2140,4628 + class Derived(144,4702 + class Metaclass3(150,4881 + class Derived(153,4949 + def test_meta_no_bases(162,5208 + class Thing:Thing165,5341 +class Test_isClassAdvisor(171,5490 + def _callFUT(173,5537 + def test_w_non_function(177,5675 + def test_w_normal_function(180,5764 + def foo(181,5802 + def test_w_advisor_function(185,5914 + def bar(186,5953 +class Test_determineMetaclass(192,6106 + def _callFUT(194,6157 + def test_empty(199,6325 + def test_empty_w_explicit_metatype(203,6443 + class Meta(204,6489 + def test_single(208,6589 + class Meta(209,6616 + def test_meta_of_class(214,6737 + class Metameta(215,6771 + class Meta(218,6819 + def test_meta_of_class_py3k(224,6969 + def test_multiple_in_hierarchy(240,7416 + class Meta_A(241,7458 + class Meta_B(243,7503 + class A(245,7550 + class B(247,7608 + def test_multiple_in_hierarchy_py3k(252,7745 + def test_multiple_not_in_hierarchy(273,8347 + class Meta_A(274,8393 + class Meta_B(276,8438 + class A(278,8483 + class B(280,8541 + def test_multiple_not_in_hierarchy_py3k(285,8682 +class Test_minimalBases(306,9269 + def _callFUT(308,9314 + def test_empty(312,9440 + def test_w_oldstyle_meta(316,9537 + class C:C317,9573 + def test_w_oldstyle_class(322,9685 + class C:C323,9722 + def test_w_newstyle_meta(327,9807 + def test_w_newstyle_class(330,9900 + class C(331,9937 + def test_simple_hierarchy_skips_implied(335,10030 + class A(336,10081 + class B(338,10123 + class C(340,10160 + class D(342,10197 + def test_repeats_kicked_to_end_of_queue(350,10514 + class A(351,10565 + class B(353,10607 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_ro.py,1015 +class Test__mergeOrderings(18,694 + def _callFUT(20,742 + def test_empty(24,874 + def test_single(27,949 + def test_w_duplicates(30,1051 + def test_suffix_across_multiple_duplicats(33,1158 +class Test__flatten(42,1422 + def _callFUT(44,1463 + def test_w_empty_bases(48,1567 + class Foo(49,1601 + def test_w_single_base(55,1745 + class Foo(56,1779 + def test_w_bases(60,1884 + class Foo(61,1912 + class Bar(63,1956 + def test_w_diamond(67,2063 + class Foo(68,2093 + class Bar(70,2137 + class Baz(72,2178 + class Qux(74,2219 +class Test_ro(80,2380 + def _callFUT(82,2415 + def test_w_empty_bases(86,2507 + class Foo(87,2541 + def test_w_single_base(93,2685 + class Foo(94,2719 + def test_w_bases(98,2824 + class Foo(99,2852 + class Bar(101,2896 + def test_w_diamond(105,3003 + class Foo(106,3033 + class Bar(108,3077 + class Baz(110,3118 + class Qux(112,3159 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_sorting.py,207 +class I1(21,728 +class I2(22,754 +class I3(23,773 +class I4(24,792 +class I5(25,818 +class I6(26,837 +class Test(29,858 + def test(31,890 + def test_w_None(36,1019 + def test_w_equal_names(41,1167 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_declarations.py,11173 +class _Py3ClassAdvice(21,778 + def _run_generated_code(23,810 +class NamedTests(44,1548 + def test_class(46,1586 + class Foo(50,1690 + def test_function(55,1793 + def doFoo(59,1900 + def test_instance(64,2023 + class Foo(67,2107 +class DeclarationTests(75,2258 + def _getTargetClass(77,2302 + def _makeOne(81,2421 + def test_ctor_no_bases(84,2510 + def test_ctor_w_interface_in_bases(88,2627 + def test_ctor_w_implements_in_bases(94,2862 + def test_changed_wo_existing__v_attrs(100,3087 + def test_changed_w_existing__v_attrs(105,3265 + def test___contains__w_self(111,3459 + def test___contains__w_unrelated_iface(117,3667 + def test___contains__w_base_interface(123,3886 + def test___iter___empty(129,4107 + def test___iter___single_base(133,4215 + def test___iter___multiple_bases(139,4435 + def test___iter___inheritance(146,4708 + def test___iter___w_nested_sequence_overlap(153,5006 + def test_flattened_empty(160,5298 + def test_flattened_single_base(165,5483 + def test_flattened_multiple_bases(172,5782 + def test_flattened_inheritance(180,6134 + def test_flattened_w_nested_sequence_overlap(188,6486 + def test___sub___unrelated_interface(197,6906 + def test___sub___related_interface(206,7271 + def test___sub___related_interface_by_inheritance(213,7525 + def test___add___unrelated_interface(221,7841 + def test___add___related_interface(230,8212 +class TestImplements(241,8608 + def _getTargetClass(243,8650 + def _makeOne(247,8767 + def test_ctor_no_bases(250,8856 + def test___repr__(257,9107 + def test___reduce__(262,9266 + def test_sort(267,9461 + class A(269,9548 + class B(271,9590 + def test_proxy_equality(286,10236 + class Proxy(288,10340 + def __init__(289,10369 + def __getattr__(292,10451 + def __eq__(295,10537 + def __ne__(298,10621 + class A(302,10767 + class B(305,10810 +class Test_implementedByFallback(327,11529 + def _callFUT(329,11583 + def test_dictless_wo_existing_Implements_wo_registrations(333,11741 + class Foo(334,11810 + def test_dictless_wo_existing_Implements_cant_assign___implemented__(340,11993 + class Foo(341,12073 + def _get_impl(342,12100 + def _set_impl(344,12177 + def __call__(347,12308 + def test_dictless_wo_existing_Implements_w_registrations(353,12499 + class Foo(355,12615 + def test_dictless_w_existing_Implements(365,12963 + class Foo(368,13101 + def test_dictless_w_existing_not_Implements(374,13281 + class Foo(376,13396 + def test_w_existing_attr_as_Implements(383,13624 + class Foo(386,13761 + def test_builtins_added_to_cache(390,13876 + def test_builtins_w_existing_cache(406,14681 + def test_oldstyle_class_no_assertions(418,15229 + class Foo:Foo420,15314 + def test_no_assertions(424,15406 + class Foo(426,15476 + def test_w_None_no_bases_not_factory(430,15576 + class Foo(431,15624 + def test_w_None_no_bases_w_factory(436,15764 + class Foo(438,15888 + def __call__(440,15950 + def test_w_None_no_bases_w_class(453,16454 + class Foo(455,16560 + def test_w_existing_Implements(466,17069 + class Foo(469,17198 +class Test_implementedBy(474,17314 + def _callFUT(477,17408 + def test_optimizations(481,17550 +class Test_classImplementsOnly(492,17969 + def _callFUT(494,18021 + def test_no_existing(498,18175 + class Foo(501,18329 + def test_w_existing_Implements(514,18893 + class Foo(521,19194 +class Test_classImplements(531,19507 + def _callFUT(533,19555 + def test_no_existing(537,19701 + class Foo(540,19855 + def test_w_existing_Implements(553,20418 + class Foo(560,20719 + def test_w_existing_Implements_w_bases(569,21036 + class Base1(578,21423 + class Base2(580,21489 + class Foo(582,21555 +class Test__implements_advice(593,21942 + def _callFUT(595,21993 + def test_no_existing_implements(599,22145 + class Foo(604,22409 +class Test_implementer(612,22733 + def _getTargetClass(614,22777 + def _makeOne(618,22896 + def test_oldstyle_class(621,22985 + class Foo:Foo626,23205 + def test_newstyle_class(640,23804 + class Foo(644,23999 + def test_nonclass_cannot_assign_attr(658,24606 + def test_nonclass_can_assign_attr(664,24851 + class Foo(667,24994 +class Test_implementer_only(679,25393 + def _getTargetClass(681,25442 + def _makeOne(685,25571 + def test_function(688,25660 + def _function(692,25827 + def test_method(696,25953 + class Bar:Bar700,26118 + def _method(701,26137 + def test_oldstyle_class(705,26271 + class Foo:Foo712,26562 + def test_newstyle_class(722,26915 + class Foo(728,27181 +class Test_implementsOnly(741,27614 + def test_simple(743,27678 + def test_called_once_from_class_w_bases(771,28713 +class Test_implements(795,29572 + def test_called_from_function(797,29632 + def test_called_twice_from_class(815,30342 + def test_called_once_from_class(839,31245 +class ProvidesClassTests(855,31808 + def _getTargetClass(857,31854 + def _makeOne(861,31977 + def test_simple_class_one_interface(864,32066 + class Foo(867,32211 + def test___reduce__(872,32341 + class Foo(876,32542 + def test___get___class(883,32754 + class Foo(886,32886 + def test___get___instance(892,33053 + class Foo(895,33188 + def _test(899,33304 +class Test_Provides(905,33436 + def _callFUT(907,33477 + def test_no_cached_spec(911,33609 + class Foo(916,33809 + def test_w_cached_spec(923,34059 + class Foo(928,34264 +class Test_directlyProvides(936,34494 + def _callFUT(938,34543 + def test_w_normal_object(942,34691 + class Foo(946,34887 + def test_w_class(953,35111 + class Foo(957,35299 + def test_w_non_descriptor_aware_metaclass(964,35525 + class MetaClass(968,35734 + def __getattribute__(969,35765 + class Foo(977,36145 + def test_w_classless_object(982,36294 + class Foo(987,36515 + def __getattribute__(988,36542 + def __setattr__(993,36755 +class Test_alsoProvides(1001,37039 + def _callFUT(1003,37084 + def test_wo_existing_provides(1007,37224 + class Foo(1011,37425 + def test_w_existing_provides(1018,37649 + class Foo(1024,37952 +class Test_noLongerProvides(1033,38219 + def _callFUT(1035,38268 + def test_wo_existing_provides(1039,38416 + class Foo(1042,38555 + def test_w_existing_provides_hit(1048,38706 + class Foo(1052,38913 + def test_w_existing_provides_miss(1059,39100 + class Foo(1064,39346 + def test_w_iface_implemented_by_class(1071,39537 + class Foo(1076,39771 +class ClassProvidesBaseFallbackTests(1082,39901 + def _getTargetClass(1084,39959 + def _makeOne(1088,40106 + class Derived(1091,40244 + def __init__(1092,40291 + def test_w_same_class_via_class(1097,40439 + class Foo(1100,40580 + def test_w_same_class_via_instance(1105,40734 + class Foo(1108,40878 + def test_w_different_class(1114,41052 + class Foo(1117,41188 + class Bar(1119,41232 +class ClassProvidesBaseTests(1127,41498 + def _getTargetClass(1130,41600 + def test_optimizations(1134,41731 +class ClassProvidesTests(1144,42118 + def _getTargetClass(1146,42164 + def _makeOne(1150,42287 + def test_w_simple_metaclass(1153,42376 + class Foo(1159,42638 + def test___reduce__(1165,42858 + class Foo(1171,43112 +class Test_directlyProvidedBy(1178,43343 + def _callFUT(1180,43394 + def test_wo_declarations_in_class_or_instance(1184,43546 + class Foo(1185,43603 + def test_w_declarations_in_class_but_not_instance(1190,43723 + class Foo(1195,43969 + def test_w_declarations_in_instance_but_not_class(1200,44089 + class Foo(1204,44313 + def test_w_declarations_in_instance_and_class(1210,44473 + class Foo(1217,44818 +class Test_classProvides(1224,44979 + def test_called_from_function(1226,45042 + def test_called_twice_from_class(1246,45796 + def test_called_once_from_class(1270,46714 +class Test_provider(1288,47358 + def _getTargetClass(1290,47399 + def _makeOne(1294,47512 + def test_w_class(1297,47601 + class Foo(1302,47818 +class Test_moduleProvides(1308,47990 + def test_called_from_function(1310,48037 + def test_called_from_class(1325,48587 + def test_called_once_from_module_scope(1339,49122 + def test_called_twice_from_module_scope(1352,49642 +class Test_getObjectSpecificationFallback(1367,50183 + def _callFUT(1369,50246 + def test_wo_existing_provides_classless(1373,50422 + class Foo(1375,50495 + def __getattribute__(1376,50522 + def __setattr__(1384,50845 + def test_existing_provides_is_spec(1390,51033 + def foo(1394,51242 + def test_existing_provides_is_not_spec(1400,51422 + def foo(1401,51472 + def test_existing_provides(1407,51662 + class Foo(1411,51863 + def test_wo_provides_on_class_w_implements(1418,52043 + class Foo(1423,52282 + def test_wo_provides_on_class_wo_implements(1429,52426 + class Foo(1430,52481 +class Test_getObjectSpecification(1437,52622 + def _callFUT(1440,52734 + def test_optimizations(1444,52894 +class Test_providedByFallback(1457,53422 + def _callFUT(1459,53473 + def test_wo_providedBy_on_class_wo_implements(1463,53625 + class Foo(1464,53682 + def test_w_providedBy_valid_spec(1470,53822 + class Foo(1474,54021 + def test_w_providedBy_invalid_spec(1481,54214 + class Foo(1482,54260 + def test_w_providedBy_invalid_spec_class_w_implements(1489,54438 + class Foo(1494,54688 + def test_w_providedBy_invalid_spec_w_provides_no_provides_on_class(1501,54870 + class Foo(1502,54948 + def test_w_providedBy_invalid_spec_w_provides_diff_provides_on_class(1510,55174 + class Foo(1511,55254 + def test_w_providedBy_invalid_spec_w_provides_same_provides_on_class(1520,55516 + class Foo(1525,55781 +class Test_providedBy(1534,56019 + def _callFUT(1537,56107 + def test_optimizations(1541,56243 +class ObjectSpecificationDescriptorFallbackTests(1552,56644 + def _getTargetClass(1554,56714 + def _makeOne(1559,56899 + def test_accessed_via_class(1562,56988 + class Foo(1566,57182 + def test_accessed_via_inst_wo_provides(1572,57378 + class Foo(1579,57708 + def test_accessed_via_inst_w_provides(1586,57924 + class Foo(1595,58356 +class ObjectSpecificationDescriptorTests(1604,58615 + def _getTargetClass(1608,58758 + def test_optimizations(1612,58913 +class _Monkey(1628,59451 + def __init__(1630,59547 + def __enter__(1636,59769 + def __exit__(1639,59815 +class _MonkeyDict(1644,59964 + def __init__(1646,60072 + def __enter__(1653,60302 + def __exit__(1656,60355 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_interface.py,14816 +class Test_invariant(24,804 + def test_w_single(26,846 + def _check(30,988 + class Foo(33,1062 + def test_w_multiple(39,1230 + def _check(43,1374 + def _another_check(46,1448 + class Foo(49,1530 +class Test_taggedValue(57,1753 + def test_w_single(59,1797 + class Foo(63,1941 + def test_w_multiple(69,2111 + class Foo(73,2257 + def test_w_multiple_overwriting(80,2481 + class Foo(84,2639 +class ElementTests(93,2902 + def _getTargetClass(97,2974 + def _makeOne(101,3082 + def test_ctor_defaults(106,3225 + def test_ctor_no_doc_space_in_name(114,3577 + def test_getTaggedValue_miss(119,3775 + def test_queryTaggedValue_miss(123,3922 + def test_queryTaggedValue_miss_w_default(127,4068 + def test_setTaggedValue(131,4232 +class SpecificationBasePyTests(139,4546 + def _getTargetClass(141,4598 + def _makeOne(145,4730 + def test_providedBy_miss(148,4795 + def _providedBy(152,4960 + def test_providedBy_hit(157,5128 + class _Decl(160,5237 + def _providedBy(162,5299 + def test_implementedBy_miss(167,5467 + def _implementedBy(171,5635 + def test_implementedBy_hit(176,5815 + class _Decl(179,5927 + def _implementedBy(181,5989 + def test_isOrExtends_miss(186,6169 + def test_isOrExtends_hit(191,6350 + def test___call___miss(197,6554 + def test___call___hit(202,6732 +class SpecificationBaseTests(209,6934 + def _getTargetClass(211,6984 + def test_optimizations(215,7112 +class InterfaceBasePyTests(225,7478 + def _getTargetClass(227,7526 + def _makeOne(231,7650 + class IB(232,7697 + def _call_conform(233,7739 + def providedBy(235,7822 + def test___call___w___conform___returning_value(239,7927 + class _Adapted(242,8049 + def __conform__(243,8081 + def test___call___w___conform___miss_ob_provides(247,8210 + class _Adapted(249,8303 + def __conform__(250,8335 + def test___call___wo___conform___ob_no_provides_w_alternate(255,8483 + def test___call___w___conform___ob_no_provides_wo_alternate(261,8706 + def test___adapt___ob_provides(266,8889 + def test___adapt___ob_no_provides_uses_hooks(271,9050 + def _hook_miss(276,9233 + def _hook_hit(279,9334 +class InterfaceBaseTests(286,9583 + def _getTargetClass(288,9629 + def test_optimizations(292,9749 +class SpecificationTests(302,10103 + def _getTargetClass(304,10149 + def _makeOne(308,10269 + def test_ctor(313,10427 + def test_subscribe_first_time(322,10781 + def test_subscribe_again(329,11013 + def test_unsubscribe_miss(336,11218 + def test_unsubscribe(341,11377 + def test___setBases_subscribes_bases_and_notifies_dependents(351,11687 + class I(356,11904 + class J(358,11949 + def test_changed_clears_volatiles_and_implied(367,12253 + class I(369,12365 + def test_interfaces_skips_already_seen(378,12639 + class IFoo(380,12744 + def test_extends_strict_wo_self(385,12894 + class IFoo(387,12992 + def test_extends_strict_w_self(392,13134 + def test_extends_non_strict_w_self(396,13266 + def test_get_hit_w__v_attrs(400,13402 + def test_get_hit_from_base_wo__v_attrs(406,13581 + class IFoo(409,13741 + class IBar(411,13807 +class InterfaceClassTests(417,14037 + def _getTargetClass(419,14084 + def _makeOne(423,14206 + def test_ctor_defaults(427,14395 + def test_ctor_bad_bases(435,14688 + def test_ctor_w_attrs_attrib_methods(439,14832 + def _bar(442,14993 + def test_ctor_attrs_w___locals__(454,15428 + def test_ctor_attrs_w___annotations__(463,15786 + def test_ctor_attrs_w__decorator_non_return(472,16154 + def test_ctor_attrs_w_invalid_attr_type(482,16601 + def test_ctor_w_explicit___doc__(488,16869 + def test_interfaces(494,17106 + def test_getBases(498,17230 + def test_isEqualOrExtendedBy_identity(503,17395 + def test_isEqualOrExtendedBy_subiface(507,17535 + def test_isEqualOrExtendedBy_unrelated(513,17782 + def test_names_w_all_False_ignores_bases(519,18029 + def _bar(522,18194 + def test_names_w_all_True_no_bases(533,18650 + def _bar(536,18809 + def test_names_w_all_True_w_bases_simple(544,19077 + def _bar(547,19242 + def test_names_w_all_True_bases_w_same_names(558,19711 + def _bar(561,19880 + def _foo(563,19928 + def test___iter__(575,20449 + def _bar(578,20591 + def _foo(580,20639 + def test_namesAndDescriptions_w_all_False_ignores_bases(592,21144 + def _bar(595,21324 + def test_namesAndDescriptions_w_all_True_no_bases(608,21869 + def _bar(611,22043 + def test_namesAndDescriptions_w_all_True_simple(622,22434 + def _bar(625,22606 + def test_namesAndDescriptions_w_all_True_bases_w_same_names(640,23256 + def _bar(643,23440 + def _foo(645,23488 + def test_getDescriptionFor_miss(661,24193 + def test_getDescriptionFor_hit(665,24338 + def _bar(668,24493 + def test___getitem___miss(677,24829 + def _test(679,24896 + def test___getitem___hit(683,24996 + def _bar(686,25145 + def test___contains___miss(695,25445 + def test___contains___hit(699,25558 + def _bar(702,25708 + def test_direct_miss(711,25982 + def test_direct_hit_local_miss_bases(715,26100 + def _bar(718,26261 + def _foo(720,26309 + def test_queryDescriptionFor_miss(734,26943 + def test_queryDescriptionFor_hit(738,27091 + def test_validateInvariants_pass(744,27359 + def _passable(746,27429 + def test_validateInvariants_fail_wo_errors_passed(755,27762 + def _passable(758,27912 + def _fail(762,28056 + def test_validateInvariants_fail_w_errors_passed(772,28472 + def _fail(776,28638 + def test_validateInvariants_fail_in_base_wo_errors_passed(787,29087 + def _passable(790,29245 + def _fail(794,29389 + def test_validateInvariants_fail_in_base_w_errors_passed(806,29912 + def _passable(810,30090 + def _fail(814,30234 + def test___reduce__(828,30865 + def test___hash___normal(832,30996 + def test___hash___missing_required_attrs(838,31227 + class Derived(842,31348 + def __init__(843,31395 + def test_comparison_with_None(854,31901 + def test_comparison_with_same_instance(870,32446 + def test_comparison_with_same_named_instance_in_other_module(880,32771 +class InterfaceTests(899,33461 + def test_attributes_link_to_interface(901,33503 + class I1(905,33643 + def test_methods_link_to_interface(910,33766 + class I1(913,33858 + def method(915,33888 + def test_classImplements_simple(920,34012 + class ICurrent(925,34196 + def method1(926,34231 + def method2(928,34283 + class IOther(931,34336 + class Current(934,34387 + def method1(936,34457 + def method2(938,34538 + def test_classImplements_base_not_derived(950,34995 + class IBase(954,35188 + def method(955,35220 + class IDerived(957,35267 + class Current(959,35315 + def method(961,35376 + def test_classImplements_base_and_derived(972,35822 + class IBase(977,36016 + def method(978,36048 + class IDerived(981,36096 + class Current(984,36145 + def method(986,36215 + def test_classImplements_multiple(1000,36796 + class ILeft(1005,36982 + def method(1006,37014 + class IRight(1009,37062 + class Left(1012,37109 + def method(1015,37174 + class Right(1018,37249 + class Ambi(1021,37316 + def test_classImplements_multiple_w_explict_implements(1033,37706 + class ILeft(1038,37913 + def method(1040,37946 + class IRight(1043,37994 + class IOther(1046,38041 + class Left(1049,38092 + def method(1052,38151 + class Right(1055,38226 + class Other(1058,38293 + class Mixed(1061,38360 + def testInterfaceExtendsInterface(1076,38981 + def test_verifyClass(1093,39749 + class ICheckMe(1099,39927 + def method(1102,40004 + class CheckMe(1105,40058 + def method(1109,40156 + def test_verifyObject(1114,40288 + class ICheckMe(1120,40468 + def method(1123,40545 + class CheckMe(1126,40599 + def method(1130,40697 + def test_interface_object_provides_Interface(1137,40861 + class AnInterface(1140,40963 + def test_names_simple(1145,41079 + class ISimple(1150,41204 + def method(1153,41280 + def test_names_derived(1158,41399 + class IBase(1163,41525 + def method(1166,41599 + class IDerived(1169,41647 + def method(1172,41722 + def method2(1175,41770 + def test_namesAndDescriptions_simple(1183,42052 + class ISimple(1189,42244 + def method(1192,42320 + def test_namesAndDescriptions_derived(1207,42971 + class IBase(1213,43164 + def method(1216,43238 + class IDerived(1219,43293 + def method(1222,43368 + def method2(1225,43435 + def test_getDescriptionFor_nonesuch_no_default(1264,45462 + class IEmpty(1267,45566 + def test_getDescriptionFor_simple(1272,45692 + class ISimple(1278,45881 + def method(1281,45957 + def test_getDescriptionFor_derived(1294,46433 + class IBase(1300,46623 + def method(1303,46697 + class IDerived(1306,46752 + def method(1309,46827 + def method2(1312,46894 + def test___getitem__nonesuch(1335,47823 + class IEmpty(1338,47909 + def test___getitem__simple(1343,48029 + class ISimple(1349,48211 + def method(1352,48287 + def test___getitem___derived(1365,48727 + class IBase(1371,48911 + def method(1374,48985 + class IDerived(1377,49040 + def method(1380,49115 + def method2(1383,49182 + def test___contains__nonesuch(1406,50039 + class IEmpty(1409,50126 + def test___contains__simple(1414,50225 + class ISimple(1419,50356 + def method(1422,50432 + def test___contains__derived(1428,50576 + class IBase(1433,50708 + def method(1436,50782 + class IDerived(1439,50837 + def method(1442,50912 + def method2(1445,50979 + def test___iter__empty(1453,51219 + class IEmpty(1456,51299 + def test___iter__simple(1461,51394 + class ISimple(1466,51521 + def method(1469,51597 + def test___iter__derived(1474,51721 + class IBase(1479,51849 + def method(1482,51923 + class IDerived(1485,51978 + def method(1488,52053 + def method2(1491,52120 + def test_function_attributes_become_tagged_values(1497,52292 + class ITagMe(1500,52399 + def method(1501,52432 + def test___doc___non_element(1508,52610 + class IHaveADocString(1511,52696 + def test___doc___as_element(1517,52867 + class IHaveADocString(1521,52997 + def _errorsEqual(1528,53217 + def test_invariant_simple(1544,53837 + class IInvariant(1550,54062 + class HasInvariant(1555,54246 + def test_invariant_nested(1574,54966 + class IInvariant(1580,55191 + class ISubInvariant(1585,55375 + class HasInvariant(1588,55459 + def test_invariant_mutandis(1621,56897 + class IInvariant(1627,57124 + class HasInvariant(1632,57308 + def test___doc___element(1674,59141 + class I(1677,59267 + class I(1683,59396 + def testIssue228(1692,59597 + class I(1700,59883 + class OldStyle:OldStyle1703,59930 + def test_invariant_as_decorator(1708,60056 + class IRange(1715,60336 + def range_invariant(1720,60479 + class Range(1725,60629 + def __init__(1727,60659 + def test_taggedValue(1737,60983 + class ITagged(1742,61153 + class HasInvariant(1747,61336 + def test_description_cache_management(1753,61518 + class I1(1760,61851 + class I2(1763,61912 + class I3(1766,61952 + def test___call___defers_to___conform___(1774,62127 + class I(1778,62272 + class C(1782,62342 + def __conform__(1783,62367 + def test___call___object_implements(1788,62472 + class I(1792,62612 + class C(1796,62682 + def test___call___miss_wo_alternate(1802,62777 + class I(1805,62870 + class C(1808,62916 + def test___call___miss_w_alternate(1814,63019 + class I(1817,63111 + class C(1820,63157 + def test___call___w_adapter_hook(1826,63261 + def _miss(1831,63447 + def _hit(1834,63496 + class I(1837,63551 + class C(1840,63597 +class AttributeTests(1853,63866 + def _getTargetClass(1857,63939 +class MethodTests(1862,64052 + def _getTargetClass(1866,64121 + def test_optional_as_property(1870,64227 + def test___call___raises_BrokenImplementation(1878,64521 + def test_getSignatureInfo_bare(1889,64941 + def test_getSignatureString_bare(1898,65308 + def test_getSignatureString_w_only_required(1902,65446 + def test_getSignatureString_w_optional(1907,65652 + def test_getSignatureString_w_varargs(1913,65900 + def test_getSignatureString_w_kwargs(1918,66080 +class Test_fromFunction(1924,66256 + def _callFUT(1926,66301 + def test_bare(1930,66438 + def _func(1931,66463 + def test_w_interface(1945,67058 + class IFoo(1947,67150 + def _func(1949,67203 + def test_w_name(1954,67352 + def _func(1955,67379 + def test_w_only_required(1960,67541 + def _func(1961,67577 + def test_w_optional(1971,67965 + def _func(1972,67996 + def test_w_optional_self(1982,68397 + def _func(1990,68645 + def test_w_varargs(2000,69041 + def _func(2001,69071 + def test_w_kwargs(2011,69453 + def _func(2012,69482 + def test_full_spectrum(2022,69861 + def _func(2023,69895 +class Test_fromMethod(2034,70329 + def _callFUT(2036,70372 + def test_no_args(2040,70505 + class Foo(2041,70533 + def bar(2042,70560 + def test_full_spectrum(2056,71165 + class Foo(2057,71199 + def bar(2058,71226 + def test_w_non_method(2068,71673 + def foo(2069,71706 +class DummyDependent(2083,72295 + def __init__(2085,72326 + def changed(2088,72378 +def _barGreaterThanFoo(2092,72472 +def _ifFooThenBar(2104,72990 +class _Monkey(2110,73177 + def __init__(2112,73273 + def __enter__(2118,73495 + def __exit__(2121,73541 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_adapter.py,9017 +def _makeInterfaces(19,684 + class IB0(22,749 + class IB1(23,780 + class IB2(24,805 + class IB3(25,830 + class IB4(26,860 + class IF0(28,891 + class IF1(29,922 + class IR0(31,948 + class IR1(32,979 +class BaseAdapterRegistryTests(37,1062 + def _getTargetClass(39,1114 + class _CUT(41,1208 + class LookupClass(42,1249 + def __init__(44,1331 + def changed(46,1397 + def add_extendor(48,1483 + def remove_extendor(50,1584 + def _makeOne(57,1907 + def test_lookup_delegation(60,1972 + def test__generation_on_first_creation(67,2216 + def test__generation_after_calling_changed(72,2406 + def test__generation_after_changing___bases__(80,2728 + class _Base(81,2785 + def test_register(86,2943 + def test_register_with_invalid_name(94,3320 + def test_register_with_value_None_unregisters(100,3577 + def test_register_with_same_value(107,3893 + def test_registered_empty(116,4289 + def test_registered_non_empty_miss(120,4432 + def test_registered_non_empty_hit(126,4704 + def test_unregister_empty(131,4905 + def test_unregister_non_empty_miss_on_required(136,5109 + def test_unregister_non_empty_miss_on_name(143,5453 + def test_unregister_with_value_not_None_miss(150,5801 + def test_unregister_hit_clears_empty_subcomponents(159,6204 + def test_unsubscribe_empty(172,6830 + def test_unsubscribe_hit(177,7036 + def test_unsubscribe_after_multiple(185,7369 + def test_unsubscribe_w_None_after_multiple(202,8066 + def test_unsubscribe_non_empty_miss_on_required(213,8497 + def test_unsubscribe_non_empty_miss_on_value(221,8883 + def test_unsubscribe_with_value_not_None_miss(229,9268 + def _instance_method_notify_target(238,9656 + def test_unsubscribe_instance_method(241,9771 +class LookupBaseFallbackTests(250,10196 + def _getTargetClass(252,10247 + def _makeOne(256,10375 + def uc_lookup(259,10504 + def uc_lookupAll(262,10617 + def uc_subscriptions(265,10754 + class Derived(267,10858 + def test_lookup_w_invalid_name(273,11074 + def _lookup(274,11116 + def test_lookup_miss_no_default(280,11358 + def _lookup(282,11427 + def test_lookup_miss_w_default(290,11755 + def _lookup(293,11851 + def test_lookup_not_cached(301,12193 + def _lookup(305,12333 + def test_lookup_cached(314,12712 + def _lookup(318,12848 + def test_lookup_not_cached_multi_required(328,13271 + def _lookup(332,13426 + def test_lookup_cached_multi_required(341,13813 + def _lookup(345,13964 + def test_lookup_not_cached_after_changed(355,14399 + def _lookup(359,14553 + def test_lookup1_w_invalid_name(371,15041 + def _lookup(372,15084 + def test_lookup1_miss_no_default(379,15325 + def _lookup(381,15395 + def test_lookup1_miss_w_default(389,15721 + def _lookup(392,15818 + def test_lookup1_miss_w_default_negative_cache(400,16158 + def _lookup(403,16270 + def test_lookup1_not_cached(413,16705 + def _lookup(417,16846 + def test_lookup1_cached(426,17223 + def _lookup(430,17360 + def test_lookup1_not_cached_after_changed(440,17779 + def _lookup(444,17934 + def test_adapter_hook_w_invalid_name(456,18418 + def test_adapter_hook_miss_no_default(462,18626 + def test_adapter_hook_miss_w_default(468,18828 + def test_adapter_hook_hit_factory_returns_None(474,19063 + def _factory(476,19149 + def _lookup(479,19247 + def test_adapter_hook_hit_factory_returns_adapter(487,19585 + def _factory(490,19702 + def _lookup(493,19804 + def test_queryAdapter(501,20142 + def _factory(504,20231 + def _lookup(507,20333 + def test_lookupAll_uncached(515,20671 + def _lookupAll(518,20786 + def test_lookupAll_cached(526,21122 + def _lookupAll(529,21235 + def test_subscriptions_uncached(538,21610 + def _subscriptions(541,21729 + def test_subscriptions_cached(549,22081 + def _subscriptions(552,22198 +class LookupBaseTests(562,22594 + def _getTargetClass(564,22643 + def test_optimizations(568,22755 +class VerifyingBaseFallbackTests(578,23116 + def _getTargetClass(580,23170 + def _makeOne(584,23304 + def uc_lookup(587,23443 + def uc_lookupAll(590,23579 + def uc_subscriptions(593,23716 + class Derived(595,23820 + def __init__(599,24010 + def _makeRegistry(606,24280 + class WithGeneration(607,24316 + class Registry:Registry609,24382 + def __init__(610,24406 + def test_lookup(614,24544 + def _lookup(618,24673 + def test_lookup1(635,25397 + def _lookup(639,25527 + def test_adapter_hook(656,26245 + def _factory1(658,26328 + def _factory2(660,26381 + def _factory3(662,26434 + def _lookup(665,26574 + def test_queryAdapter(678,27136 + def _factory1(680,27219 + def _factory2(682,27272 + def _factory3(684,27325 + def _lookup(687,27465 + def test_lookupAll(700,28027 + def _lookupAll(704,28205 + def test_subscriptions(716,28696 + def _subscriptions(720,28878 +class VerifyingBaseTests(733,29394 + def _getTargetClass(735,29449 + def test_optimizations(739,29567 +class AdapterLookupBaseTests(749,29937 + def _getTargetClass(751,29987 + def _makeOne(755,30113 + def _makeSubregistry(758,30196 + class Subregistry:Subregistry759,30239 + def __init__(760,30266 + def _makeRegistry(765,30403 + class Registry:Registry766,30443 + def __init__(767,30467 + def test_ctor_empty_registry(772,30615 + def test_ctor_w_registry_provided(777,30779 + def test_changed_empty_required(791,31431 + class Mixin(793,31532 + def changed(794,31561 + class Derived(796,31621 + def test_changed_w_required(802,31790 + class Mixin(804,31887 + def changed(805,31916 + class Derived(807,31976 + class FauxWeakref(809,32047 + def __init__(811,32108 + def __call__(813,32180 + def unsubscribe(816,32275 + def test_init_extendors_after_registry_update(829,32719 + def test_add_extendor(845,33444 + def test_remove_extendor(861,34136 + def test__uncached_lookup_empty_ro(878,34870 + def test__uncached_lookup_order_miss(889,35334 + def test__uncached_lookup_extendors_miss(900,35777 + def test__uncached_lookup_components_miss_wrong_iface(913,36305 + def test__uncached_lookup_components_miss_wrong_name(932,37010 + def test__uncached_lookup_simple_hit(951,37713 + def test__uncached_lookup_repeated_hit(968,38346 + def test_queryMultiAdaptor_lookup_miss(987,39081 + class Foo(993,39360 + def test_queryMultiAdaptor_factory_miss(1010,39908 + class Foo(1016,40188 + def _factory(1023,40396 + def test_queryMultiAdaptor_factory_hit(1039,40971 + class Foo(1045,41250 + def _factory(1052,41458 + def test__uncached_lookupAll_empty_ro(1068,42039 + def test__uncached_lookupAll_order_miss(1079,42507 + def test__uncached_lookupAll_extendors_miss(1091,42983 + def test__uncached_lookupAll_components_miss(1104,43515 + def test__uncached_lookupAll_simple_hit(1122,44191 + def test_names(1140,44907 + def test__uncached_subscriptions_empty_ro(1159,45609 + def test__uncached_subscriptions_order_miss(1170,46085 + def test__uncached_subscriptions_extendors_miss(1182,46569 + def test__uncached_subscriptions_components_miss_wrong_iface(1195,47112 + def test__uncached_subscriptions_components_miss_wrong_name(1213,47811 + def test__uncached_subscriptions_simple_hit(1230,48478 + class Foo(1236,48764 + def __lt__(1237,48791 + def test_subscribers_wo_provided(1250,49252 + class Foo(1256,49525 + def _factory1(1263,49749 + def _factory2(1265,49845 + def test_subscribers_w_provided(1279,50400 + class Foo(1285,50672 + def _factory1(1293,50938 + def _factory2(1296,51059 + def _side_effect_only(1299,51180 +class AdapterRegistryTests(1319,51939 + def _getTargetClass(1321,51987 + def _makeOne(1325,52109 + def test_ctor_no_bases(1328,52198 + def test_ctor_w_bases(1332,52316 + def test__setBases_removing_existing_subregistry(1341,52658 + def test__setBases_wo_stray_entry(1350,53024 + def test__setBases_w_existing_entry_continuing(1361,53455 + def test_changed_w_subregistries(1371,53883 + class Derived(1373,53958 + def changed(1375,54017 +class Test_utils(1386,54402 + def test__convert_None_to_Interface_w_None(1388,54440 + def test__convert_None_to_Interface_w_other(1393,54691 + def test__normalize_name_str(1398,54910 + def test__normalize_name_unicode(1407,55235 + def test__normalize_name_other(1413,55417 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_registry.py,17215 +class ComponentsTests(23,876 + def _getTargetClass(25,919 + def _makeOne(28,977 + def _wrapEvents(31,1085 + def _notify(34,1177 + def test_ctor_no_bases(39,1335 + def test_ctor_w_base(53,2048 + def test___repr__(61,2406 + def test_assign_to___bases__(67,2615 + def test_registerUtility_with_component_name(78,3083 + class IFoo(82,3211 + class Foo(87,3316 + def test_registerUtility_both_factory_and_component(98,3602 + def _factory(99,3665 + def test_registerUtility_w_component(106,3910 + class IFoo(111,4143 + def test_registerUtility_w_factory(138,5313 + class IFoo(143,5544 + def _factory(149,5700 + def test_registerUtility_no_provided_available(168,6512 + class Foo(169,6570 + def test_registerUtility_wo_provided(179,6833 + class IFoo(185,7131 + class Foo(187,7184 + def test_registerUtility_duplicates_existing_reg(211,8110 + class IFoo(214,8234 + def test_registerUtility_w_different_info(227,8652 + class IFoo(230,8769 + def test_registerUtility_w_different_names_same_component(248,9467 + class IFoo(251,9600 + def test_registerUtility_replaces_existing_reg(272,10446 + class IFoo(278,10748 + def test_registerUtility_w_existing_subscr(313,12260 + class IFoo(316,12378 + def test_registerUtility_wo_event(330,12863 + class IFoo(333,12972 + def test_registerUtility_changes_object_identity_after(345,13339 + class CompThatChangesAfter1Reg(348,13547 + def registerUtility(350,13637 + class IFoo(361,14082 + def test_registerUtility_changes_object_identity_before(367,14244 + class CompThatChangesAfter2Reg(370,14453 + def registerUtility(372,14543 + class IFoo(384,14989 + class IBar(391,15152 + def test_unregisterUtility_neither_factory_nor_component_nor_provided(398,15315 + def test_unregisterUtility_both_factory_and_component(403,15560 + def _factory(404,15625 + def test_unregisterUtility_w_component_miss(411,15872 + class IFoo(414,15991 + def test_unregisterUtility_w_component(426,16354 + class IFoo(431,16591 + def test_unregisterUtility_w_factory(457,17689 + class IFoo(462,17924 + def _factory(468,18080 + def test_unregisterUtility_wo_explicit_provided(488,18949 + class IFoo(494,19260 + class Foo(496,19313 + def test_unregisterUtility_wo_component_or_factory(522,20333 + class IFoo(528,20647 + class Foo(530,20700 + def test_unregisterUtility_w_existing_subscr(557,21770 + class IFoo(560,21890 + def test_unregisterUtility_w_existing_subscr_non_hashable(575,22429 + class IFoo(578,22562 + def test_unregisterUtility_w_existing_subscr_non_hashable_fresh_cache(593,23099 + class IFoo(599,23443 + def test_unregisterUtility_w_existing_subscr_non_hashable_reinitted(615,23981 + class IFoo(620,24238 + def test_unregisterUtility_w_existing_subscr_other_component(642,24948 + class IFoo(645,25084 + def test_unregisterUtility_w_existing_subscr_other_component_mixed_hash(662,25684 + class IFoo(665,25831 + def test_registeredUtilities_empty(684,26525 + def test_registeredUtilities_notempty(688,26666 + class IFoo(692,26843 + def test_queryUtility_miss_no_default(719,28000 + class IFoo(721,28112 + def test_queryUtility_miss_w_default(727,28282 + class IFoo(729,28393 + def test_queryUtility_hit(736,28613 + class IFoo(738,28713 + def test_getUtility_miss(746,28957 + class IFoo(749,29123 + def test_getUtility_hit(755,29307 + class IFoo(757,29405 + def test_getUtilitiesFor_miss(765,29647 + class IFoo(767,29751 + def test_getUtilitiesFor_hit(773,29927 + class IFoo(776,30031 + def test_getAllUtilitiesRegisteredFor_miss(788,30463 + class IFoo(790,30580 + def test_getAllUtilitiesRegisteredFor_hit(796,30769 + class IFoo(799,30886 + def test_registerAdapter_with_component_name(811,31300 + class IFoo(815,31428 + class Foo(821,31561 + def test_registerAdapter_w_explicit_provided_and_required(832,31840 + class IFoo(837,32094 + def _factory(844,32252 + def test_registerAdapter_no_provided_available(867,33304 + class IFoo(870,33426 + class _Factory(877,33583 + def test_registerAdapter_wo_explicit_provided(884,33793 + class IFoo(890,34095 + class _Factory(899,34307 + def test_registerAdapter_no_required_available(923,35342 + class IFoo(926,35464 + class _Factory(932,35594 + def test_registerAdapter_w_invalid_required(939,35809 + class IFoo(942,35928 + class _Factory(948,36085 + def test_registerAdapter_w_required_containing_None(954,36306 + class IFoo(960,36609 + class _Factory(965,36738 + def test_registerAdapter_w_required_containing_class(989,37834 + class IFoo(996,38205 + class _Factory(1002,38362 + class _Context(1006,38439 + def test_registerAdapter_w_required_containing_junk(1031,39583 + class IFoo(1034,39710 + class _Factory(1040,39840 + def test_registerAdapter_wo_explicit_required(1046,40067 + class IFoo(1051,40309 + class _Factory(1057,40466 + def test_registerAdapter_wo_event(1082,41566 + class IFoo(1085,41675 + def _factory(1092,41833 + def test_unregisterAdapter_neither_factory_nor_provided(1101,42164 + def test_unregisterAdapter_neither_factory_nor_required(1106,42379 + class IFoo(1108,42509 + def test_unregisterAdapter_miss(1115,42753 + class IFoo(1117,42859 + class _Factory(1121,42968 + def test_unregisterAdapter_hit_w_explicit_provided_and_required(1130,43218 + class IFoo(1134,43479 + class _Factory(1138,43588 + def test_unregisterAdapter_wo_explicit_provided(1162,44571 + class IFoo(1167,44876 + class _Factory(1172,45012 + def test_unregisterAdapter_wo_explicit_required(1194,45885 + class IFoo(1198,46130 + class _Factory(1202,46239 + def test_registeredAdapters_empty(1224,47144 + def test_registeredAdapters_notempty(1228,47283 + class IFoo(1232,47459 + class _Factory(1239,47644 + def test_queryAdapter_miss_no_default(1262,48690 + class IFoo(1264,48802 + def test_queryAdapter_miss_w_default(1271,49010 + class IFoo(1273,49121 + def test_queryAdapter_hit(1282,49392 + class IFoo(1285,49552 + class _Factory(1289,49661 + def __init__(1290,49693 + class _Context(1293,49800 + def test_getAdapter_miss(1302,50125 + class IFoo(1306,50351 + class _Context(1311,50487 + def test_getAdapter_hit(1318,50705 + class IFoo(1321,50863 + class _Factory(1325,50972 + def __init__(1326,51004 + class _Context(1329,51111 + def test_queryMultiAdapter_miss(1338,51434 + class IFoo(1341,51600 + class _Context1(1347,51764 + class _Context2(1350,51841 + def test_queryMultiAdapter_miss_w_default(1358,52097 + class IFoo(1361,52273 + class _Context1(1367,52437 + class _Context2(1370,52514 + def test_queryMultiAdapter_hit(1380,52844 + class IFoo(1383,53009 + class _Context1(1389,53173 + class _Context2(1392,53250 + class _Factory(1396,53364 + def __init__(1397,53396 + def test_getMultiAdapter_miss(1405,53781 + class IFoo(1409,54012 + class _Context1(1415,54176 + class _Context2(1418,54253 + def test_getMultiAdapter_hit(1426,54525 + class IFoo(1429,54688 + class _Context1(1435,54852 + class _Context2(1438,54929 + class _Factory(1442,55043 + def __init__(1443,55075 + def test_getAdapters_empty(1451,55458 + class IFoo(1454,55619 + class _Context1(1460,55783 + class _Context2(1463,55860 + def test_getAdapters_factory_returns_None(1471,56102 + class IFoo(1474,56278 + class _Context1(1480,56442 + class _Context2(1483,56519 + def _side_effect_only(1489,56690 + def test_getAdapters_non_empty(1497,57049 + class IFoo(1501,57215 + class _Context1(1507,57379 + class _Context2(1510,57456 + class _Factory1(1514,57570 + def __init__(1515,57603 + class _Factory2(1517,57705 + def __init__(1518,57738 + def test_registerSubscriptionAdapter_w_nonblank_name(1532,58393 + class IFoo(1535,58521 + def _factory(1541,58678 + def test_registerSubscriptionAdapter_w_explicit_provided_and_required(1548,58918 + class IFoo(1553,59189 + def _factory(1559,59343 + def test_registerSubscriptionAdapter_wo_explicit_provided(1584,60502 + class IFoo(1590,60821 + class _Factory(1598,61003 + def test_registerSubscriptionAdapter_wo_explicit_required(1623,62090 + class IFoo(1628,62349 + class _Factory(1634,62503 + def test_registerSubscriptionAdapter_wo_event(1660,63643 + class IFoo(1663,63764 + def _factory(1670,63919 + def test_registeredSubscriptionAdapters_empty(1680,64273 + def test_registeredSubscriptionAdapters_notempty(1684,64436 + class IFoo(1688,64629 + class _Factory(1694,64783 + def test_unregisterSubscriptionAdapter_w_nonblank_name(1717,65843 + class IFoo(1720,65973 + def test_unregisterSubscriptionAdapter_neither_factory_nor_provided(1729,66291 + def test_unregisterSubscriptionAdapter_neither_factory_nor_required(1734,66530 + class IFoo(1736,66672 + def test_unregisterSubscriptionAdapter_miss(1743,66928 + class IFoo(1745,67046 + class _Factory(1749,67155 + def test_unregisterSubscriptionAdapter_hit_wo_factory(1759,67451 + class IFoo(1763,67707 + class _Factory(1767,67816 + def test_unregisterSubscriptionAdapter_hit_w_factory(1791,68828 + class IFoo(1795,69083 + class _Factory(1799,69192 + def test_unregisterSubscriptionAdapter_wo_explicit_provided(1823,70212 + class IFoo(1828,70534 + class _Factory(1833,70670 + def test_unregisterSubscriptionAdapter_wo_explicit_required(1855,71572 + class IFoo(1859,71834 + class _Factory(1863,71943 + def test_subscribers_empty(1885,72877 + class IFoo(1888,73038 + class Bar(1894,73205 + def test_subscribers_non_empty(1899,73337 + class IFoo(1902,73502 + class _Factory(1906,73611 + def __init__(1908,73686 + class _Derived(1910,73767 + class Bar(1916,74008 + def _klassname(1920,74125 + def test_registerHandler_w_nonblank_name(1927,74421 + class IFoo(1930,74537 + def _factory(1935,74681 + def test_registerHandler_w_explicit_required(1941,74880 + class IFoo(1946,75121 + def _factory(1951,75247 + def test_registerHandler_wo_explicit_required_no_event(1975,76273 + class IFoo(1978,76403 + class _Factory(1983,76529 + def test_registeredHandlers_empty(1998,77095 + def test_registeredHandlers_non_empty(2002,77230 + class IFoo(2005,77406 + def _factory1(2008,77487 + def _factory2(2010,77559 + def _factory_name(2015,77760 + def test_unregisterHandler_w_nonblank_name(2030,78542 + class IFoo(2033,78660 + def test_unregisterHandler_neither_factory_nor_required(2041,78926 + def test_unregisterHandler_miss(2045,79086 + class IFoo(2047,79192 + def test_unregisterHandler_hit_w_factory_and_explicit_provided(2054,79394 + class IFoo(2058,79654 + def _factory(2062,79766 + def test_unregisterHandler_hit_w_only_explicit_provided(2081,80551 + class IFoo(2085,80804 + def _factory(2089,80916 + def test_unregisterHandler_wo_explicit_required(2108,81696 + class IFoo(2112,81941 + class _Factory(2115,82022 + def test_handle_empty(2136,82842 + class IFoo(2139,82998 + class Bar(2144,83137 + def test_handle_non_empty(2149,83246 + class IFoo(2152,83406 + def _factory_1(2156,83510 + def _factory_2(2159,83608 + class Bar(2165,83841 +class UnhashableComponentsTests(2173,84018 + def _getTargetClass(2175,84069 + class Components(2178,84177 +class UtilityRegistrationTests(2186,84458 + def _getTargetClass(2188,84510 + def _makeOne(2192,84641 + class IFoo(2195,84759 + class _Registry(2198,84840 + def __repr__(2199,84873 + def test_class_conforms_to_IUtilityRegistration(2210,85195 + def test_instance_conforms_to_IUtilityRegistration(2215,85442 + def test___repr__(2221,85710 + class _Component(2222,85739 + def test___repr___provided_wo_name(2230,86049 + class _Component(2231,86095 + def __repr__(2232,86129 + def test___repr___component_wo_name(2241,86468 + class _Component(2242,86515 + def __repr__(2243,86549 + def test___hash__(2252,86888 + def test___eq___identity(2257,87053 + def test___eq___hit(2262,87211 + def test___eq___miss(2268,87411 + def test___ne___identity(2275,87645 + def test___ne___hit(2280,87804 + def test___ne___miss(2286,88005 + def test___lt___identity(2293,88238 + def test___lt___hit(2298,88396 + def test___lt___miss(2304,88596 + def test___le___identity(2312,88859 + def test___le___hit(2317,89017 + def test___le___miss(2323,89217 + def test___gt___identity(2331,89481 + def test___gt___hit(2336,89639 + def test___gt___miss(2344,89901 + def test___ge___identity(2350,90102 + def test___ge___miss(2355,90260 + def test___ge___hit(2363,90525 +class AdapterRegistrationTests(2371,90757 + def _getTargetClass(2373,90809 + def _makeOne(2377,90940 + class IFoo(2380,91044 + class _Registry(2384,91153 + def __repr__(2385,91186 + def test_class_conforms_to_IAdapterRegistration(2396,91508 + def test_instance_conforms_to_IAdapterRegistration(2401,91755 + def test___repr__(2407,92023 + class _Component(2408,92052 + def test___repr___provided_wo_name(2416,92354 + class _Component(2417,92400 + def __repr__(2418,92434 + def test___repr___component_wo_name(2427,92765 + class _Component(2428,92812 + def __repr__(2429,92846 + def test___hash__(2438,93177 + def test___eq___identity(2443,93342 + def test___eq___hit(2448,93500 + def test___eq___miss(2454,93700 + def test___ne___identity(2461,93934 + def test___ne___miss(2466,94093 + def test___ne___hit_component(2472,94295 + def test___ne___hit_provided(2479,94537 + class IFoo(2481,94640 + def test___ne___hit_required(2490,94918 + class IFoo(2492,95021 + def test___lt___identity(2502,95334 + def test___lt___hit(2507,95492 + def test___lt___miss(2513,95692 + def test___le___identity(2521,95955 + def test___le___hit(2526,96113 + def test___le___miss(2532,96313 + def test___gt___identity(2540,96577 + def test___gt___hit(2545,96735 + def test___gt___miss(2553,96997 + def test___ge___identity(2559,97198 + def test___ge___miss(2564,97356 + def test___ge___hit(2572,97621 +class SubscriptionRegistrationTests(2580,97853 + def _getTargetClass(2582,97910 + def _makeOne(2586,98051 + class IFoo(2589,98155 + class _Registry(2593,98264 + def __repr__(2594,98297 + def test_class_conforms_to_ISubscriptionAdapterRegistration(2605,98638 + def test_instance_conforms_to_ISubscriptionAdapterRegistration(2610,98921 +class HandlerRegistrationTests(2617,99228 + def _getTargetClass(2619,99280 + def _makeOne(2623,99411 + class IFoo(2626,99515 + class _Registry(2629,99596 + def __repr__(2630,99629 + def test_class_conforms_to_IHandlerRegistration(2641,99945 + def test_instance_conforms_to_IHandlerRegistration(2646,100192 + def test_properties(2652,100460 + def _factory(2653,100491 + def test___repr___factory_w_name(2660,100750 + class _Factory(2661,100794 + def test___repr___factory_wo_name(2668,101055 + class _Factory(2669,101100 + def __repr__(2670,101132 +class PersistentAdapterRegistry(2677,101393 + def __getstate__(2679,101453 + def __setstate__(2687,101688 +class PersistentComponents(2694,101900 + def _init_registries(2698,102080 +class PersistentDictComponents(2702,102218 +class PersistentComponentsDict(2707,102352 + def __init__(2709,102461 +class TestPersistentComponents(2713,102570 + def _makeOne(2715,102622 + def _check_equality_after_pickle(2718,102691 + def test_pickles_empty(2721,102755 + def test_pickles_with_utility_registration(2729,102969 +class TestPersistentDictComponents(2756,103707 + def _getTargetClass(2758,103770 + def _makeOne(2761,103842 + def _check_equality_after_pickle(2766,103963 +class TestPersistentComponentsDict(2770,104091 + def _getTargetClass(2772,104158 +class _Monkey(2775,104230 + def __init__(2777,104326 + def __enter__(2783,104548 + def __exit__(2786,104594 + +venv/lib/python2.7/site-packages/zope/interface/tests/idummy.py,47 +class IDummyModule(18,755 + def bar(21,834 + +venv/lib/python2.7/site-packages/zope/interface/tests/ifoo.py,39 +class IFoo(18,704 + def bar(23,784 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_element.py,60 +class TestElement(20,731 + def test_taggedValues(22,770 + +venv/lib/python2.7/site-packages/zope/interface/tests/odd.py,372 +class MetaMetaClass(69,1554 + def __getattribute__(71,1582 +class MetaClass(78,1779 + def __init__(82,1832 + def __call__(87,1971 + def __getattr__(90,2029 + def __repr__(97,2225 +class OddInstance(106,2553 + def __init__(108,2581 + def __getattribute__(111,2652 + def __setattr__(120,2931 + def __delattr__(123,3000 + def __repr__(126,3070 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_interfaces.py,871 +class _ConformsToIObjectEvent(4,18 + def _makeOne(6,58 + def test_class_conforms_to_IObjectEvent(11,199 + def test_instance_conforms_to_IObjectEvent(16,422 +class _ConformsToIRegistrationEvent(22,644 + def test_class_conforms_to_IRegistrationEvent(24,707 + def test_instance_conforms_to_IRegistrationEvent(29,948 +class ObjectEventTests(35,1188 + def _getTargetClass(37,1257 + def test_ctor(41,1374 +class RegistrationEventTests(47,1513 + def _getTargetClass(50,1623 + def test___repr__(54,1752 +class RegisteredTests(62,1981 + def _getTargetClass(65,2077 + def test_class_conforms_to_IRegistered(69,2192 + def test_instance_conforms_to_IRegistered(74,2412 +class UnregisteredTests(80,2631 + def _getTargetClass(83,2731 + def test_class_conforms_to_IUnregistered(87,2850 + def test_instance_conforms_to_IUnregistered(92,3076 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_exceptions.py,437 +def _makeIface(18,698 + class IDummy(20,757 +class DoesNotImplementTests(24,818 + def _getTargetClass(26,867 + def _makeOne(30,994 + def test___str__(34,1093 +class BrokenImplementationTests(41,1408 + def _getTargetClass(43,1461 + def _makeOne(47,1596 + def test___str__(51,1717 +class BrokenMethodImplementationTests(59,2104 + def _getTargetClass(61,2163 + def _makeOne(65,2310 + def test___str__(68,2423 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_document.py,3433 +class Test_asStructuredText(19,688 + def _callFUT(21,737 + def test_asStructuredText_no_docstring(25,869 + class INoDocstring(33,1104 + def test_asStructuredText_empty_with_docstring(37,1225 + class IEmpty(46,1506 + def test_asStructuredText_empty_with_multiline_docstring(51,1658 + class IEmpty(68,2195 + def test_asStructuredText_with_attribute_no_docstring(76,2449 + class IHasAttribute(87,2844 + def test_asStructuredText_with_attribute_with_docstring(94,3069 + class IHasAttribute(105,3479 + def test_asStructuredText_with_method_no_args_no_docstring(113,3774 + class IHasMethod(123,4119 + def aMethod(126,4217 + def test_asStructuredText_with_method_positional_args_no_docstring(131,4329 + class IHasMethod(141,4695 + def aMethod(144,4793 + def test_asStructuredText_with_method_starargs_no_docstring(149,4918 + class IHasMethod(159,5284 + def aMethod(162,5382 + def test_asStructuredText_with_method_kwargs_no_docstring(167,5514 + class IHasMethod(177,5877 + def aMethod(180,5975 + def test_asStructuredText_with_method_with_docstring(185,6106 + class IHasMethod(195,6455 + def aMethod(198,6553 + def test_asStructuredText_derived_ignores_base(204,6710 + class IBase(222,7300 + def method1(223,7332 + def method2(225,7380 + class IDerived(228,7429 + def method3(233,7579 + def method4(235,7636 + def method5(237,7684 +class Test_asReStructuredText(243,7804 + def _callFUT(245,7855 + def test_asReStructuredText_no_docstring(249,7991 + class INoDocstring(257,8232 + def test_asReStructuredText_empty_with_docstring(261,8353 + class IEmpty(270,8640 + def test_asReStructuredText_empty_with_multiline_docstring(275,8792 + class IEmpty(292,9335 + def test_asReStructuredText_with_attribute_no_docstring(300,9589 + class IHasAttribute(311,9994 + def test_asReStructuredText_with_attribute_with_docstring(318,10219 + class IHasAttribute(329,10639 + def test_asReStructuredText_with_method_no_args_no_docstring(337,10934 + class IHasMethod(347,11289 + def aMethod(350,11387 + def test_asReStructuredText_with_method_positional_args_no_docstring(355,11499 + class IHasMethod(365,11875 + def aMethod(368,11973 + def test_asReStructuredText_with_method_starargs_no_docstring(373,12098 + class IHasMethod(383,12474 + def aMethod(386,12572 + def test_asReStructuredText_with_method_kwargs_no_docstring(391,12704 + class IHasMethod(401,13077 + def aMethod(404,13175 + def test_asReStructuredText_with_method_with_docstring(409,13306 + class IHasMethod(419,13665 + def aMethod(422,13763 + def test_asReStructuredText_derived_ignores_base(428,13920 + class IBase(446,14540 + def method1(447,14572 + def method2(449,14620 + class IDerived(452,14669 + def method3(457,14819 + def method4(459,14876 + def method5(461,14924 +class Test__justify_and_indent(467,15044 + def _callFUT(469,15096 + def test_simple_level_0(473,15258 + def test_simple_level_1(478,15438 + def test_simple_level_2(484,15680 + def test_simple_w_CRLF(490,15922 + def test_with_munge(496,16165 + +venv/lib/python2.7/site-packages/zope/interface/tests/ifoo_other.py,39 +class IFoo(18,704 + def bar(23,784 + +venv/lib/python2.7/site-packages/zope/interface/tests/dummy.py,16 +def bar(21,789 + +venv/lib/python2.7/site-packages/zope/interface/tests/test_odd_declarations.py,1136 +class I1(32,1266 +class I2(33,1292 +class I3(34,1318 +class I31(35,1344 +class I4(36,1364 +class I5(37,1390 +class Odd(39,1417 +class B(44,1493 +class A(52,1755 +class C(56,1802 +class Test(61,1852 + def test_ObjectSpecification(63,1884 + class COnly(78,2532 + class D(82,2617 + class COnly(101,3318 + class D(102,3367 + def test_classImplements(120,4067 + class A(123,4129 + class B(127,4194 + class C(130,4234 + def test_classImplementsOnly(139,4581 + class A(141,4646 + class B(145,4711 + class C(148,4751 + def test_directlyProvides(155,4936 + class IA1(156,4973 + class IA2(157,5008 + class IB(158,5043 + class IC(159,5077 + class A(160,5111 + class B(164,5188 + class C(168,5259 + def test_directlyProvides_fails_for_odd_class(190,5987 + def test_implementedBy(204,6447 + class I2(205,6481 + class C1(207,6509 + class C2(211,6582 + def test_odd_metaclass_that_doesnt_subclass_type(218,6761 + class A(225,7053 + class B(230,7154 + class C(235,7255 + +venv/lib/python2.7/site-packages/zope/interface/document.py,124 +def asStructuredText(22,831 +def asReStructuredText(77,2771 +def _trim_doc_string(83,2979 +def _justify_and_indent(98,3393 + +venv/lib/python2.7/site-packages/zope/interface/exceptions.py,343 +class Invalid(17,674 +class DoesNotImplement(21,744 + def __init__(23,820 + def __str__(26,891 +class BrokenImplementation(31,1015 + def __init__(35,1112 + def __str__(39,1210 +class BrokenMethodImplementation(45,1388 + def __init__(49,1488 + def __str__(53,1577 +class InvalidInterface(58,1728 +class BadImplements(62,1814 + +venv/lib/python2.7/site-packages/constantly/_constants.py,961 +class _Constant(24,553 + def __init__(35,1028 + def __repr__(40,1124 + def __lt__(48,1343 + def __le__(66,1917 + def __gt__(84,2521 + def __ge__(102,3094 + def _realize(120,3697 +class _ConstantsContainerType(137,4191 + def __new__(142,4336 +class _ConstantsContainer(200,6742 + def __new__(216,7320 + def _constantFactory(227,7604 + def lookupByName(243,8115 + def iterconstants(262,8696 +class NamedConstant(277,9133 +class Names(289,9464 +class ValueConstant(298,9647 + def __init__(306,9972 +class Values(312,10066 + def lookupByValue(320,10261 +def _flagOp(339,10851 +class FlagConstant(360,11467 + def __init__(368,11785 + def _realize(373,11891 + def __or__(403,13138 + def __and__(411,13379 + def __xor__(419,13622 + def __invert__(428,13878 + def __iter__(441,14308 + def __contains__(448,14497 + def __nonzero__(460,14831 +class Flags(469,15011 + def _constantFactory(480,15291 + +venv/lib/python2.7/site-packages/constantly/_version.py,25 +def get_versions(20,416 + +venv/lib/python2.7/site-packages/wheel/util.py,148 + def native(8,94 + def native(15,248 +def urlsafe_b64encode(21,375 +def urlsafe_b64decode(26,505 +def as_unicode(32,667 +def as_bytes(38,763 + +venv/lib/python2.7/site-packages/wheel/metadata.py,202 +def requires_to_requires_dist(19,414 +def convert_requirements(32,820 +def generate_requirements(43,1263 +def pkginfo_to_metadata(71,2247 +def pkginfo_unicode(100,3344 +def dedent_description(116,3859 + +venv/lib/python2.7/site-packages/wheel/__main__.py,15 +def main(8,78 + +venv/lib/python2.7/site-packages/wheel/cli/unpack.py,18 +def unpack(9,102 + +venv/lib/python2.7/site-packages/wheel/cli/convert.py,159 +class _bdist_wheel_tag(21,392 + def get_tag(30,775 +def egg2wheel(37,957 +def parse_wininst_info(91,2826 +def wininst2wheel(162,5697 +def convert(252,8949 + +venv/lib/python2.7/site-packages/wheel/cli/pack.py,17 +def pack(13,235 + +venv/lib/python2.7/site-packages/wheel/cli/__init__.py,179 +def require_pkgresources(12,115 +class WheelError(19,316 +def unpack_f(23,356 +def pack_f(28,447 +def convert_f(33,534 +def version_f(38,643 +def parser(43,733 +def main(75,2193 + +venv/lib/python2.7/site-packages/wheel/wheelfile.py,243 +def get_zipinfo_datetime(22,658 +class WheelFile(29,988 + def __init__(36,1197 + def open(79,3214 + def _update_crc(80,3268 + def write_files(106,4419 + def write(128,5361 + def writestr(138,5764 + def close(148,6302 + +venv/lib/python2.7/site-packages/wheel/pep425tags.py,215 +def get_config_var(15,274 +def get_abbr_impl(23,474 +def get_impl_ver(38,845 +def get_impl_version_info(46,1088 +def get_flag(57,1477 +def get_abi_tag(69,1921 +def get_platform(103,3080 +def get_supported(113,3422 + +venv/lib/python2.7/site-packages/wheel/pkginfo.py,195 + def read_pkg_info_bytes(15,250 + def read_pkg_info(18,331 + def write_pkg_info(23,471 + def read_pkg_info_bytes(29,691 + def read_pkg_info(34,875 + def write_pkg_info(41,1095 + +venv/lib/python2.7/site-packages/wheel/bdist_wheel.py,389 +def safer_name(35,759 +def safer_version(39,828 +class bdist_wheel(43,909 + def initialize_options(85,2895 + def finalize_options(105,3505 + def wheel_dist_name(137,4953 + def get_tag(145,5299 + def run(183,6954 + def write_wheelfile(261,10064 + def _ensure_relative(282,10970 + def license_paths(290,11198 + def egg2dist(313,12103 + def adios(315,12229 + +venv/lib/python2.7/site-packages/hyperlink/test/test_url.py,2840 +class TestURL(148,5456 + def assertUnicoded(153,5529 + def assertURL(170,6207 + def test_initDefaults(197,7006 + def check(201,7118 + def test_init(209,7352 + def test_initPercent(223,7880 + def test_repr(235,8292 + def test_from_text(248,8787 + def test_roundtrip(256,9030 + def test_roundtrip_double_iri(264,9289 + def test_equality(276,9699 + def test_fragmentEquality(290,10207 + def test_child(299,10575 + def test_multiChild(318,11359 + def test_childInitRoot(327,11681 + def test_emptyChild(336,12008 + def test_sibling(343,12221 + def test_click(361,12897 + def test_clickRFC3986(410,15179 + def test_clickSchemeRelPath(418,15492 + def test_cloneUnchanged(426,15816 + def test_clickCollapse(441,16449 + def test_queryAdd(476,18058 + def test_querySet(508,19399 + def test_queryRemove(528,20207 + def test_parseEqualSignInParamValue(538,20534 + def test_empty(550,21106 + def test_justQueryText(556,21265 + def test_identicalEqual(563,21495 + def test_similarEqual(570,21674 + def test_differentNotEqual(578,21963 + def test_otherTypesNotEqual(588,22333 + def test_identicalNotUnequal(598,22711 + def test_similarNotUnequal(605,22961 + def test_differentUnequal(613,23294 + def test_otherTypesUnequal(621,23585 + def test_asURI(629,23889 + def test_asIRI(650,24963 + def test_badUTF8AsIRI(670,25909 + def test_alreadyIRIAsIRI(685,26557 + def test_alreadyURIAsURI(698,27181 + def test_userinfo(707,27508 + def test_portText(727,28353 + def test_mailto(735,28659 + def test_queryIterable(745,29108 + def test_pathIterable(757,29558 + def test_invalidArguments(765,29819 + class Unexpected(775,30291 + def __str__(776,30325 + def __repr__(779,30388 + def assertRaised(784,30526 + def check(790,30803 + def test_technicallyTextIsIterableBut(841,32623 + def test_netloc(855,33116 + def test_ipv6_with_port(874,33668 + def test_basic(881,33957 + def test_invalid_url(904,34828 + def test_invalid_authority_url(907,34926 + def test_invalid_ipv6(910,35046 + def test_invalid_port(922,35553 + def test_idna(927,35794 + def test_netloc_slashes(938,36305 + def test_wrong_constructor(991,38561 + def test_encoded_userinfo(999,38846 + def test_hash(1008,39323 + def test_dir(1025,39809 + def test_twisted_compat(1036,40072 + def test_set_ordering(1042,40403 + def test_schemeless_path(1051,40741 + def test_emoji_domain(1069,41430 + def test_delim_in_param(1076,41687 + def test_empty_paths_eq(1083,42006 + def test_from_text_type(1104,42541 + def test_from_text_bad_authority(1109,42774 + def test_normalize(1123,43479 + def test_str(1163,45327 + def test_idna_corners(1177,45812 + +venv/lib/python2.7/site-packages/hyperlink/test/test_parse.py,49 +class TestURL(15,436 + def test_parse(16,470 + +venv/lib/python2.7/site-packages/hyperlink/test/common.py,174 +class HyperlinkTestCase(6,34 + def assertRaises(10,190 +class _AssertRaisesContext(40,1404 + def __init__(43,1515 + def __enter__(47,1653 + def __exit__(50,1699 + +venv/lib/python2.7/site-packages/hyperlink/test/test_decoded_url.py,411 +class TestURL(13,315 + def test_durl_basic(15,350 + def test_passthroughs(35,1010 + def test_repr(68,2113 + def test_query_manipulation(72,2257 + def test_equality_and_hashability(91,2863 + def test_replace_roundtrip(117,3491 + def test_replace_userinfo(132,4053 + def test_twisted_compat(138,4272 + def test_percent_decode_bytes(146,4536 + def test_percent_decode_mixed(149,4644 + +venv/lib/python2.7/site-packages/hyperlink/test/test_common.py,577 +class _ExpectedException(8,110 +class _UnexpectedException(14,223 +class TestHyperlink(20,338 + def setUp(23,408 + def test_assertRaisesWithCallable(26,485 + def raisesExpected(34,760 + def test_assertRaisesWithCallableUnexpectedException(42,1093 + def doesNotRaiseExpected(48,1303 + def test_assertRaisesWithCallableDoesNotRaise(57,1594 + def doesNotRaise(63,1811 + def test_assertRaisesContextManager(72,2065 + def test_assertRaisesContextManagerUnexpectedException(84,2578 + def test_assertRaisesContextManagerDoesNotRaise(96,3012 + +venv/lib/python2.7/site-packages/hyperlink/test/test_scheme_registration.py,363 +class TestSchemeRegistration(10,166 + def setUp(12,216 + def tearDown(16,369 + def test_register_scheme_basic(20,514 + def test_register_no_netloc_scheme(42,1350 + def test_register_no_netloc_with_port(48,1596 + def test_invalid_uses_netloc(52,1770 + def test_register_invalid_uses_netloc(58,2021 + def test_register_invalid_port(62,2178 + +venv/lib/python2.7/site-packages/hyperlink/_url.py,3043 + class _sockaddr(41,1049 + def inet_pton(51,1481 +def make_sentinel(77,2281 + class Sentinel(107,3342 + def __init__(108,3370 + def __repr__(112,3465 + def __reduce__(117,3648 + def __nonzero__(120,3720 +def _make_decode_map(176,5800 +def _make_quote_map(189,6192 +def _encode_reserved(219,7349 +def _encode_path_part(232,7865 +def _encode_schemeless_path_part(241,8213 +def _encode_path_parts(252,8656 +def _encode_query_part(293,10385 +def _encode_fragment_part(304,10755 +def _encode_userinfo_part(315,11188 +def register_scheme(350,12962 +def scheme_uses_netloc(391,14529 +class URLParseError(422,15688 +def _optional(429,15883 +def _typecheck(436,16003 +def _textcheck(450,16496 +def iter_pairs(464,17146 +def _decode_unreserved(477,17535 +def _decode_userinfo_part(483,17817 +def _decode_path_part(489,18100 +def _decode_query_part(501,18526 +def _decode_fragment_part(507,18803 +def _percent_decode(513,19086 +def _decode_host(592,21913 +def _resolve_dot_segments(655,24464 +def parse_host(685,25215 +class URL(723,26422 + def __init__(778,28938 + def get_decoded_url(829,31202 + def scheme(837,31434 + def host(847,31847 + def port(856,32198 + def path(880,33001 + def query(889,33323 + def fragment(904,33884 + def rooted(914,34228 + def userinfo(927,34684 + def uses_netloc(934,34854 + def user(940,34953 + def authority(946,35103 + def __eq__(984,36540 + def __ne__(996,37040 + def __hash__(1001,37192 + def absolute(1007,37430 + def replace(1021,37884 + def from_text(1068,40008 + def normalize(1148,42874 + def _dec_unres(1193,45035 + def child(1212,45793 + def sibling(1242,46903 + def click(1259,47474 + def to_uri(1319,49913 + def to_iri(1350,51341 + def to_text(1387,52999 + def __repr__(1448,55239 + def _to_bytes(1455,55511 + def fromText(1475,55997 + def asText(1478,56056 + def __dir__(1481,56159 + def add(1492,56526 + def set(1513,57420 + def get(1540,58593 + def remove(1562,59263 +class DecodedURL(1581,59852 + def __init__(1601,60758 + def from_text(1610,61060 + def encoded_url(1623,61475 + def to_text(1629,61644 + def to_uri(1633,61779 + def to_iri(1637,61911 + def click(1641,62043 + def sibling(1645,62221 + def child(1652,62513 + def normalize(1662,62895 + def absolute(1667,63100 + def scheme(1671,63173 + def host(1675,63242 + def port(1679,63321 + def rooted(1683,63386 + def path(1687,63455 + def query(1697,63736 + def fragment(1710,64117 + def userinfo(1720,64390 + def user(1730,64709 + def uses_netloc(1734,64776 + def replace(1737,64841 + def get(1771,66554 + def add(1775,66711 + def set(1779,66899 + def remove(1787,67246 + def __repr__(1792,67463 + def __str__(1796,67571 + def __eq__(1801,67734 + def __ne__(1806,67919 + def __hash__(1811,68071 + def fromText(1821,68385 + def asText(1824,68467 + def __dir__(1827,68570 +def parse(1839,68938 + +venv/lib/python2.7/site-packages/backports/configparser/helpers.py,708 +def from_none(46,831 +def recursive_repr(54,1028 + def decorating_function(57,1144 + def wrapper(60,1218 +class _ChainMap(81,1960 + def __init__(94,2438 + def __missing__(101,2703 + def __getitem__(104,2764 + def get(112,3085 + def __len__(115,3177 + def __iter__(118,3289 + def __contains__(121,3359 + def __repr__(125,3463 + def fromkeys(130,3609 + def copy(134,3775 + def new_child(140,3967 + def parents(145,4177 + def __setitem__(149,4340 + def __delitem__(152,4414 + def popitem(158,4602 + def pop(165,4863 + def clear(172,5162 +class _PathLike(194,5533 + def __fspath__(199,5660 + def __subclasshook__(204,5810 +def _fspath(215,6078 + +venv/lib/python2.7/site-packages/backports/configparser/__init__.py,3355 +class Error(159,6387 + def __init__(162,6462 + def __repr__(166,6560 +class NoSectionError(172,6638 + def __init__(175,6729 +class DuplicateSectionError(181,6887 + def __init__(189,7196 +class DuplicateOptionError(207,7825 + def __init__(214,8086 +class NoOptionError(234,8803 + def __init__(237,8876 +class InterpolationError(245,9120 + def __init__(248,9213 +class InterpolationMissingOptionError(255,9398 + def __init__(258,9534 +class InterpolationSyntaxError(267,9990 +class InterpolationDepthError(275,10262 + def __init__(278,10373 +class ParsingError(288,10855 + def __init__(291,10956 + def filename(307,11621 + def filename(317,11926 + def append(326,12219 +class MissingSectionHeaderError(331,12362 + def __init__(334,12485 +class Interpolation(351,13016 + def before_get(354,13123 + def before_set(357,13213 + def before_read(360,13293 + def before_write(363,13374 +class BasicInterpolation(367,13457 + def before_get(384,14099 + def before_set(389,14288 + def _interpolate_some(397,14677 +class ExtendedInterpolation(439,16321 + def before_get(445,16542 + def before_set(450,16731 + def _interpolate_some(458,17119 +class LegacyInterpolation(513,19420 + def before_get(519,19643 + def before_set(539,20493 + def _interpolation_replace(543,20591 +class RawConfigParser(551,20789 + def __init__(592,22947 + def defaults(638,25121 + def sections(641,25176 + def add_section(646,25367 + def has_section(660,25910 + def options(667,26129 + def read(676,26444 + def read_file(702,27466 + def read_string(717,28033 + def read_dict(722,28216 + def readfp(753,29570 + def get(762,29896 + def _get(804,31381 + def _get_conv(807,31492 + def getint(820,31999 + def getfloat(827,32270 + def getboolean(834,32545 + def items(842,32871 + def popitem(871,34119 + def optionxform(884,34535 + def has_option(887,34607 + def set(901,35257 + def write(915,35801 + def _write_section(932,36512 + def remove_option(945,37126 + def remove_section(960,37625 + def __getitem__(968,37868 + def __setitem__(973,38037 + def __delitem__(985,38522 + def __contains__(992,38765 + def __len__(995,38867 + def __iter__(998,38952 + def _read(1002,39125 + def _join_multiline_values(1125,45174 + def _read_defaults(1137,45786 + def _handle_error(1143,46028 + def _unify_values(1149,46202 + def _convert_to_boolean(1169,46933 + def _validate_value_types(1176,47226 + def converters(1223,49186 +class ConfigParser(1227,49246 + def set(1232,49386 + def add_section(1238,49703 + def _read_defaults(1245,50020 +class SafeConfigParser(1259,50521 + def __init__(1262,50627 +class SectionProxy(1272,51014 + def __init__(1275,51105 + def __repr__(1284,51465 + def __getitem__(1287,51541 + def __setitem__(1292,51712 + def __delitem__(1296,51892 + def __contains__(1301,52080 + def __len__(1304,52170 + def __iter__(1307,52230 + def _options(1310,52297 + def parser(1317,52500 + def name(1322,52620 + def get(1326,52726 +class ConverterMapping(1344,53346 + def __init__(1354,53751 + def __getitem__(1363,54090 + def __setitem__(1366,54154 + def __delitem__(1382,54792 + def __iter__(1396,55253 + def __len__(1399,55310 + +venv/lib/python2.7/site-packages/incremental/update.py,89 +def _findPath(29,532 +def _existing_version(47,1074 +def _run(56,1256 +def run(204,6032 + +venv/lib/python2.7/site-packages/incremental/__init__.py,515 + def _cmp(27,339 +def _comparable(42,646 + def __eq__(55,1048 + def __ne__(61,1185 + def __lt__(67,1322 + def __le__(73,1458 + def __gt__(79,1595 + def __ge__(85,1731 +class _inf(105,2074 + def __cmp__(109,2163 +class IncomparableVersions(125,2435 +class Version(132,2545 + def __init__(140,2788 + def prerelease(180,4474 + def public(187,4793 + def __repr__(220,5562 + def __str__(242,6118 + def __cmp__(247,6232 +def getVersionString(314,8204 +def _get_version(325,8498 + +venv/lib/python2.7/site-packages/incremental/tests/test_version.py,1837 +class VersionsTests(18,323 + def test_localIsShort(20,355 + def test_versionComparison(27,589 + def test_versionComparisonCaseInsensitive(41,1046 + def test_comparingNEXTReleases(55,1513 + def test_NEXTMustBeAlone(65,1837 + def test_comparingNEXTReleasesEqual(81,2446 + def test_comparingPrereleasesWithReleases(89,2693 + def test_prereleaseDeprecated(99,3044 + def test_prereleaseAttributeDeprecated(111,3545 + def test_comparingReleaseCandidatesWithReleases(125,4114 + def test_comparingDevReleasesWithReleases(136,4500 + def test_rcEqualspre(146,4846 + def test_rcOrpreButNotBoth(155,5144 + def test_comparingReleaseCandidates(163,5409 + def test_comparingDev(179,6021 + def test_comparingDevAndRC(194,6563 + def test_comparingDevAndRCDifferent(210,7203 + def test_infComparison(226,7852 + def test_disallowBuggyComparisons(234,8021 + def test_notImplementedComparisons(243,8354 + def test_repr(252,8683 + def test_reprWithPrerelease(260,8953 + def test_reprWithReleaseCandidate(269,9347 + def test_devWithReleaseCandidate(277,9721 + def test_str(286,10077 + def test_strWithPrerelease(294,10341 + def test_strWithReleaseCandidate(302,10639 + def test_strWithDevAndReleaseCandidate(310,10941 + def test_strWithDev(319,11333 + def testShort(327,11597 + def test_getVersionString(330,11692 + def test_getVersionStringWithPrerelease(338,11961 + def test_getVersionStringWithReleaseCandidate(347,12262 + def test_getVersionStringWithDev(356,12589 + def test_getVersionStringWithDevAndRC(365,12884 + def test_baseWithNEXT(375,13238 + def test_base(381,13445 + def test_baseWithPrerelease(387,13641 + def test_baseWithDev(394,13884 + def test_baseWithReleaseCandidate(401,14116 + def test_baseWithDevAndRC(408,14372 + +venv/lib/python2.7/site-packages/incremental/tests/test_update.py,1170 +class NonCreatedUpdateTests(21,385 + def setUp(23,425 + class Date(39,889 + def test_create(45,992 +class MissingTests(72,1842 + def setUp(74,1873 + class Date(97,2561 + def test_path(103,2664 +class CreatedUpdateInSrcTests(115,3072 + def setUp(117,3114 + class Date(140,3800 + def test_path(146,3903 +class CreatedUpdateTests(191,5383 + def setUp(195,5440 + class Date(216,6068 + def test_path(222,6171 + def test_dev(247,7001 + def test_patch(271,7781 + def test_patch_with_prerelease_and_dev(300,8730 + def test_rc_patch(330,9716 + def test_rc_with_existing_rc(360,10758 + def test_rc_with_no_rc(396,12029 + def test_full_with_rc(433,13307 + def test_full_without_rc(487,15193 + def test_no_mix_newversion(502,15761 + def test_no_mix_dev(525,16874 + def test_no_mix_create(542,17633 + def test_newversion(572,19063 + def test_newversion_bare(603,20161 +class ScriptTests(634,21145 + def setUp(636,21175 + class Date(659,21861 + class DateModule(663,21936 + def today(664,21970 + def test_run(669,22064 + def test_insufficient_args(682,22458 + +venv/lib/python2.7/site-packages/setuptools/command/develop.py,456 +class develop(18,354 + def run(32,833 + def initialize_options(41,1088 + def finalize_options(48,1335 + def _resolve_setup_path(91,2895 + def install_for_development(110,3758 + def uninstall_link(158,5768 + def install_egg_scripts(176,6630 + def install_wrapper_scripts(194,7365 +class VersionlessRequirement:VersionlessRequirement199,7520 + def __init__(214,7987 + def __getattr__(217,8045 + def as_requirement(220,8121 + +venv/lib/python2.7/site-packages/setuptools/command/setopt.py,262 +def config_file(14,298 +def edit_config(33,898 +class option_base(76,2682 + def initialize_options(92,3158 + def finalize_options(97,3288 +class setopt(115,3879 + def initialize_options(129,4350 + def finalize_options(136,4542 + def run(143,4888 + +venv/lib/python2.7/site-packages/setuptools/command/build_py.py,653 + class Mixin2to3:Mixin2to318,371 + def run_2to3(19,392 +class build_py(23,469 + def finalize_options(33,867 + def run(43,1278 + def __getattr__(63,1950 + def build_module(70,2194 + def _get_data_files(80,2666 + def _get_pkg_data_files(85,2880 + def find_data_files(99,3375 + def build_package_data(116,4045 + def analyze_manifest(129,4687 + def get_data_files(153,5625 + def check_package(156,5729 + def initialize_options(186,6859 + def get_package_dir(190,6976 + def exclude_data_files(196,7211 + def _get_platform_patterns(220,7967 +def _unique_everseen(239,8593 +def assert_relative(257,9167 + +venv/lib/python2.7/site-packages/setuptools/command/register.py,40 +class register(5,70 + def run(8,138 + +venv/lib/python2.7/site-packages/setuptools/command/upload.py,188 +class upload(19,440 + def run(24,575 + def finalize_options(34,870 + def upload_file(48,1299 + def _load_password_from_keyring(179,6266 + def _prompt_for_password(189,6574 + +venv/lib/python2.7/site-packages/setuptools/command/install_egg_info.py,203 +class install_egg_info(10,186 + def initialize_options(19,453 + def finalize_options(22,520 + def run(33,995 + def get_outputs(46,1546 + def copytree(49,1602 + def skimmer(51,1677 + +venv/lib/python2.7/site-packages/setuptools/command/py36compat.py,448 +class sdist_add_defaults:sdist_add_defaults9,158 + def add_defaults(18,442 + def _cs_path_exists(41,1332 + def _add_defaults_standards(57,1846 + def _add_defaults_optional(78,2629 + def _add_defaults_python(84,2849 + def _add_defaults_data_files(100,3484 + def _add_defaults_ext(117,4186 + def _add_defaults_c_libs(122,4395 + def _add_defaults_scripts(127,4610 + class sdist_add_defaults:sdist_add_defaults135,4943 + +venv/lib/python2.7/site-packages/setuptools/command/test.py,593 +class ScanningLoader(22,584 + def __init__(24,619 + def loadTestsFromModule(28,708 +class NonDataProperty:NonDataProperty63,2075 + def __init__(64,2098 + def __get__(67,2154 +class test(73,2276 + def initialize_options(85,2664 + def finalize_options(91,2826 + def test_args(111,3612 + def _test_args(114,3677 + def with_project_on_sys_path(122,3913 + def project_on_sys_path(130,4139 + def paths_on_pythonpath(177,5826 + def install_dists(202,6737 + def run(215,7250 + def run_tests(230,7713 + def _argv(258,8859 + def _resolve_as_ep(262,8944 + +venv/lib/python2.7/site-packages/setuptools/command/egg_info.py,1737 +def translate_pattern(36,1026 +class InfoCommon:InfoCommon119,3892 + def name(124,3966 + def tagged_version(127,4042 + def tags(135,4408 +class egg_info(145,4640 + def initialize_options(161,5223 + def tag_svn_revision(172,5579 + def tag_svn_revision(176,5654 + def save_version_info(180,5748 + def finalize_options(193,6255 + def write_or_delete_file(242,8219 + def write_file(262,9099 + def delete_file(276,9560 + def run(282,9772 + def find_sources(298,10356 + def check_broken_egg_info(306,10645 +class FileList(322,11294 + def process_template_line(325,11380 + def _remove_files(398,14825 + def include(411,15278 + def exclude(417,15482 + def recursive_include(422,15655 + def recursive_exclude(432,16011 + def graft(439,16266 + def prune(449,16538 + def global_include(454,16715 + def global_exclude(466,17156 + def append(473,17389 + def extend(481,17621 + def _repair(484,17709 + def _safe_path(494,18031 +class manifest_maker(518,18887 + def initialize_options(521,18946 + def finalize_options(527,19097 + def run(530,19143 + def _manifest_normalize(542,19555 + def write_manifest(546,19688 + def warn(558,20134 + def _should_suppress_warning(563,20263 + def add_defaults(569,20436 + def prune_file_list(588,21103 +def write_file(598,21486 +def write_pkg_info(611,21897 +def warn_depends_obsolete(630,22544 +def _write_requirements(638,22805 +def write_requirements(645,22986 +def write_setup_requirements(656,23414 +def write_toplevel_names(662,23637 +def overwrite_arg(672,23917 +def write_arg(676,24008 +def write_entries(684,24288 +def get_pkg_info_revision(701,24904 +class EggInfoDeprecationWarning(716,25383 + +venv/lib/python2.7/site-packages/setuptools/command/bdist_egg.py,751 + def _get_purelib(26,587 + def _get_purelib(31,738 +def strip_module(35,801 +def sorted_walk(43,993 +def write_stub(53,1242 + def __bootstrap__(55,1317 +class bdist_egg(67,1746 + def initialize_options(90,2588 + def finalize_options(99,2839 + def do_install_data(123,3709 + def get_outputs(148,4822 + def call_command(151,4883 + def run(161,5305 + def zap_pyfiles(242,8629 + def zip_safe(268,9624 + def gen_header(275,9890 + def copy_metadata_to(314,11297 + def get_ext_outputs(326,11855 +def walk_egg(358,13140 +def analyze_egg(369,13439 +def write_safety_flag(387,14093 +def scan_module(406,14575 +def iter_symbols(442,15865 +def can_scan(454,16237 +def make_zipfile(471,16788 + def visit(484,17430 + +venv/lib/python2.7/site-packages/setuptools/command/sdist.py,541 +def walk_revctrl(17,242 +class sdist(24,459 + def run(43,1092 + def initialize_options(62,1723 + def _default_to_gztar(67,1836 + def make_distribution(73,2021 + def _remove_os_link(82,2240 + class NoValue:NoValue87,2354 + def __read_template_hack(101,2658 + def _add_defaults_python(124,3517 + def _add_defaults_data_files(138,4339 + def check_readme(147,4641 + def make_release_tree(157,4914 + def _manifest_is_not_generated(170,5481 + def read_manifest(180,5848 + def check_license(202,6712 + +venv/lib/python2.7/site-packages/setuptools/command/easy_install.py,4378 +def is_64bit(80,2141 +def samefile(84,2196 + def _to_bytes(102,2723 + def isascii(105,2763 + def _to_bytes(113,2919 + def isascii(116,2974 +class easy_install(127,3195 + def initialize_options(175,5453 + def delete_blockers(223,7567 + def _delete_path(230,7815 + def _render_version(240,8091 + def finalize_options(250,8439 + def _fix_install_dir_for_user_site(372,13380 + def _expand_attrs(387,13932 + def expand_basedirs(396,14271 + def expand_dirs(401,14469 + def run(413,14794 + def pseudo_tempname(436,15692 + def warn_deprecated_options(447,16133 + def check_site_dir(450,16186 + def cant_write_to_target(528,19308 + def check_pth_processing(537,19611 + def install_egg_scripts(596,21786 + def add_output(610,22463 + def not_editable(618,22741 + def check_editable(626,23023 + def _tmpdir(637,23385 + def easy_install(645,23662 + def install_item(681,25276 + def select_scheme(717,26739 + def process_distribution(726,27126 + def should_unzip(765,28997 + def maybe_move(774,29264 + def install_wrapper_scripts(797,30264 + def install_script(803,30455 + def _load_template(814,30939 + def write_script(828,31463 + def install_eggs(848,32199 + def egg_distribution(892,34074 + def install_egg(900,34447 + def install_exe(954,36543 + def exe_to_egg(999,38386 + def process(1007,38695 + def install_wheel(1052,40735 + def installation_report(1098,42733 + def report_editable(1123,43712 + def run_setup(1128,43897 + def build_and_install(1148,44628 + def _set_fetcher_options(1172,45543 + def update_pth(1196,46620 + def unpack_progress(1233,48092 + def unpack_and_compile(1238,48294 + def pf(1242,48398 + def byte_compile(1257,48979 + def no_default_version_msg(1307,50812 + def install_site_py(1311,50971 + def create_home_path(1343,52102 + def _expand(1365,52803 +def _pythonpath(1388,53630 +def get_site_dirs(1393,53745 +def expand_paths(1458,55808 +def extract_wininst_cfg(1499,57069 +def get_exe_prefixes(1540,58401 +class PthDistributions(1579,59778 + def __init__(1584,59887 + def _load(1593,60279 + def save(1624,61532 + def _wrap_lines(1647,62229 + def add(1650,62279 + def remove(1664,62734 + def make_relative(1671,62974 +class RewritePthDistributions(1687,63479 + def _wrap_lines(1689,63545 +def _first_line_re(1713,64143 +def auto_chmod(1725,64474 +def update_dist_caches(1733,64720 +def _collect_zipimporter_cache_entries(1815,69480 +def _update_zipimporter_cache(1835,70188 +def _uncache(1867,71755 +def _remove_and_clear_zip_directory_cache_data(1871,71849 + def clear_and_remove_cached_zip_archive_directory_data(1872,71914 + def _replace_zip_directory_cache_data(1893,72883 + def replace_cached_zip_archive_directory_data(1894,72943 +def is_python(1912,73824 +def is_sh(1922,74049 +def nt_quote_arg(1932,74334 +def is_python_script(1937,74476 + def _chmod(1955,75136 +def chmod(1959,75174 +class CommandSpec(1967,75357 + def best(1977,75562 + def _sys_executable(1984,75719 + def from_param(1989,75882 + def from_environment(2004,76325 + def from_string(2008,76418 + def install_options(2016,76673 + def _extract_options(2023,76926 + def as_header(2032,77239 + def _strip_quotes(2036,77338 + def _render(2044,77546 +class WindowsCommandSpec(2054,77827 +class ScriptWriter:ScriptWriter2058,77903 + def get_script_args(2081,78542 + def get_script_header(2089,78918 + def get_args(2097,79248 + def _ensure_safe_name(2115,79940 + def get_writer(2124,80219 + def best(2130,80454 + def _get_script_args(2140,80737 + def get_header(2145,80914 +class WindowsScriptWriter(2152,81187 + def get_writer(2156,81290 + def best(2162,81461 + def _get_script_args(2175,81879 + def _adjust_header(2191,82589 + def _use_header(2205,83147 +class WindowsExecutableLauncherWriter(2217,83541 + def _get_script_args(2219,83618 +def get_win_launcher(2253,84870 +def load_launcher_manifest(2269,85309 +def rmtree(2277,85533 +def current_umask(2281,85649 +def bootstrap(2287,85731 +def main(2297,85959 + class DistributionWithoutHelpCommands(2301,86065 + def _show_help(2304,86149 +def _patch_usage(2321,86602 + def gen_usage(2328,86795 +class EasyInstallDeprecationWarning(2340,87073 + +venv/lib/python2.7/site-packages/setuptools/command/upload_docs.py,292 +def _encode(26,530 +class upload_docs(31,641 + def has_sphinx(47,1193 + def initialize_options(54,1414 + def finalize_options(59,1551 + def create_zipfile(75,2283 + def run(91,3020 + def _build_part(106,3468 + def _build_multipart(126,4186 + def upload_file(144,4914 + +venv/lib/python2.7/site-packages/setuptools/command/build_ext.py,627 +def _customize_compiler_for_shlib(29,861 +def get_abi3_suffix(65,1967 +class build_ext(74,2278 + def run(75,2307 + def copy_extensions_to_source(83,2586 + def get_ext_filename(105,3586 + def initialize_options(126,4452 + def finalize_options(132,4617 + def setup_shlib_compiler(161,5938 + def get_export_symbols(188,7107 + def build_extension(193,7278 + def links_to_dynamic(206,7748 + def get_outputs(215,8261 + def __get_stubs_outputs(218,8362 + def __get_output_extensions(229,8825 + def write_stub(235,8991 + def link_shared_object(285,11188 + def link_shared_object(300,11816 + +venv/lib/python2.7/site-packages/setuptools/command/bdist_rpm.py,74 +class bdist_rpm(4,45 + def run(15,448 + def _make_spec_file(21,582 + +venv/lib/python2.7/site-packages/setuptools/command/dist_info.py,112 +class dist_info(12,150 + def initialize_options(21,394 + def finalize_options(24,458 + def run(27,504 + +venv/lib/python2.7/site-packages/setuptools/command/bdist_wininst.py,81 +class bdist_wininst(4,49 + def reinitialize_command(5,90 + def run(16,478 + +venv/lib/python2.7/site-packages/setuptools/command/install_lib.py,293 +class install_lib(7,107 + def run(10,213 + def get_exclusions(17,440 + def _exclude_pkg_path(31,923 + def _all_packages(40,1234 + def _get_SVEM_NSPs(49,1504 + def _gen_exclusion_paths(66,2141 + def copy_tree(86,2691 + def pf(103,3228 + def get_outputs(116,3617 + +venv/lib/python2.7/site-packages/setuptools/command/install.py,215 +class install(15,328 + def initialize_options(32,946 + def finalize_options(37,1122 + def handle_extra_path(48,1552 + def run(58,1991 + def _called_from_setup(70,2439 + def do_egg_install(96,3631 + +venv/lib/python2.7/site-packages/setuptools/command/saveopts.py,40 +class saveopts(4,65 + def run(9,218 + +venv/lib/python2.7/site-packages/setuptools/command/install_scripts.py,114 +class install_scripts(9,170 + def initialize_options(12,286 + def run(16,402 + def write_script(51,1823 + +venv/lib/python2.7/site-packages/setuptools/command/build_clib.py,56 +class build_clib(7,174 + def build_libraries(23,851 + +venv/lib/python2.7/site-packages/setuptools/command/alias.py,154 +def shquote(8,174 +class alias(18,410 + def initialize_options(30,779 + def finalize_options(35,911 + def run(43,1197 +def format_alias(70,2053 + +venv/lib/python2.7/site-packages/setuptools/command/rotate.py,110 +class rotate(12,209 + def initialize_options(24,589 + def finalize_options(29,704 + def run(47,1432 + +venv/lib/python2.7/site-packages/setuptools/build_meta.py,649 +class SetupRequirementsError(46,1687 + def __init__(47,1732 +class Distribution(51,1807 + def fetch_build_eggs(52,1857 + def patch(57,1999 +def _to_str(71,2335 +def _get_immediate_subdirectories(84,2724 +def _file_with_extension(89,2872 +class _BuildMetaBackend(98,3056 + def _fix_config(100,3090 + def _get_build_requires(105,3272 + def run_setup(118,3697 + def get_requires_for_build_wheel(128,4113 + def get_requires_for_build_sdist(132,4321 + def prepare_metadata_for_build_wheel(136,4522 + def build_wheel(167,5767 + def build_sdist(180,6320 +class _BuildMetaLegacyBackend(191,6762 + def run_setup(199,7146 + +venv/lib/python2.7/site-packages/setuptools/depends.py,314 +class Require:Require15,270 + def __init__(18,352 + def full_name(32,789 + def version_ok(38,1015 + def get_version(43,1245 + def is_present(70,2250 + def is_current(74,2402 +def find_module(82,2654 +def get_module_constant(101,3125 +def extract_constant(135,4253 +def _update_globals(171,5400 + +venv/lib/python2.7/site-packages/setuptools/package_index.py,2335 +def parse_requirement_arg(52,1508 +def parse_bdist_wininst(61,1728 +def egg_info_for_url(85,2455 +def distros_for_url(96,2856 +def distros_for_location(110,3341 +def distros_for_filename(143,4656 +def interpret_distro_name(150,4899 +def unique_everseen(186,6508 +def unique_values(204,7091 + def wrapper(211,7260 +def find_external_links(222,7527 +class ContentChecker:ContentChecker240,8197 + def feed(245,8311 + def is_valid(251,8420 + def report(257,8547 +class HashChecker(265,8738 + def __init__(271,8905 + def from_url(277,9079 + def feed(287,9426 + def is_valid(290,9486 + def report(293,9565 +class PackageIndex(298,9678 + def __init__(301,9782 + def process_url(322,10544 + def process_filename(373,12511 + def url_ok(389,13039 + def scan_egg_links(402,13486 + def scan_egg_link(412,13815 + def process_index(428,14346 + def scan(431,14437 + def need_version_info(471,16102 + def scan_all(477,16289 + def find_packages(486,16589 + def obtain(501,17248 + def check_hash(510,17608 + def add_find_links(526,18122 + def prescan(541,18754 + def not_found_in_index(547,19001 + def download(557,19449 + def fetch_distribution(591,21245 + def find(615,22425 + def fetch(667,24183 + def gen_setup(680,24742 + def _download_to(723,26423 + def reporthook(759,27787 + def open_url(762,27876 + def _download_url(797,29214 + def scan_url(826,30317 + def _attempt_download(829,30383 + def _download_html(836,30650 + def _download_svn(851,31262 + def _vcs_split_rev_from_url(874,32383 + def _download_git(891,32857 + def _download_hg(907,33372 + def debug(923,33877 + def info(926,33941 + def warn(929,34003 +def decode_entity(938,34275 +def htmldecode(943,34355 +def socket_timeout(955,34707 + def _socket_timeout(956,34739 + def _socket_timeout(957,34770 +def _encode_auth(970,35114 +class Credential:Credential992,35811 + def __init__(997,35899 + def __iter__(1001,36010 + def __str__(1005,36091 +class PyPIConfig(1009,36172 + def __init__(1010,36220 + def creds_by_repository(1022,36570 + def _get_repo_cred(1030,36836 + def find_credential(1037,37076 +def open_with_auth(1047,37406 +def _splituser(1094,39009 +def fix_sf_url(1104,39324 +def local_open(1108,39388 + +venv/lib/python2.7/site-packages/setuptools/extern/__init__.py,177 +class VendorImporter:VendorImporter4,13 + def __init__(10,179 + def search_path(16,429 + def find_module(23,601 + def load_module(35,1009 + def install(64,2195 + +venv/lib/python2.7/site-packages/setuptools/wheel.py,428 +def unpack(37,826 +class Wheel:Wheel59,1722 + def __init__(61,1736 + def tags(69,2030 + def is_compatible(77,2283 + def egg_name(82,2512 + def get_dist_info(88,2751 + def install_as_egg(98,3222 + def _install_as_egg(103,3430 + def _convert_metadata(114,3932 + def get_metadata(115,4004 + def raw_req(142,5215 + def _move_data_entries(172,6153 + def _fix_namespace_packages(200,7420 + +venv/lib/python2.7/site-packages/setuptools/windows_support.py,45 +def windows_only(5,32 +def hide_file(12,171 + +venv/lib/python2.7/site-packages/setuptools/archive_util.py,174 +class UnrecognizedFormat(19,393 +def default_filter(23,483 +def unpack_archive(28,605 +def unpack_directory(63,2223 +def unpack_zipfile(90,3150 +def unpack_tarfile(127,4476 + +venv/lib/python2.7/site-packages/setuptools/sandbox.py,1437 +def _execfile(35,642 +def save_argv(49,988 +def save_path(60,1189 +def override_temp(69,1329 +def pushd(86,1679 +class UnpickleableException(95,1811 + def dump(101,1961 +class ExceptionSaver:ExceptionSaver114,2416 + def __enter__(120,2544 + def __exit__(123,2590 + def resume(134,2835 +def save_modules(145,3083 +def _clear_modules(169,3698 +def save_pkg_resources_state(175,3835 +def setup_context(184,4021 +def _needs_hiding(198,4515 +def hide_setuptools(219,5005 +def run_setup(230,5411 +class AbstractSandbox:AbstractSandbox257,6439 + def __init__(262,6563 + def _copy(268,6724 + def __enter__(272,6840 + def __exit__(279,7011 + def run(286,7203 + def _mk_dual_path_wrapper(291,7319 + def wrap(294,7395 + def _mk_single_path_wrapper(305,7753 + def wrap(308,7858 + def _mk_single_with_return(326,8508 + def wrap(329,8585 + def _mk_query(341,9000 + def wrap(344,9064 + def _validate_path(356,9392 + def _remap_input(360,9525 + def _remap_output(364,9662 + def _remap_pair(368,9788 +class DirectorySandbox(382,10181 + def __init__(396,10669 + def _violation(405,11016 + def _file(411,11190 + def _open(416,11440 + def tmpnam(421,11674 + def _ok(424,11731 + def _exempted(437,12122 + def _remap_input(449,12513 + def _remap_pair(455,12768 + def open(461,13047 +class SandboxViolation(474,13489 + def __str__(489,14171 + +venv/lib/python2.7/site-packages/setuptools/py33compat.py,96 +class Bytecode_compat:Bytecode_compat18,267 + def __init__(19,290 + def __iter__(22,346 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/requirements.py,139 +class InvalidRequirement(18,685 +class Requirement(75,2469 + def __init__(88,2981 + def __str__(109,3857 + def __repr__(126,4263 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/specifiers.py,1971 +class InvalidSpecifier(15,405 +class BaseSpecifier(21,526 + def __str__(24,609 + def __hash__(31,814 + def __eq__(37,948 + def __ne__(44,1130 + def prereleases(51,1318 + def prereleases(58,1488 + def contains(65,1662 + def filter(71,1832 +class _IndividualSpecifier(78,2048 + def __init__(82,2113 + def __repr__(95,2540 + def __str__(108,2844 + def __hash__(111,2912 + def __eq__(114,2969 + def __ne__(125,3309 + def _get_operator(136,3649 + def _coerce_version(139,3756 + def operator(145,3933 + def version(149,4001 + def prereleases(153,4068 + def prereleases(157,4153 + def __contains__(160,4222 + def contains(163,4292 + def filter(182,5119 +class LegacySpecifier(214,6501 + def _coerce_version(242,7358 + def _compare_equal(247,7523 + def _compare_not_equal(250,7630 + def _compare_less_than_equal(253,7741 + def _compare_greater_than_equal(256,7858 + def _compare_less_than(259,7978 + def _compare_greater_than(262,8088 +def _require_version_compare(266,8202 + def wrapped(268,8261 +class Specifier(275,8441 + def _compare_compatible(387,12748 + def _compare_equal(414,13859 + def _compare_not_equal(449,15446 + def _compare_less_than_equal(453,15588 + def _compare_greater_than_equal(457,15722 + def _compare_less_than(461,15859 + def _compare_greater_than(486,17010 + def _compare_arbitrary(516,18450 + def prereleases(520,18579 + def prereleases(544,19506 +def _version_split(551,19640 +def _pad_version(562,19890 +class SpecifierSet(589,20650 + def __init__(591,20686 + def __repr__(612,21597 + def __str__(621,21838 + def __hash__(624,21923 + def __and__(627,21981 + def __eq__(650,22842 + def __ne__(660,23183 + def __len__(670,23524 + def __iter__(673,23580 + def prereleases(677,23652 + def prereleases(694,24333 + def __contains__(697,24402 + def contains(700,24472 + def filter(729,25904 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.py,709 +class InvalidMarker(25,749 +class UndefinedComparison(31,864 +class UndefinedEnvironmentName(37,996 +class Node(44,1145 + def __init__(46,1166 + def __str__(49,1225 + def __repr__(52,1280 + def serialize(55,1378 +class Variable(59,1439 + def serialize(61,1462 +class Value(65,1514 + def serialize(67,1534 +class Op(71,1597 + def serialize(73,1614 +def _coerce_parse_result(141,3427 +def _format_marker(148,3597 +def _eval_op(183,4673 +def _get_env(203,5086 +def _evaluate_markers(214,5339 +def format_full_version(241,6171 +def default_environment(249,6381 +class Marker(272,7187 + def __init__(274,7210 + def __str__(282,7535 + def __repr__(285,7604 + def evaluate(288,7680 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/_compat.py,83 +def with_metaclass(20,409 + class metaclass(27,684 + def __new__(28,711 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/_structures.py,482 +class Infinity(7,247 + def __repr__(9,272 + def __hash__(12,323 + def __lt__(15,380 + def __le__(18,431 + def __eq__(21,482 + def __ne__(24,561 + def __gt__(27,644 + def __ge__(30,694 + def __neg__(33,744 +class NegativeInfinity(39,824 + def __repr__(41,857 + def __hash__(44,909 + def __lt__(47,966 + def __le__(50,1016 + def __eq__(53,1066 + def __ne__(56,1145 + def __gt__(59,1228 + def __ge__(62,1279 + def __neg__(65,1330 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/version.py,923 +def parse(24,534 +class InvalidVersion(36,882 +class _BaseVersion(42,999 + def __hash__(44,1028 + def __lt__(47,1084 + def __le__(50,1170 + def __eq__(53,1257 + def __ge__(56,1344 + def __gt__(59,1431 + def __ne__(62,1517 + def _compare(65,1604 +class LegacyVersion(72,1773 + def __init__(74,1809 + def __str__(78,1930 + def __repr__(81,1983 + def public(85,2084 + def base_version(89,2150 + def local(93,2222 + def is_prerelease(97,2278 + def is_postrelease(101,2343 +def _parse_version_parts(114,2595 +def _legacy_cmpkey(131,3032 +class Version(191,5037 + def __init__(198,5180 + def __repr__(233,6436 + def __str__(236,6517 + def public(267,7417 + def base_version(271,7496 + def local(284,7801 + def is_prerelease(290,7957 + def is_postrelease(294,8061 +def _parse_letter_version(298,8133 +def _parse_local_version(332,9212 +def _cmpkey(343,9523 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/utils.py,30 +def canonicalize_name(12,304 + +venv/lib/python2.7/site-packages/setuptools/_vendor/six.py,2326 + class X(60,2014 + def __len__(62,2040 +def _add_doc(75,2320 +def _import_module(80,2413 +class _LazyDescr(86,2557 + def __init__(88,2584 + def __get__(91,2640 +class MovedModule(103,3006 + def __init__(105,3038 + def _resolve(114,3271 + def __getattr__(117,3336 +class _LazyModule(124,3500 + def __init__(126,3538 + def __dir__(130,3663 +class MovedAttribute(139,3879 + def __init__(141,3914 + def _resolve(159,4498 +class _SixMetaPathImporter(164,4608 + def __init__(173,4863 + def _add_module(177,4973 + def _get_module(181,5118 + def find_module(184,5218 + def __get_module(189,5354 + def load_module(195,5557 + def is_package(209,5944 + def get_code(218,6218 +class _MovedItems(229,6507 +class Module_six_moves_urllib_parse(320,11269 +class Module_six_moves_urllib_error(360,13175 +class Module_six_moves_urllib_request(380,13871 +class Module_six_moves_urllib_response(430,16639 +class Module_six_moves_urllib_robotparser(451,17427 +class Module_six_moves_urllib(469,18076 + def __dir__(479,18550 +def add_move(486,18761 +def remove_move(491,18861 + def advance_iterator(523,19580 + def callable(531,19708 + def get_unbound_function(536,19821 + def create_unbound_method(541,19928 + def get_unbound_function(546,20019 + def create_bound_method(549,20090 + def create_unbound_method(552,20189 + class Iterator(555,20281 + def next(557,20310 + def iterkeys(574,20847 + def itervalues(577,20909 + def iteritems(580,20975 + def iterlists(583,21039 + def iterkeys(592,21252 + def itervalues(595,21312 + def iteritems(598,21376 + def iterlists(601,21438 + def b(619,22009 + def u(622,22059 + def b(642,22612 + def u(646,22686 + def byte2int(651,22808 + def indexbytes(654,22857 +def assertCountEqual(666,23226 +def assertRaisesRegex(670,23334 +def assertRegex(674,23444 + def reraise(681,23595 + def exec_(689,23795 + def raise_from(717,24565 + def print_(723,24693 + def write(729,24880 + def print_(779,26623 + def wraps(789,26919 + def wrapper(791,27032 +def with_metaclass(800,27235 + class metaclass(805,27500 + def __new__(807,27528 +def add_metaclass(812,27679 + def wrapper(814,27774 +def python_2_unicode_compatible(828,28226 + +venv/lib/python2.7/site-packages/setuptools/_vendor/pyparsing.py,11901 +class names,53,2401 + def _ustr(154,6714 +def _xml_escape(185,8042 +class _Constants(195,8378 +class ParseBaseException(205,8675 + def __init__(209,8900 + def _from_exception(221,9233 + def __getattr__(228,9525 + def __str__(243,10145 + def __repr__(246,10294 + def markInputline(248,10349 + def __dir__(258,10811 +class ParseException(261,10897 +class ParseFatalException(282,11571 +class ParseSyntaxException(287,11754 +class RecursiveGrammarException(306,12720 + def __init__(308,12867 + def __str__(311,12965 +class _ParseResultsWithOffset(314,13066 + def __init__(315,13106 + def __getitem__(317,13165 + def __repr__(319,13223 + def setOffset(321,13282 +class ParseResults(324,13348 + def test(342,14111 + def __new__(363,14779 + def __init__(372,15134 + def __getitem__(411,16833 + def __setitem__(420,17149 + def __delitem__(433,17663 + def __contains__(454,18471 + def __len__(457,18543 + def __bool__(458,18598 + def __iter__(460,18685 + def __reversed__(461,18742 + def _iterkeys(462,18809 + def _itervalues(468,18990 + def _iteritems(471,19086 + def keys(494,19900 + def values(498,20077 + def items(502,20276 + def haskeys(506,20471 + def pop(511,20705 + def remove_first(523,21326 + def remove_LABEL(534,21914 + def get(563,22841 + def insert(585,23638 + def insert_locn(595,24029 + def append(605,24560 + def append_sum(613,24899 + def extend(619,25166 + def make_palindrome(627,25468 + def clear(637,25896 + def __getattr__(644,26058 + def __add__(658,26473 + def __iadd__(663,26577 + def __radd__(679,27260 + def __repr__(687,27557 + def __str__(690,27666 + def _asStringList(693,27810 + def asList(704,28146 + def asDict(720,28942 + def toItem(744,30082 + def copy(755,30431 + def asXML(766,30778 + def __lookup(827,33119 + def getName(834,33312 + def dump(871,34659 + def pprint(916,36533 + def __getstate__(940,37461 + def __setstate__(947,37719 + def __getnewargs__(960,38088 + def __dir__(963,38194 +def col 968,38315 +def lineno(981,38972 +def line(993,39575 +def _defaultStartDebugAction(1003,39892 +def _defaultSuccessDebugAction(1006,40070 +def _defaultExceptionDebugAction(1009,40215 +def nullDebugAction(1012,40326 +def _trim_arity(1039,41300 + def extract_stack(1047,41583 + def extract_tb(1052,41884 + def wrapper(1069,42637 +class ParserElement(1103,43730 + def setDefaultWhitespaceChars(1109,43903 + def inlineLiteralsUsing(1124,44512 + def __init__(1144,45275 + def copy(1167,46397 + def setName(1190,47507 + def setResultsName(1204,48100 + def setBreak(1232,49282 + def breaker(1239,49572 + def setParseAction(1250,50043 + def addParseAction(1288,52106 + def addCondition(1298,52527 + def pa(1318,53766 + def setFailAction(1325,54044 + def _skipIgnorables(1338,54680 + def preParse(1351,55101 + def parseImpl(1363,55446 + def postParse(1366,55531 + def _parseNoCache(1370,55630 + def tryParse(1441,59228 + def canParseNext(1447,59465 + class _UnboundedCache(1455,59679 + def __init__(1456,59715 + def get(1460,59827 + def set(1463,59915 + def clear(1466,59993 + def cache_len(1469,60072 + class _FifoCache(1478,60401 + def __init__(1479,60436 + def get(1484,60580 + def set(1487,60676 + def clear(1495,60964 + def cache_len(1498,61035 + class _FifoCache(1507,61365 + def __init__(1508,61400 + def get(1514,61588 + def set(1517,61684 + def clear(1523,61922 + def cache_len(1527,62031 + def _parseCache(1542,62826 + def resetCache(1568,63957 + def enablePackrat(1574,64168 + def parseString(1608,66075 + def scanString(1658,68342 + def transformString(1729,71162 + def searchString(1772,73156 + def split(1799,74563 + def __add__(1821,75531 + def __radd__(1841,76369 + def __sub__(1853,76877 + def __rsub__(1865,77390 + def __mul__(1877,77898 + def makeOptionalList(1926,80316 + def __rmul__(1945,80986 + def __or__(1948,81056 + def __ror__(1960,81559 + def __xor__(1972,82066 + def __rxor__(1984,82554 + def __and__(1996,83062 + def __rand__(2008,83554 + def __invert__(2020,84062 + def __call__(2026,84211 + def suppress(2045,84925 + def leaveWhitespace(2052,85142 + def setWhitespaceChars(2061,85520 + def parseWithTabs(2070,85774 + def ignore(2079,86112 + def setDebugActions(2102,86965 + def setDebug(2112,87421 + def __str__(2153,89394 + def __repr__(2156,89448 + def streamline(2159,89505 + def checkRecursion(2164,89619 + def validate(2167,89686 + def parseFile(2173,89892 + def __eq__(2193,90716 + def __ne__(2201,91009 + def __hash__(2204,91076 + def __req__(2207,91134 + def __rne__(2210,91196 + def matches(2213,91264 + def runTests(2232,91996 +class Token(2364,97048 + def __init__(2368,97175 +class Empty(2372,97260 + def __init__(2376,97339 +class NoMatch(2383,97509 + def __init__(2387,97586 + def parseImpl(2394,97801 +class Literal(2398,97928 + def __init__(2412,98439 + def parseImpl(2431,99267 +class Keyword(2439,99629 + def __init__(2458,100585 + def parseImpl(2479,101454 + def copy(2493,102342 + def setDefaultKeywordChars(2499,102496 +class CaselessLiteral(2504,102648 + def __init__(2515,103066 + def parseImpl(2522,103355 +class CaselessKeyword(2527,103606 + def __init__(2536,103866 + def parseImpl(2539,104013 +class CloseMatch(2545,104388 + def __init__(2570,105849 + def parseImpl(2579,106249 +class Word(2606,107249 + def __init__(2653,109650 + def parseImpl(2707,111840 + def __str__(2742,113084 + def charsAsStr(2751,113256 +class Regex(2765,113716 + def __init__(2779,114465 + def parseImpl(2813,115824 + def __str__(2826,116224 +class QuotedString(2838,116487 + def __init__(2863,118002 + def parseImpl(2928,120906 + def __str__(2963,122170 +class CharsNotIn(2975,122496 + def __init__(2991,123304 + def parseImpl(3015,124034 + def __str__(3032,124596 +class White(3046,124986 + def __init__(3061,125574 + def parseImpl(3081,126225 +class _PositionToken(3097,126773 + def __init__(3098,126803 +class GoToColumn(3104,126994 + def __init__(3108,127141 + def preParse(3112,127246 + def parseImpl(3121,127613 +class LineStart(3130,127946 + def __init__(3151,128460 + def parseImpl(3155,128579 +class LineEnd(3160,128769 + def __init__(3164,128900 + def parseImpl(3169,129102 +class StringStart(3180,129509 + def __init__(3184,129636 + def parseImpl(3188,129757 +class StringEnd(3195,130071 + def __init__(3199,130190 + def parseImpl(3203,130307 +class WordStart(3213,130681 + def __init__(3221,131102 + def parseImpl(3226,131288 +class WordEnd(3233,131575 + def __init__(3241,131972 + def parseImpl(3247,132191 +class ParseExpression(3256,132533 + def __init__(3260,132680 + def __getitem__(3280,133497 + def append(3283,133562 + def leaveWhitespace(3288,133682 + def ignore(3297,134037 + def __str__(3309,134495 + def streamline(3319,134792 + def setResultsName(3353,136179 + def validate(3357,136341 + def copy(3363,136529 +class And(3368,136674 + class _ErrorStop(3384,137255 + def __init__(3385,137285 + def __init__(3390,137464 + def parseImpl(3397,137796 + def __iadd__(3422,138971 + def checkRecursion(3427,139176 + def __str__(3434,139427 +class Or(3444,139667 + def __init__(3458,140165 + def parseImpl(3465,140425 + def __ixor__(3503,141864 + def __str__(3508,142068 + def checkRecursion(3517,142308 +class MatchFirst(3523,142500 + def __init__(3540,143264 + def parseImpl(3547,143532 + def __ior__(3571,144522 + def __str__(3576,144733 + def checkRecursion(3585,144973 +class Each(3591,145165 + def __init__(3645,147160 + def parseImpl(3651,147410 + def __str__(3700,149630 + def checkRecursion(3709,149870 +class ParseElementEnhance(3715,150062 + def __init__(3719,150216 + def parseImpl(3737,151054 + def leaveWhitespace(3743,151309 + def ignore(3750,151517 + def streamline(3762,152009 + def checkRecursion(3768,152186 + def validate(3775,152499 + def __str__(3781,152692 +class FollowedBy(3792,153020 + def __init__(3809,153844 + def parseImpl(3813,153962 +class NotAny(3818,154094 + def __init__(3829,154584 + def parseImpl(3836,154906 + def __str__(3841,155110 +class _MultipleMatch(3850,155327 + def __init__(3851,155371 + def parseImpl(3859,155695 +class OneOrMore(3888,156861 + def __str__(3914,158087 +class ZeroOrMore(3923,158306 + def __init__(3935,158738 + def parseImpl(3939,158891 + def __str__(3945,159119 +class _NullToken(3954,159338 + def __bool__(3955,159365 + def __str__(3958,159440 +class Optional(3962,159521 + def __init__(3997,160469 + def parseImpl(4003,160717 + def __str__(4017,161322 +class SkipTo(4026,161538 + def __init__(4081,164198 + def parseImpl(4094,164720 +class Forward(4141,166538 + def __init__(4160,167447 + def __lshift__(4163,167551 + def __ilshift__(4176,168108 + def leaveWhitespace(4179,168179 + def streamline(4183,168273 + def validate(4190,168475 + def __str__(4197,168717 + def copy(4214,169298 +class _ForwardNoRecurse(4222,169497 + def __str__(4223,169532 +class TokenConverter(4226,169582 + def __init__(4230,169721 +class Combine(4234,169871 + def __init__(4251,170654 + def ignore(4261,171077 + def postParse(4268,171272 +class Group(4278,171630 + def __init__(4292,172189 + def postParse(4296,172300 +class Dict(4299,172386 + def __init__(4335,174084 + def postParse(4339,174194 +class Suppress(4364,175201 + def postParse(4383,175861 + def suppress(4386,175936 +class OnlyOnce(4390,175988 + def __init__(4394,176100 + def __call__(4397,176215 + def reset(4403,176417 +def traceParseAction(4406,176470 + def remove_duplicate_chars(4417,176943 + def z(4428,177435 +def delimitedList(4450,178105 +def countedArray(4469,179149 + def countFieldParseAction(4488,180071 +def _flatten(4500,180531 +def matchPreviousLiteral(4509,180709 + def copyTokenToRepeater(4523,181340 +def matchPreviousExpr(4537,181777 + def copyTokenToRepeater(4554,182485 + def mustMatchTheseTokens(4556,182566 +def _escapeRegexRangeChars(4565,182946 +def oneOf(4573,183155 +def dictOf(4646,186066 +def originalTextFor(4681,187694 + def extractText(4712,189261 +def ungroup(4718,189480 +def locatedExpr(4725,189693 +def srange(4763,191489 +def matchOnlyAtCol(4787,192789 + def verifyCol(4792,192944 +def replaceWith(4797,193119 +def removeQuotes(4811,193647 +def tokenMap(4825,194253 + def pa(4857,195674 +def _makeTags(4875,196348 +def makeHTMLTags(4904,197956 +def makeXMLTags(4923,198851 +def withAttribute(4932,199120 + def pa(4987,201448 +def withClass(4997,201951 +def infixNotation(5036,203235 +def nestedExpr(5157,209485 +def indentedBlock(5247,213931 + def A(5266,214790 + def BB(5273,214899 + def BBA(5275,214938 + def spam(5281,215036 + def eggs(5282,215060 + def checkPeerIndent(5325,216399 + def checkSubIndent(5333,216698 + def checkUnindent(5340,216910 +def replaceHTMLEntity(5367,218275 +class pyparsing_common:pyparsing_common5399,220029 + def convertToDate(5593,226335 + def cvt_fn(5607,226875 + def convertToDatetime(5615,227116 + def cvt_fn(5629,227731 + def stripHTMLTags(5647,228681 + +venv/lib/python2.7/site-packages/setuptools/config.py,1337 +def read_configuration(21,469 +def _get_option(68,1928 +def configuration_to_dict(80,2327 +def parse_configuration(98,2821 +class ConfigHandler:ConfigHandler125,3692 + def __init__(141,4084 + def parsers(158,4678 + def __setitem__(163,4873 + def _parse_list(202,5912 + def _parse_dict(222,6489 + def _parse_bool(240,6995 + def _exclude_files_parser(250,7217 + def parser(260,7496 + def _parse_file(270,7840 + def _assert_local(301,8746 + def _read_file(307,8953 + def _parse_attr(312,9084 + def _get_parser_compound(357,10581 + def parse(365,10832 + def _parse_section_to_dict(376,11034 + def parse_section(391,11523 + def parse(403,11880 + def _deprecated_config_handler(427,12728 + def config_handler(435,13065 +class ConfigMetadataHandler(442,13230 + def __init__(459,13629 + def parsers(466,13938 + def _parse_version(491,14922 +class ConfigOptionsHandler(527,15986 + def parsers(532,16076 + def _parse_packages(559,17132 + def parse_section_packages__find(587,18031 + def parse_section_entry_points(608,18697 + def _parse_package_data(616,18986 + def parse_section_package_data(626,19249 + def parse_section_exclude_package_data(633,19493 + def parse_section_extras_require(641,19774 + def parse_section_data_files(650,20114 + +venv/lib/python2.7/site-packages/setuptools/dist.py,2272 +def _get_unpatched(46,1191 +def get_metadata_version(51,1319 +def read_pkg_file(72,1995 + def _read_field(76,2117 + def _read_list(82,2247 +def write_pkg_file(126,3631 + def write_field(132,3786 + def write_field(135,3903 +def check_importable(206,6155 +def assert_string_list(217,6502 +def check_nsp(227,6829 +def check_extras(245,7516 +def _check_extra(257,7960 +def assert_bool(264,8218 +def check_requirements(271,8474 +def check_specifier(285,9038 +def check_entry_points(297,9452 +def check_test_suite(305,9673 +def check_package_data(310,9829 +def check_packages(328,10342 +class Distribution(340,10704 + def patch_missing_pkg_info(416,14916 + def __init__(429,15535 + def _finalize_requires(488,18227 + def _convert_extras_requirements(508,19073 + def _suffix_for(524,19743 + def _move_install_requirements_markers(531,19945 + def is_simple_req(541,20298 + def _clean_req(557,20950 + def _parse_config_files(564,21122 + def _try_str(631,23861 + def _set_command_options(650,24413 + def parse_config_files(697,26489 + def parse_command_line(708,26888 + def _feature_attrname(715,27131 + def fetch_build_eggs(719,27293 + def finalize_options(730,27717 + def get_egg_cache_dir(749,28480 + def fetch_build_egg(764,29221 + def _set_global_opts_from_features(793,30418 + def _finalize_features(820,31383 + def get_command_class(837,32169 + def print_commands(850,32668 + def get_command_list(858,33029 + def _set_feature(866,33394 + def feature_is_included(870,33542 + def include_feature(874,33723 + def include(885,34129 + def exclude_package(907,35137 + def has_contents_for(929,35813 + def _exclude_misc(938,36087 + def _include_misc(957,36863 + def exclude(980,37700 + def _exclude_packages(1003,38847 + def _parse_command_opts(1010,39120 + def get_cmdline_options(1036,40149 + def iter_distribution_names(1076,41449 + def handle_display_options(1094,41969 +class Feature:Feature1130,43422 + def warn_deprecated(1188,46526 + def __init__(1195,46789 + def include_by_default(1225,47836 + def include_in(1229,47977 + def exclude_from(1249,48618 + def validate(1264,49116 +class DistDeprecationWarning(1284,49995 + +venv/lib/python2.7/site-packages/setuptools/site-patch.py,16 +def __boot(1,0 + +venv/lib/python2.7/site-packages/setuptools/launch.py,16 +def run(13,246 + +venv/lib/python2.7/site-packages/setuptools/glibc.py,123 +def glibc_version_string(10,224 +def check_glibc_version(36,1220 +def have_compatible_glibc(52,1998 +def libc_ver(76,2825 + +venv/lib/python2.7/site-packages/setuptools/glob.py,210 +def glob(16,245 +def iglob(30,726 +def _iglob(48,1332 +def glob1(91,2827 +def glob0(104,3136 +def glob2(120,3610 +def _rlistdir(128,3813 +def has_magic(149,4319 +def _isrecursive(157,4489 +def escape(164,4626 + +venv/lib/python2.7/site-packages/setuptools/dep_util.py,32 +def newer_pairwise_group(6,163 + +venv/lib/python2.7/site-packages/setuptools/lib2to3_ex.py,239 +class DistutilsRefactoringTool(17,297 + def log_error(18,346 + def log_message(21,420 + def log_debug(24,489 +class Mixin2to3(28,558 + def run_2to3(29,587 + def __build_fixer_names(46,1221 + def __exclude_fixers(56,1633 + +venv/lib/python2.7/site-packages/setuptools/_deprecation_warning.py,40 +class SetuptoolsDeprecationWarning(1,0 + +venv/lib/python2.7/site-packages/setuptools/pep425tags.py,377 +def get_config_var(22,494 +def get_abbr_impl(30,689 +def get_impl_ver(43,994 +def get_impl_version_info(51,1237 +def get_impl_tag(62,1626 +def get_flag(69,1776 +def get_abi_tag(81,2185 +def _is_running_32bit(115,3308 +def get_platform(119,3372 +def is_manylinux1_compatible(145,4411 +def get_darwin_arches(162,4905 + def _supports_arch(168,5118 +def get_supported(223,7238 + +venv/lib/python2.7/site-packages/setuptools/msvc.py,2613 + class winreg:winreg40,1028 +def msvc9_find_vcvarsall(63,1523 +def msvc9_query_vcvarsall(106,2827 +def msvc14_get_vc_env(153,4196 +def msvc14_gen_lib_options(191,5278 +def _augment_exception(204,5779 +class PlatformInfo:PlatformInfo240,7415 + def __init__(251,7646 + def target_cpu(255,7748 + def target_is_x86(258,7826 + def current_is_x86(261,7896 + def current_dir(264,7968 + def target_dir(286,8601 + def cross_dir(308,9231 +class RegistryInfo:RegistryInfo331,9855 + def __init__(345,10197 + def visualstudio(349,10283 + def sxs(356,10431 + def vc(363,10593 + def vs(370,10742 + def vc_for_python(377,10894 + def microsoft_sdk(384,11053 + def windows_sdk(391,11189 + def netfx_sdk(398,11367 + def windows_kits_roots(405,11542 + def microsoft(411,11699 + def lookup(429,12162 +class SystemInfo:SystemInfo464,13143 + def __init__(482,13716 + def _find_latest_available_vc_ver(487,13899 + def find_available_vc_vers(494,14159 + def VSInstallDir(525,15325 + def VCInstallDir(537,15721 + def _guess_vc(559,16522 + def _guess_vc_legacy(575,16984 + def WindowsSdkVersion(583,17233 + def WindowsSdkLastVersion(599,17723 + def WindowsSdkDir(607,17935 + def WindowsSDKExecutablePath(645,19534 + def FSharpInstallDir(676,20608 + def UniversalCRTSdkDir(685,20877 + def UniversalCRTSdkLastVersion(704,21421 + def NetFxSdkVersion(712,21655 + def NetFxSdkDir(723,21934 + def FrameworkDir32(735,22284 + def FrameworkDir64(746,22638 + def FrameworkVersion32(757,22994 + def FrameworkVersion64(764,23163 + def _find_dot_net_versions(770,23318 + def _use_last_dir_name(796,24261 +class EnvironmentInfo:EnvironmentInfo816,24829 + def __init__(840,25612 + def vc_ver(850,25975 + def VSTools(857,26104 + def VCIncludes(872,26637 + def VCLibraries(880,26903 + def VCStoreRefs(896,27430 + def VCTools(905,27682 + def OSLibraries(937,28764 + def OSIncludes(952,29294 + def OSLibpath(971,29879 + def SdkTools(1016,31267 + def _sdk_tools(1022,31391 + def _sdk_subdir(1053,32577 + def SdkSetup(1061,32789 + def FxTools(1071,33003 + def NetFxSDKLibraries(1095,33756 + def NetFxSDKIncludes(1106,34085 + def VsTDb(1116,34349 + def MSBuild(1123,34532 + def HTMLHelpWorkshop(1146,35193 + def UCRTLibraries(1156,35432 + def UCRTIncludes(1169,35827 + def _ucrt_subdir(1180,36137 + def FSharp(1188,36367 + def VCRuntimeRedist(1198,36573 + def return_env(1216,37291 + def _build_paths(1261,39227 + def _unique_everseen(1281,40166 + +venv/lib/python2.7/site-packages/setuptools/__init__.py,521 +class PackageFinder:PackageFinder47,1182 + def find(53,1305 + def _find_packages_iter(76,2363 + def _looks_like_package(104,3465 + def _build_filter(109,3636 +class PEP420PackageFinder(117,3910 + def _looks_like_package(119,3970 +def _install_setup_requires(129,4126 +def setup(142,4604 +class Command(153,4876 + def __init__(158,4973 + def _ensure_stringlike(166,5199 + def ensure_string_list(176,5591 + def reinitialize_command(197,6407 +def _find_all_simple(203,6609 +def findall(215,6876 + +venv/lib/python2.7/site-packages/setuptools/py31compat.py,144 + class TemporaryDirectory:TemporaryDirectory13,164 + def __init__(20,378 + def __enter__(24,518 + def __exit__(27,577 + +venv/lib/python2.7/site-packages/setuptools/unicode_utils.py,100 +def decompose(9,110 +def filesys_decode(21,421 +def try_encode(40,829 +def detect_encoding(51,1077 + +venv/lib/python2.7/site-packages/setuptools/ssl_support.py,530 + class CertificateError(53,1243 + def _dnsname_match(59,1322 + def match_hostname(111,3442 +class VerifyingHTTPSHandler(152,5137 + def __init__(155,5253 + def https_open(159,5360 +class VerifyingHTTPSConn(165,5515 + def __init__(168,5634 + def connect(172,5768 +def opener_for(205,7089 +def once(213,7334 + def wrapper(215,7377 +def get_win_certfile(223,7577 + class CertFile(229,7683 + def __init__(230,7726 + def close(234,7840 +def find_ca_bundle(246,8093 +def _certifi_where(256,8344 + +venv/lib/python2.7/site-packages/setuptools/namespaces.py,351 +class Installer:Installer11,142 + def install_namespaces(15,190 + def uninstall_namespaces(33,730 + def _get_target(41,993 + def _get_root(67,1973 + def _gen_nspkg_line(70,2053 + def _get_all_ns_packages(81,2452 + def _pkg_names(87,2683 +class DevelopInstaller(102,3042 + def _get_root(103,3077 + def _get_target(106,3143 + +venv/lib/python2.7/site-packages/setuptools/py27compat.py,60 +def get_all_headers(10,111 + def get_all_headers(18,275 + +venv/lib/python2.7/site-packages/setuptools/extension.py,143 +def _have_cython(12,182 +class Extension(32,605 + def __init__(35,701 + def _convert_pyx_sources_to_lang(41,1019 +class Library(56,1631 + +venv/lib/python2.7/site-packages/setuptools/monkey.py,289 +def _get_mro(24,341 +def get_unpatched(38,860 +def get_unpatched_class(47,1104 +def patch_all(65,1622 +def _patch_distribution_metadata(104,2865 +def patch_func(111,3176 +def get_unpatched_function(128,3688 +def patch_for_msvc_specialized_compiler(132,3772 + def patch_params(144,4135 + +venv/lib/python2.7/site-packages/attr/validators.py,430 +class _InstanceOfValidator(14,268 + def __call__(17,325 + def __repr__(35,901 +def instance_of(41,1031 +class _ProvidesValidator(58,1631 + def __call__(61,1691 + def __repr__(76,2198 +def provides(82,2345 +class _OptionalValidator(99,3005 + def __call__(102,3065 + def __repr__(108,3197 +def optional(114,3336 +class _InValidator(133,4010 + def __call__(136,4062 + def __repr__(149,4483 +def in_(155,4618 + +venv/lib/python2.7/site-packages/attr/filters.py,115 +def _split_what(11,184 +def include(21,433 + def include_(32,673 +def exclude(38,792 + def exclude_(49,1027 + +venv/lib/python2.7/site-packages/attr/_funcs.py,130 +def asdict(10,213 +def _asdict_anything(85,2922 +def astuple(116,3921 +def has(215,7500 +def assoc(227,7772 +def evolve(265,8853 + +venv/lib/python2.7/site-packages/attr/_make.py,2571 +class _Nothing(46,1057 + def __new__(55,1264 + def __repr__(60,1430 +def attrib(70,1581 +def _make_attr_tuple_class(222,7354 + class MyClassAttributes(228,7545 +def _is_class_var(265,8658 +def _get_annotations(276,8991 +def _counter_getter(292,9354 +def _transform_attrs(299,9496 +def _frozen_setattrs(425,13705 +def _frozen_delattrs(432,13843 +class _ClassBuilder(439,13974 + def __init__(459,14345 + def __repr__(493,15399 + def build_class(496,15499 + def _patch_original_class(507,15813 + def _create_slots_class(535,16782 + def slots_getstate(579,18295 + def slots_setstate(585,18481 + def add_repr(622,20118 + def add_str(628,20283 + def __str__(635,20492 + def make_unhashable(641,20646 + def add_hash(645,20740 + def add_init(654,20975 + def add_cmp(668,21328 + def _add_method_dunders(679,21607 +def attrs(698,22058 + class,769,25483 + class which 819,28123 + def wrap(843,29143 + def _has_frozen_base_class(916,31317 + def _has_frozen_base_class(930,31673 +def _attrs_to_tuple(938,31876 +def _make_hash(945,32034 + def append_hash_computation_lines(962,32524 +def _add_hash(1010,34098 +def __ne__(1018,34259 +def _make_cmp(1036,34635 + def attrs_to_tuple(1078,35962 + def __lt__(1084,36088 + def __le__(1097,36516 + def __gt__(1110,36945 + def __ge__(1123,37373 +def _add_cmp(1139,37854 +def _make_repr(1156,38170 + def __repr__(1162,38340 +def _add_repr(1205,39773 +def _make_init(1216,39979 +def _add_init(1251,41209 +def fields(1266,41560 +def fields_dict(1294,42380 +def validate(1322,43324 +def _is_slot_cls(1339,43714 +def _is_slot_attr(1343,43778 +def _attrs_to_init_script(1350,43970 + def fmt_setter(1374,44782 + def fmt_setter_with_converter(1380,45009 + def fmt_setter(1401,45951 + def fmt_setter_with_converter(1414,46496 + def fmt_setter(1428,47073 + def fmt_setter_with_converter(1434,47258 +def __init__(1613,54315 +class Attribute(1623,54505 + def __init__(1648,54975 + def __setattr__(1701,56563 + def convert(1705,56654 + def from_counting_attr(1715,56944 + def _assoc(1744,57827 + def __getstate__(1755,58081 + def __setstate__(1764,58315 + def _setattrs(1770,58457 +class _CountingAttr(1804,59314 + def __init__(1852,60463 + def validator(1882,61240 + def default(1896,61590 +class Factory(1918,62110 + def __init__(1936,62652 +def make_class(1945,62927 +class _AndValidator(2003,64972 + def __call__(2010,65091 +def and_(2015,65204 + +venv/lib/python2.7/site-packages/attr/converters.py,178 +def optional(10,141 + def optional_converter(21,425 +def default_if_none(29,569 + def default_if_none_converter(64,1833 + def default_if_none_converter(72,1986 + +venv/lib/python2.7/site-packages/attr/_config.py,61 +def set_run_validators(9,148 +def get_run_validators(19,399 + +venv/lib/python2.7/site-packages/attr/_compat.py,594 + def isclass(26,552 + def iteritems(32,730 + class ReadOnlyDict(36,850 + def __setitem__(41,961 + def update(47,1182 + def __delitem__(53,1389 + def clear(59,1601 + def pop(65,1803 + def popitem(71,2020 + def setdefault(77,2226 + def __repr__(83,2457 + def metadata_proxy(87,2609 + def isclass(95,2773 + def iteritems(100,2857 + def metadata_proxy(103,2905 +def import_ctypes(107,2981 + def just_warn(118,3113 + def just_warn(133,3533 +def make_set_closure_cell(140,3742 + def set_closure_cell(146,3864 + +venv/lib/python2.7/site-packages/attr/exceptions.py,219 +class FrozenInstanceError(4,67 +class AttrsAttributeNotFoundError(18,398 +class NotAnAttrsClassError(26,571 +class DefaultAlreadySetError(34,729 +class UnannotatedAttributeError(43,922 +class PythonTooOldError(52,1108 + +venv/lib/python2.7/site-packages/pkg_resources/extern/__init__.py,177 +class VendorImporter:VendorImporter4,13 + def __init__(10,179 + def search_path(16,429 + def find_module(23,601 + def load_module(35,1009 + def install(64,2206 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.py,139 +class InvalidRequirement(18,697 +class Requirement(75,2481 + def __init__(88,2993 + def __str__(109,3869 + def __repr__(126,4275 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py,1971 +class InvalidSpecifier(15,405 +class BaseSpecifier(21,526 + def __str__(24,609 + def __hash__(31,814 + def __eq__(37,948 + def __ne__(44,1130 + def prereleases(51,1318 + def prereleases(58,1488 + def contains(65,1662 + def filter(71,1832 +class _IndividualSpecifier(78,2048 + def __init__(82,2113 + def __repr__(95,2540 + def __str__(108,2844 + def __hash__(111,2912 + def __eq__(114,2969 + def __ne__(125,3309 + def _get_operator(136,3649 + def _coerce_version(139,3756 + def operator(145,3933 + def version(149,4001 + def prereleases(153,4068 + def prereleases(157,4153 + def __contains__(160,4222 + def contains(163,4292 + def filter(182,5119 +class LegacySpecifier(214,6501 + def _coerce_version(242,7358 + def _compare_equal(247,7523 + def _compare_not_equal(250,7630 + def _compare_less_than_equal(253,7741 + def _compare_greater_than_equal(256,7858 + def _compare_less_than(259,7978 + def _compare_greater_than(262,8088 +def _require_version_compare(266,8202 + def wrapped(268,8261 +class Specifier(275,8441 + def _compare_compatible(387,12748 + def _compare_equal(414,13859 + def _compare_not_equal(449,15446 + def _compare_less_than_equal(453,15588 + def _compare_greater_than_equal(457,15722 + def _compare_less_than(461,15859 + def _compare_greater_than(486,17010 + def _compare_arbitrary(516,18450 + def prereleases(520,18579 + def prereleases(544,19506 +def _version_split(551,19640 +def _pad_version(562,19890 +class SpecifierSet(589,20650 + def __init__(591,20686 + def __repr__(612,21597 + def __str__(621,21838 + def __hash__(624,21923 + def __and__(627,21981 + def __eq__(650,22842 + def __ne__(660,23183 + def __len__(670,23524 + def __iter__(673,23580 + def prereleases(677,23652 + def prereleases(694,24333 + def __contains__(697,24402 + def contains(700,24472 + def filter(729,25904 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/markers.py,710 +class InvalidMarker(25,758 +class UndefinedComparison(31,873 +class UndefinedEnvironmentName(37,1005 +class Node(44,1154 + def __init__(46,1175 + def __str__(49,1234 + def __repr__(52,1289 + def serialize(55,1387 +class Variable(59,1448 + def serialize(61,1471 +class Value(65,1523 + def serialize(67,1543 +class Op(71,1606 + def serialize(73,1623 +def _coerce_parse_result(141,3436 +def _format_marker(148,3606 +def _eval_op(183,4682 +def _get_env(203,5095 +def _evaluate_markers(214,5348 +def format_full_version(241,6180 +def default_environment(249,6390 +class Marker(272,7196 + def __init__(274,7219 + def __str__(282,7544 + def __repr__(285,7613 + def evaluate(288,7689 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/_compat.py,83 +def with_metaclass(20,409 + class metaclass(27,684 + def __new__(28,711 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/_structures.py,482 +class Infinity(7,247 + def __repr__(9,272 + def __hash__(12,323 + def __lt__(15,380 + def __le__(18,431 + def __eq__(21,482 + def __ne__(24,561 + def __gt__(27,644 + def __ge__(30,694 + def __neg__(33,744 +class NegativeInfinity(39,824 + def __repr__(41,857 + def __hash__(44,909 + def __lt__(47,966 + def __le__(50,1016 + def __eq__(53,1066 + def __ne__(56,1145 + def __gt__(59,1228 + def __ge__(62,1279 + def __neg__(65,1330 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/version.py,923 +def parse(24,534 +class InvalidVersion(36,882 +class _BaseVersion(42,999 + def __hash__(44,1028 + def __lt__(47,1084 + def __le__(50,1170 + def __eq__(53,1257 + def __ge__(56,1344 + def __gt__(59,1431 + def __ne__(62,1517 + def _compare(65,1604 +class LegacyVersion(72,1773 + def __init__(74,1809 + def __str__(78,1930 + def __repr__(81,1983 + def public(85,2084 + def base_version(89,2150 + def local(93,2222 + def is_prerelease(97,2278 + def is_postrelease(101,2343 +def _parse_version_parts(114,2595 +def _legacy_cmpkey(131,3032 +class Version(191,5037 + def __init__(198,5180 + def __repr__(233,6436 + def __str__(236,6517 + def public(267,7417 + def base_version(271,7496 + def local(284,7801 + def is_prerelease(290,7957 + def is_postrelease(294,8061 +def _parse_letter_version(298,8133 +def _parse_local_version(332,9212 +def _cmpkey(343,9523 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/utils.py,30 +def canonicalize_name(12,304 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/appdirs.py,664 +def user_data_dir(45,1333 +def site_data_dir(100,4102 +def user_config_dir(166,7046 +def site_config_dir(206,8975 +def user_cache_dir(257,11322 +def user_state_dir(314,14024 +def user_log_dir(356,16019 +class AppDirs(407,18382 + def __init__(409,18465 + def user_data_dir(418,18755 + def site_data_dir(423,18931 + def user_config_dir(428,19111 + def site_config_dir(433,19293 + def user_cache_dir(438,19477 + def user_state_dir(443,19634 + def user_log_dir(448,19791 +def _get_win_folder_from_registry(455,19959 +def _get_win_folder_with_pywin32(479,20643 +def _get_win_folder_with_ctypes(506,21496 +def _get_win_folder_with_jna(532,22256 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/six.py,2326 + class X(60,2014 + def __len__(62,2040 +def _add_doc(75,2320 +def _import_module(80,2413 +class _LazyDescr(86,2557 + def __init__(88,2584 + def __get__(91,2640 +class MovedModule(103,3006 + def __init__(105,3038 + def _resolve(114,3271 + def __getattr__(117,3336 +class _LazyModule(124,3500 + def __init__(126,3538 + def __dir__(130,3663 +class MovedAttribute(139,3879 + def __init__(141,3914 + def _resolve(159,4498 +class _SixMetaPathImporter(164,4608 + def __init__(173,4863 + def _add_module(177,4973 + def _get_module(181,5118 + def find_module(184,5218 + def __get_module(189,5354 + def load_module(195,5557 + def is_package(209,5944 + def get_code(218,6218 +class _MovedItems(229,6507 +class Module_six_moves_urllib_parse(320,11269 +class Module_six_moves_urllib_error(360,13175 +class Module_six_moves_urllib_request(380,13871 +class Module_six_moves_urllib_response(430,16639 +class Module_six_moves_urllib_robotparser(451,17427 +class Module_six_moves_urllib(469,18076 + def __dir__(479,18550 +def add_move(486,18761 +def remove_move(491,18861 + def advance_iterator(523,19580 + def callable(531,19708 + def get_unbound_function(536,19821 + def create_unbound_method(541,19928 + def get_unbound_function(546,20019 + def create_bound_method(549,20090 + def create_unbound_method(552,20189 + class Iterator(555,20281 + def next(557,20310 + def iterkeys(574,20847 + def itervalues(577,20909 + def iteritems(580,20975 + def iterlists(583,21039 + def iterkeys(592,21252 + def itervalues(595,21312 + def iteritems(598,21376 + def iterlists(601,21438 + def b(619,22009 + def u(622,22059 + def b(642,22612 + def u(646,22686 + def byte2int(651,22808 + def indexbytes(654,22857 +def assertCountEqual(666,23226 +def assertRaisesRegex(670,23334 +def assertRegex(674,23444 + def reraise(681,23595 + def exec_(689,23795 + def raise_from(717,24565 + def print_(723,24693 + def write(729,24880 + def print_(779,26623 + def wraps(789,26919 + def wrapper(791,27032 +def with_metaclass(800,27235 + class metaclass(805,27500 + def __new__(807,27528 +def add_metaclass(812,27679 + def wrapper(814,27774 +def python_2_unicode_compatible(828,28226 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py,11901 +class names,53,2401 + def _ustr(154,6714 +def _xml_escape(185,8042 +class _Constants(195,8378 +class ParseBaseException(205,8675 + def __init__(209,8900 + def _from_exception(221,9233 + def __getattr__(228,9525 + def __str__(243,10145 + def __repr__(246,10294 + def markInputline(248,10349 + def __dir__(258,10811 +class ParseException(261,10897 +class ParseFatalException(282,11571 +class ParseSyntaxException(287,11754 +class RecursiveGrammarException(306,12720 + def __init__(308,12867 + def __str__(311,12965 +class _ParseResultsWithOffset(314,13066 + def __init__(315,13106 + def __getitem__(317,13165 + def __repr__(319,13223 + def setOffset(321,13282 +class ParseResults(324,13348 + def test(342,14111 + def __new__(363,14779 + def __init__(372,15134 + def __getitem__(411,16833 + def __setitem__(420,17149 + def __delitem__(433,17663 + def __contains__(454,18471 + def __len__(457,18543 + def __bool__(458,18598 + def __iter__(460,18685 + def __reversed__(461,18742 + def _iterkeys(462,18809 + def _itervalues(468,18990 + def _iteritems(471,19086 + def keys(494,19900 + def values(498,20077 + def items(502,20276 + def haskeys(506,20471 + def pop(511,20705 + def remove_first(523,21326 + def remove_LABEL(534,21914 + def get(563,22841 + def insert(585,23638 + def insert_locn(595,24029 + def append(605,24560 + def append_sum(613,24899 + def extend(619,25166 + def make_palindrome(627,25468 + def clear(637,25896 + def __getattr__(644,26058 + def __add__(658,26473 + def __iadd__(663,26577 + def __radd__(679,27260 + def __repr__(687,27557 + def __str__(690,27666 + def _asStringList(693,27810 + def asList(704,28146 + def asDict(720,28942 + def toItem(744,30082 + def copy(755,30431 + def asXML(766,30778 + def __lookup(827,33119 + def getName(834,33312 + def dump(871,34659 + def pprint(916,36533 + def __getstate__(940,37461 + def __setstate__(947,37719 + def __getnewargs__(960,38088 + def __dir__(963,38194 +def col 968,38315 +def lineno(981,38972 +def line(993,39575 +def _defaultStartDebugAction(1003,39892 +def _defaultSuccessDebugAction(1006,40070 +def _defaultExceptionDebugAction(1009,40215 +def nullDebugAction(1012,40326 +def _trim_arity(1039,41300 + def extract_stack(1047,41583 + def extract_tb(1052,41884 + def wrapper(1069,42637 +class ParserElement(1103,43730 + def setDefaultWhitespaceChars(1109,43903 + def inlineLiteralsUsing(1124,44512 + def __init__(1144,45275 + def copy(1167,46397 + def setName(1190,47507 + def setResultsName(1204,48100 + def setBreak(1232,49282 + def breaker(1239,49572 + def setParseAction(1250,50043 + def addParseAction(1288,52106 + def addCondition(1298,52527 + def pa(1318,53766 + def setFailAction(1325,54044 + def _skipIgnorables(1338,54680 + def preParse(1351,55101 + def parseImpl(1363,55446 + def postParse(1366,55531 + def _parseNoCache(1370,55630 + def tryParse(1441,59228 + def canParseNext(1447,59465 + class _UnboundedCache(1455,59679 + def __init__(1456,59715 + def get(1460,59827 + def set(1463,59915 + def clear(1466,59993 + def cache_len(1469,60072 + class _FifoCache(1478,60401 + def __init__(1479,60436 + def get(1484,60580 + def set(1487,60676 + def clear(1495,60964 + def cache_len(1498,61035 + class _FifoCache(1507,61365 + def __init__(1508,61400 + def get(1514,61588 + def set(1517,61684 + def clear(1523,61922 + def cache_len(1527,62031 + def _parseCache(1542,62826 + def resetCache(1568,63957 + def enablePackrat(1574,64168 + def parseString(1608,66075 + def scanString(1658,68342 + def transformString(1729,71162 + def searchString(1772,73156 + def split(1799,74563 + def __add__(1821,75531 + def __radd__(1841,76369 + def __sub__(1853,76877 + def __rsub__(1865,77390 + def __mul__(1877,77898 + def makeOptionalList(1926,80316 + def __rmul__(1945,80986 + def __or__(1948,81056 + def __ror__(1960,81559 + def __xor__(1972,82066 + def __rxor__(1984,82554 + def __and__(1996,83062 + def __rand__(2008,83554 + def __invert__(2020,84062 + def __call__(2026,84211 + def suppress(2045,84925 + def leaveWhitespace(2052,85142 + def setWhitespaceChars(2061,85520 + def parseWithTabs(2070,85774 + def ignore(2079,86112 + def setDebugActions(2102,86965 + def setDebug(2112,87421 + def __str__(2153,89394 + def __repr__(2156,89448 + def streamline(2159,89505 + def checkRecursion(2164,89619 + def validate(2167,89686 + def parseFile(2173,89892 + def __eq__(2193,90716 + def __ne__(2201,91009 + def __hash__(2204,91076 + def __req__(2207,91134 + def __rne__(2210,91196 + def matches(2213,91264 + def runTests(2232,91996 +class Token(2364,97048 + def __init__(2368,97175 +class Empty(2372,97260 + def __init__(2376,97339 +class NoMatch(2383,97509 + def __init__(2387,97586 + def parseImpl(2394,97801 +class Literal(2398,97928 + def __init__(2412,98439 + def parseImpl(2431,99267 +class Keyword(2439,99629 + def __init__(2458,100585 + def parseImpl(2479,101454 + def copy(2493,102342 + def setDefaultKeywordChars(2499,102496 +class CaselessLiteral(2504,102648 + def __init__(2515,103066 + def parseImpl(2522,103355 +class CaselessKeyword(2527,103606 + def __init__(2536,103866 + def parseImpl(2539,104013 +class CloseMatch(2545,104388 + def __init__(2570,105849 + def parseImpl(2579,106249 +class Word(2606,107249 + def __init__(2653,109650 + def parseImpl(2707,111840 + def __str__(2742,113084 + def charsAsStr(2751,113256 +class Regex(2765,113716 + def __init__(2779,114465 + def parseImpl(2813,115824 + def __str__(2826,116224 +class QuotedString(2838,116487 + def __init__(2863,118002 + def parseImpl(2928,120906 + def __str__(2963,122170 +class CharsNotIn(2975,122496 + def __init__(2991,123304 + def parseImpl(3015,124034 + def __str__(3032,124596 +class White(3046,124986 + def __init__(3061,125574 + def parseImpl(3081,126225 +class _PositionToken(3097,126773 + def __init__(3098,126803 +class GoToColumn(3104,126994 + def __init__(3108,127141 + def preParse(3112,127246 + def parseImpl(3121,127613 +class LineStart(3130,127946 + def __init__(3151,128460 + def parseImpl(3155,128579 +class LineEnd(3160,128769 + def __init__(3164,128900 + def parseImpl(3169,129102 +class StringStart(3180,129509 + def __init__(3184,129636 + def parseImpl(3188,129757 +class StringEnd(3195,130071 + def __init__(3199,130190 + def parseImpl(3203,130307 +class WordStart(3213,130681 + def __init__(3221,131102 + def parseImpl(3226,131288 +class WordEnd(3233,131575 + def __init__(3241,131972 + def parseImpl(3247,132191 +class ParseExpression(3256,132533 + def __init__(3260,132680 + def __getitem__(3280,133497 + def append(3283,133562 + def leaveWhitespace(3288,133682 + def ignore(3297,134037 + def __str__(3309,134495 + def streamline(3319,134792 + def setResultsName(3353,136179 + def validate(3357,136341 + def copy(3363,136529 +class And(3368,136674 + class _ErrorStop(3384,137255 + def __init__(3385,137285 + def __init__(3390,137464 + def parseImpl(3397,137796 + def __iadd__(3422,138971 + def checkRecursion(3427,139176 + def __str__(3434,139427 +class Or(3444,139667 + def __init__(3458,140165 + def parseImpl(3465,140425 + def __ixor__(3503,141864 + def __str__(3508,142068 + def checkRecursion(3517,142308 +class MatchFirst(3523,142500 + def __init__(3540,143264 + def parseImpl(3547,143532 + def __ior__(3571,144522 + def __str__(3576,144733 + def checkRecursion(3585,144973 +class Each(3591,145165 + def __init__(3645,147160 + def parseImpl(3651,147410 + def __str__(3700,149630 + def checkRecursion(3709,149870 +class ParseElementEnhance(3715,150062 + def __init__(3719,150216 + def parseImpl(3737,151054 + def leaveWhitespace(3743,151309 + def ignore(3750,151517 + def streamline(3762,152009 + def checkRecursion(3768,152186 + def validate(3775,152499 + def __str__(3781,152692 +class FollowedBy(3792,153020 + def __init__(3809,153844 + def parseImpl(3813,153962 +class NotAny(3818,154094 + def __init__(3829,154584 + def parseImpl(3836,154906 + def __str__(3841,155110 +class _MultipleMatch(3850,155327 + def __init__(3851,155371 + def parseImpl(3859,155695 +class OneOrMore(3888,156861 + def __str__(3914,158087 +class ZeroOrMore(3923,158306 + def __init__(3935,158738 + def parseImpl(3939,158891 + def __str__(3945,159119 +class _NullToken(3954,159338 + def __bool__(3955,159365 + def __str__(3958,159440 +class Optional(3962,159521 + def __init__(3997,160469 + def parseImpl(4003,160717 + def __str__(4017,161322 +class SkipTo(4026,161538 + def __init__(4081,164198 + def parseImpl(4094,164720 +class Forward(4141,166538 + def __init__(4160,167447 + def __lshift__(4163,167551 + def __ilshift__(4176,168108 + def leaveWhitespace(4179,168179 + def streamline(4183,168273 + def validate(4190,168475 + def __str__(4197,168717 + def copy(4214,169298 +class _ForwardNoRecurse(4222,169497 + def __str__(4223,169532 +class TokenConverter(4226,169582 + def __init__(4230,169721 +class Combine(4234,169871 + def __init__(4251,170654 + def ignore(4261,171077 + def postParse(4268,171272 +class Group(4278,171630 + def __init__(4292,172189 + def postParse(4296,172300 +class Dict(4299,172386 + def __init__(4335,174084 + def postParse(4339,174194 +class Suppress(4364,175201 + def postParse(4383,175861 + def suppress(4386,175936 +class OnlyOnce(4390,175988 + def __init__(4394,176100 + def __call__(4397,176215 + def reset(4403,176417 +def traceParseAction(4406,176470 + def remove_duplicate_chars(4417,176943 + def z(4428,177435 +def delimitedList(4450,178105 +def countedArray(4469,179149 + def countFieldParseAction(4488,180071 +def _flatten(4500,180531 +def matchPreviousLiteral(4509,180709 + def copyTokenToRepeater(4523,181340 +def matchPreviousExpr(4537,181777 + def copyTokenToRepeater(4554,182485 + def mustMatchTheseTokens(4556,182566 +def _escapeRegexRangeChars(4565,182946 +def oneOf(4573,183155 +def dictOf(4646,186066 +def originalTextFor(4681,187694 + def extractText(4712,189261 +def ungroup(4718,189480 +def locatedExpr(4725,189693 +def srange(4763,191489 +def matchOnlyAtCol(4787,192789 + def verifyCol(4792,192944 +def replaceWith(4797,193119 +def removeQuotes(4811,193647 +def tokenMap(4825,194253 + def pa(4857,195674 +def _makeTags(4875,196348 +def makeHTMLTags(4904,197956 +def makeXMLTags(4923,198851 +def withAttribute(4932,199120 + def pa(4987,201448 +def withClass(4997,201951 +def infixNotation(5036,203235 +def nestedExpr(5157,209485 +def indentedBlock(5247,213931 + def A(5266,214790 + def BB(5273,214899 + def BBA(5275,214938 + def spam(5281,215036 + def eggs(5282,215060 + def checkPeerIndent(5325,216399 + def checkSubIndent(5333,216698 + def checkUnindent(5340,216910 +def replaceHTMLEntity(5367,218275 +class pyparsing_common:pyparsing_common5399,220029 + def convertToDate(5593,226335 + def cvt_fn(5607,226875 + def convertToDatetime(5615,227116 + def cvt_fn(5629,227731 + def stripHTMLTags(5647,228681 + +venv/lib/python2.7/site-packages/pkg_resources/__init__.py,9041 +class PEP440Warning(120,2893 +def parse_version(127,3040 +def _declare_state(137,3231 +def __getstate__(142,3344 +def __setstate__(150,3494 +def _sget_dict(157,3636 +def _sset_dict(161,3681 +def _sget_object(166,3751 +def _sset_object(170,3806 +def get_supported_platform(177,3916 +class ResolutionError(251,6709 + def __repr__(254,6801 +class VersionConflict(258,6884 + def dist(269,7191 + def req(273,7254 + def report(276,7302 + def with_context(279,7374 +class ContextualVersionConflict(290,7690 + def required_by(299,7969 +class DistributionNotFound(303,8026 + def req(310,8260 + def requirers(314,8322 + def requirers_str(318,8390 + def report(323,8529 + def __str__(326,8601 +class UnknownExtra(330,8655 +def register_loader_type(344,8903 +def get_provider(354,9300 +def _macosx_vers(367,9786 +def _macosx_arch(383,10344 +def get_build_platform(387,10451 +def compatible_platforms(417,11444 +def run_script(463,13118 +def get_distribution(476,13441 +def load_entry_point(487,13838 +def get_entry_map(492,14024 +def get_entry_info(497,14190 +class IMetadataProvider:IMetadataProvider502,14364 + def has_metadata(503,14389 + def get_metadata(506,14492 + def get_metadata_lines(509,14575 + def metadata_isdir(515,14835 + def metadata_listdir(518,14943 + def run_script(521,15054 +class IResourceProvider(525,15176 + def get_resource_filename(528,15283 + def get_resource_stream(533,15454 + def get_resource_string(538,15628 + def has_resource(543,15806 + def resource_isdir(546,15903 + def resource_listdir(549,16020 +class WorkingSet:WorkingSet553,16141 + def __init__(556,16239 + def _build_master(570,16606 + def _build_from_requirements(590,17112 + def add_entry(611,17763 + def __contains__(626,18463 + def find(630,18619 + def iter_entry_points(646,19310 + def run_script(660,19836 + def __iter__(668,20145 + def add(685,20693 + def resolve(715,21880 + def find_plugins(807,25867 + def require(891,29073 + def subscribe(907,29716 + def _added_new(921,30108 + def __getstate__(925,30208 + def __setstate__(931,30367 +class _ReqExtras(939,30603 + def markers_pass(944,30701 +class Environment:Environment959,31150 + def __init__(962,31234 + def can_add(986,32290 + def remove(1000,32793 + def scan(1004,32916 + def __getitem__(1019,33508 + def add(1030,33925 + def best_match(1039,34301 + def obtain(1067,35506 + def __iter__(1079,36127 + def __iadd__(1085,36321 + def __add__(1097,36752 +class ExtractionError(1109,37054 +class ResourceManager:ResourceManager1125,37444 + def __init__(1129,37545 + def resource_exists(1132,37601 + def resource_isdir(1136,37797 + def resource_filename(1142,38030 + def resource_stream(1148,38287 + def resource_string(1154,38545 + def resource_listdir(1160,38783 + def extraction_error(1166,39025 + def get_cache_path(1194,39968 + def _warn_unsafe_extraction_path(1220,41142 + def postprocess(1245,42286 + def set_extraction_path(1265,43091 + def cleanup_resources(1291,44309 +def get_default_cache(1305,44964 +def safe_name(1317,45261 +def safe_version(1325,45485 +def safe_extra(1337,45830 +def to_filename(1346,46100 +def invalid_marker(1354,46294 +def evaluate_marker(1368,46596 +class NullProvider:NullProvider1383,47033 + def __init__(1390,47193 + def get_resource_filename(1394,47360 + def get_resource_stream(1397,47479 + def get_resource_string(1400,47615 + def has_resource(1403,47743 + def has_metadata(1406,47855 + def get_metadata(1409,47964 + def get_metadata_lines(1415,48167 + def resource_isdir(1418,48260 + def metadata_isdir(1421,48376 + def resource_listdir(1424,48489 + def metadata_listdir(1427,48609 + def run_script(1432,48756 + def _has(1455,49794 + def _isdir(1460,49938 + def _listdir(1465,50084 + def _fn(1470,50232 + def _validate_resource_path(1477,50454 + def _get(1538,52311 +class EggProvider(1549,52596 + def __init__(1552,52679 + def _setup_prefix(1556,52785 +class DefaultProvider(1571,53327 + def _has(1574,53429 + def _isdir(1577,53492 + def _listdir(1580,53556 + def get_resource_stream(1583,53619 + def _get(1586,53748 + def _register(1591,53866 +class EmptyProvider(1601,54145 + def _get(1608,54308 + def _listdir(1611,54353 + def __init__(1614,54402 +class ZipManifests(1621,54476 + def build(1627,54561 +class MemoizedZipManifests(1648,55162 + def load(1654,55329 +class ZipProvider(1668,55731 + def __init__(1674,55872 + def _zipinfo_name(1678,56000 + def _parts(1690,56491 + def zipinfo(1701,56902 + def get_resource_filename(1704,56987 + def _get_date_and_size(1718,57606 + def _extract_resource(1726,57873 + def _is_current(1781,59729 + def _get_eager_resources(1797,60348 + def _index(1806,60678 + def _has(1823,61219 + def _isdir(1827,61363 + def _listdir(1830,61453 + def _eager_to_zip(1833,61557 + def _resource_to_zip(1836,61676 +class FileMetadata(1843,61861 + def __init__(1855,62206 + def has_metadata(1858,62262 + def get_metadata(1861,62361 + def _warn_on_replacement(1870,62673 + def get_metadata_lines(1878,63023 +class PathMetadata(1882,63117 + def __init__(1902,63793 +class EggMetadata(1907,63900 + def __init__(1910,63976 +def register_finder(1925,64402 +def find_distributions(1935,64911 +def find_eggs_in_zip(1942,65161 +def find_nothing(1972,66311 +def _by_version_descending(1979,66418 + def _by_version(1994,67052 +def find_on_path(2005,67371 +def dist_factory(2037,68345 +class NoDists:NoDists2054,68806 + def __bool__(2062,68915 + def __call__(2067,69008 +def safe_listdir(2071,69068 +def distributions_from_metadata(2092,69678 +def non_empty_lines(2107,70104 +def resolve_egg_link(2118,70322 +def register_namespace_handler(2141,70972 + def namespace_handler(2147,71250 +def _handle_ns(2159,71776 +def _rebuild_mod_path(2190,72815 + def safe_sys_path_index(2197,73052 + def position_in_sys_path(2206,73264 +def declare_namespace(2224,73849 +def fixup_namespace_packages(2258,74908 +def file_ns_handler(2270,75313 +def null_ns_handler(2290,76019 +def normalize_path(2297,76154 +def _cygwin_patch(2302,76335 +def _normalize_cached(2313,76739 +def _is_egg_path(2321,76930 +def _is_unpacked_egg(2328,77063 +def _set_parent_ns(2338,77285 +def yield_lines(2346,77494 +class EntryPoint:EntryPoint2375,78167 + def __init__(2378,78248 + def __str__(2387,78584 + def __repr__(2395,78819 + def load(2398,78894 + def resolve(2413,79399 + def require(2423,79740 + def parse(2446,80671 + def _parse_extras(2466,81394 + def parse_group(2475,81633 + def parse_map(2488,82085 +def _remove_md5_fragment(2507,82722 +def _version_from_file(2516,82962 + def is_version_line(2521,83136 +class Distribution:Distribution2529,83397 + def __init__(2533,83508 + def from_location(2547,84046 + def _reload_version(2563,84715 + def hashcmp(2567,84781 + def __hash__(2577,85033 + def __lt__(2580,85092 + def __le__(2583,85166 + def __gt__(2586,85241 + def __ge__(2589,85315 + def __eq__(2592,85390 + def __ne__(2598,85601 + def key(2606,85896 + def parsed_version(2614,86082 + def _warn_legacy_version(2620,86262 + def version(2647,87361 + def _dep_map(2658,87738 + def _filter_extras(2670,88102 + def _build_dep_map(2691,88796 + def requires(2698,89059 + def _get_metadata(2712,89521 + def activate(2717,89675 + def egg_name(2728,90134 + def __repr__(2739,90490 + def __str__(2745,90637 + def __getattr__(2753,90884 + def __dir__(2759,91115 + def from_filename(2773,91470 + def as_requirement(2779,91670 + def load_entry_point(2788,92047 + def get_entry_map(2795,92340 + def get_entry_info(2807,92762 + def insert_on(2811,92932 + def check_version_conflict(2879,95287 + def has_version(2901,96250 + def clone(2909,96447 + def extras(2918,96827 +class EggInfoDistribution(2922,96904 + def _reload_version(2923,96945 +class DistInfoDistribution(2941,97647 + def _parsed_pkg_info(2950,97881 + def _dep_map(2960,98205 + def _compute_dependencies(2967,98400 + def reqs_for_extra(2976,98724 +def issue_warning(2998,99326 +class RequirementParseError(3011,99682 + def __str__(3012,99723 +def parse_requirements(3016,99783 +class Requirement(3038,100515 + def __init__(3039,100570 + def __eq__(3059,101404 + def __ne__(3065,101550 + def __contains__(3068,101613 + def __hash__(3080,102038 + def __repr__(3083,102090 + def parse(3087,102184 +def _always_object(3092,102260 +def _find_adapter(3102,102460 +def ensure_directory(3110,102712 +def _bypass_ensure_directory(3116,102886 +def split_sections(3129,103302 +def _mkstemp(3155,104187 +def _call_aside(3174,104769 +def _initialize(3180,104857 +def _initialize_master_working_set(3192,105158 +class PkgResourcesDeprecationWarning(3230,106448 + +venv/lib/python2.7/site-packages/pkg_resources/py31compat.py,23 +def _makedirs_31(8,61 + +venv/lib/python2.7/site-packages/pip/_internal/utils/packaging.py,127 +def check_requires_python(23,573 +def get_metadata(44,1333 +def check_dist_requires_python(60,1849 +def get_installer(79,2550 + +venv/lib/python2.7/site-packages/pip/_internal/utils/outdated.py,141 +class SelfCheckState(30,758 + def __init__(31,788 + def save(47,1428 +def was_installed_by_pip(79,2657 +def pip_version_check(94,3150 + +venv/lib/python2.7/site-packages/pip/_internal/utils/appdirs.py,234 +def user_cache_dir(21,421 +def user_data_dir(70,2166 +def user_config_dir(123,4382 +def site_config_dirs(157,5741 +def _get_win_folder_from_registry(198,7194 +def _get_win_folder_with_ctypes(221,7866 +def _win_path_to_bytes(255,8812 + +venv/lib/python2.7/site-packages/pip/_internal/utils/models.py,246 +class KeyBasedCompareMixin(7,56 + def __init__(11,165 + def __hash__(15,289 + def __lt__(18,353 + def __le__(21,436 + def __gt__(24,519 + def __ge__(27,602 + def __eq__(30,685 + def __ne__(33,768 + def _compare(36,851 + +venv/lib/python2.7/site-packages/pip/_internal/utils/misc.py,1916 +def ensure_dir(93,2879 +def get_prog(103,3089 +def rmtree(118,3483 +def rmtree_errorhandler(124,3654 +def display_path(139,4195 +def backup_dir(152,4681 +def ask_path_exists(164,4997 +def ask(172,5234 +def format_size(192,5897 +def is_installable_dir(204,6204 +def is_svn_page(219,6625 +def file_contents(228,6950 +def read_chunks(234,7085 +def split_leading_dir(243,7313 +def has_leading_dir(255,7692 +def normalize_path(271,8196 +def splitext(285,8539 +def renames(295,8808 +def is_local(313,9264 +def dist_is_local(326,9608 +def dist_in_usersite(338,9879 +def dist_in_site_packages(347,10136 +def dist_is_editable(358,10411 +def get_installed_distributions(370,10739 + def local_test(396,11651 + def editable_test(400,11729 + def editable_test(403,11793 + def editables_only_test(407,11890 + def editables_only_test(410,11975 + def user_test(416,12101 +def egg_link_path(429,12473 +def dist_location(468,13612 +def current_umask(483,14040 +def unzip_file(490,14198 +def untar_file(536,16150 +def unpack_file(612,19350 +def call_subprocess(651,20730 +def read_text_file(777,25665 +def _make_build_dir(803,26510 +class FakeFile(808,26611 + def __init__(811,26727 + def readline(814,26798 + def __iter__(823,27014 +class StreamWrapper(827,27065 + def from_stream(830,27114 + def encoding(836,27299 +def captured_output(841,27393 +def captured_stdout(855,27866 +def captured_stderr(867,28160 +class cached_property(874,28265 + def __init__(882,28552 + def __get__(886,28656 +def get_installed_version(894,28903 +def consume(912,29595 +def enum(918,29712 +def make_vcs_requirement_url(925,29946 +def split_auth_from_netloc(941,30425 +def redact_netloc(969,31329 +def _transform_url(985,31897 +def _get_netloc(996,32196 +def remove_auth_from_url(1000,32268 +def redact_password_from_url(1008,32539 +def protect_pip_from_modification_on_windows(1014,32704 + +venv/lib/python2.7/site-packages/pip/_internal/utils/deprecation.py,121 +class PipDeprecationWarning(18,388 +def _showwarning(26,516 +def install_warning_logger(43,1154 +def deprecated(55,1490 + +venv/lib/python2.7/site-packages/pip/_internal/utils/glibc.py,123 +def glibc_version_string(13,218 +def check_glibc_version(40,1246 +def have_compatible_glibc(57,2060 +def libc_ver(82,2941 + +venv/lib/python2.7/site-packages/pip/_internal/utils/filesystem.py,27 +def check_path_owner(7,80 + +venv/lib/python2.7/site-packages/pip/_internal/utils/temp_dir.py,305 +class TempDirectory(13,188 + def __init__(38,1036 + def __repr__(50,1448 + def __enter__(53,1543 + def __exit__(57,1611 + def create(61,1703 + def cleanup(78,2411 +class AdjacentTempDirectory(86,2633 + def __init__(103,3219 + def _generate_names(108,3398 + def create(125,4068 + +venv/lib/python2.7/site-packages/pip/_internal/utils/encoding.py,24 +def auto_decode(24,542 + +venv/lib/python2.7/site-packages/pip/_internal/utils/compat.py,394 + def backslashreplace_decode_fn(62,1616 +def console_to_str(75,2114 + def native_str(131,4275 + def native_str(138,4478 +def get_path_uid(146,4704 + def get_extension_suffixes(179,5764 + def get_extension_suffixes(184,5872 +def expanduser(188,5964 +def samefile(214,6819 + def get_terminal_size(226,7231 + def get_terminal_size(234,7514 + def ioctl_GWINSZ(240,7726 + +venv/lib/python2.7/site-packages/pip/_internal/utils/logging.py,754 +class BrokenStdoutLoggingError(33,595 + def _is_broken_pipe_error(47,1033 + def _is_broken_pipe_error(53,1341 + def _is_broken_pipe_error(59,1648 + def _is_broken_pipe_error(64,1884 +def indent_log(76,2198 +def get_indentation(88,2460 +class IndentingFormatter(92,2534 + def __init__(93,2579 + def format(103,2967 +def _color_wrap(120,3513 + def wrapped(121,3539 +class ColorizedStreamHandler(126,3653 + def __init__(138,4053 + def _using_stdout(145,4287 + def should_color(155,4582 + def format(176,5245 + def handleError(188,5601 +class BetterRotatingFileHandler(201,6175 + def _open(203,6247 +class MaxLevelFilter(208,6389 + def __init__(210,6428 + def filter(213,6487 +def setup_logging(217,6562 + +venv/lib/python2.7/site-packages/pip/_internal/utils/ui.py,1484 +def _select_progress_class(36,966 +class InterruptibleMixin(66,1993 + def __init__(84,2745 + def finish(100,3454 + def handle_sigint(110,3776 +class SilentBar(121,4082 + def update(123,4105 +class BlueEmojiBar(127,4142 +class DownloadProgressMixin(135,4324 + def __init__(137,4362 + def downloaded(142,4557 + def download_speed(146,4637 + def pretty_eta(153,4823 + def iter(158,4931 +class WindowsMixin(165,5050 + def __init__(167,5079 +class BaseDownloadProgressBar(194,6433 +class DefaultDownloadProgressBar(205,6809 +class DownloadSilentBar(210,6922 +class DownloadIncrementalBar(214,7010 +class DownloadChargingBar(219,7137 +class DownloadShadyBar(224,7255 +class DownloadFillingSquaresBar(228,7341 +class DownloadFillingCirclesBar(233,7477 +class DownloadBlueEmojiProgressBar(238,7613 +class DownloadProgressSpinner(243,7750 + def next_phase(249,7964 + def update(254,8122 +def DownloadProgressProvider(278,8784 +def hidden_cursor(294,9360 +class RateLimiter(313,9976 + def __init__(314,10003 + def ready(319,10206 + def reset(325,10379 +class SpinnerInterface(330,10469 + def spin(331,10501 + def finish(335,10585 +class InteractiveSpinner(340,10689 + def __init__(341,10733 + def _write(356,11281 + def spin(368,11776 + def finish(376,11976 +class NonInteractiveSpinner(390,12472 + def __init__(391,12519 + def _update(398,12787 + def spin(403,12941 + def finish(411,13138 +def open_spinner(420,13377 + +venv/lib/python2.7/site-packages/pip/_internal/utils/hashes.py,317 +class Hashes(34,959 + def __init__(39,1089 + def check_against_chunks(47,1357 + def _raise(71,2116 + def check_against_file(75,2240 + def check_against_path(84,2488 + def __nonzero__(89,2647 + def __bool__(94,2796 +class MissingHashes(99,2883 + def __init__(106,3115 + def _raise(113,3435 + +venv/lib/python2.7/site-packages/pip/_internal/models/link.py,482 +class Link(18,506 + def __init__(22,615 + def __str__(48,1550 + def __repr__(59,1941 + def filename(63,2014 + def scheme(72,2331 + def netloc(77,2444 + def path(82,2557 + def splitext(86,2676 + def ext(91,2820 + def url_without_fragment(96,2914 + def egg_fragment(104,3202 + def subdirectory_fragment(114,3485 + def hash(126,3809 + def hash_name(134,3999 + def show_url(142,4194 + def is_wheel(147,4347 + def is_artifact(152,4456 + +venv/lib/python2.7/site-packages/pip/_internal/models/format_control.py,234 +class FormatControl(9,205 + def __init__(13,317 + def __eq__(23,630 + def __ne__(26,707 + def __repr__(29,775 + def handle_mutual_excludes(37,958 + def get_allowed_formats(56,1620 + def disallow_binaries(69,2102 + +venv/lib/python2.7/site-packages/pip/_internal/models/index.py,79 +class PackageIndex(4,65 + def __init__(8,176 + def _url_for_path(21,742 + +venv/lib/python2.7/site-packages/pip/_internal/models/candidate.py,86 +class InstallationCandidate(12,392 + def __init__(16,512 + def __repr__(27,912 + +venv/lib/python2.7/site-packages/pip/_internal/wheel.py,1022 +def rehash(67,2046 +def open_for_csv(83,2557 +def replace_python_tag(94,2829 +def fix_script(103,3066 +def root_is_purelib(127,3912 +def get_entrypoints(144,4514 + def _split_ep(165,5296 +def message_about_scripts_not_on_PATH(176,5673 +def sorted_outrows(237,7811 +def move_wheel_files(258,8828 + def normpath(308,10542 + def record_installed(311,10634 + def clobber(319,10949 + def is_entrypoint_wrapper(397,14642 + def _get_script_text(443,16375 + def get_csv_rows_for_installed(562,21468 +def wheel_version(591,22714 +def check_compatibility(611,23307 +class Wheel(641,24418 + def __init__(654,24799 + def support_index_min(680,25856 + def supported(693,26470 +def _contains_egg_info(701,26757 +class WheelBuilder(710,27018 + def __init__(713,27093 + def _build_one(733,27732 + def _build_one_inside_env(743,28137 + def _base_setup_args(764,29049 + def _build_one_pep517(774,29480 + def _build_one_legacy(797,30448 + def _clean_one(818,31298 + def build(830,31731 + +venv/lib/python2.7/site-packages/pip/_internal/cache.py,622 +class Cache(25,641 + def __init__(36,1060 + def _get_cache_path_parts(46,1507 + def _get_candidates(72,2689 + def get_path_for_link(97,3426 + def get(103,3609 + def _link_for_candidate(110,3843 + def cleanup(117,4061 +class SimpleWheelCache(122,4126 + def __init__(126,4212 + def get_path_for_link(132,4417 + def get(153,5354 +class EphemWheelCache(173,5968 + def __init__(177,6092 + def cleanup(186,6376 +class WheelCache(191,6461 + def __init__(198,6714 + def get_path_for_link(206,7045 + def get_ephem_path_for_link(210,7172 + def get(214,7305 + def cleanup(221,7562 + +venv/lib/python2.7/site-packages/pip/_internal/pyproject.py,60 +def _is_list_of_str(15,301 +def load_pyproject_toml(23,472 + +venv/lib/python2.7/site-packages/pip/_internal/locations.py,140 +def write_delete_marker_file(35,914 +def running_under_virtualenv(45,1214 +def virtualenv_no_global(59,1517 +def distutils_scheme(147,4570 + +venv/lib/python2.7/site-packages/pip/_internal/index.py,1181 +def _match_vcs_scheme(77,2689 +def _is_url_like_archive(90,3065 +class _NotHTML(101,3338 + def __init__(102,3365 +def _ensure_html_header(109,3603 +class _NotHTTP(120,3994 +def _ensure_html_response(124,4032 +def _get_html_response(141,4573 +def _handle_get_page_fail(192,6701 +def _get_html_page(203,6992 +class PackageFinder(257,9009 + def __init__(264,9210 + def get_formatted_locations(358,13158 + def _sort_locations(373,13682 + def sort_path(383,14047 + def _candidate_sort_key(430,15732 + def _validate_secure_origin(467,17532 + def _get_index_urls_locations(541,20854 + def mkurl_pypi_url(549,21138 + def find_all_candidates(564,21775 + def find_requirement(631,24432 + def _get_pages(731,28305 + def _sort_links(751,28911 + def _package_versions(768,29468 + def _log_skipped_link(781,29858 + def _link_package_versions(787,30087 +def _find_name_version_sep(869,33460 +def _egg_info_matches(895,34500 +def _determine_base_url(913,35018 +def _get_encoding_from_headers(932,35728 +def _clean_link(945,36120 +class HTMLPage(953,36420 + def __init__(956,36495 + def __str__(962,36696 + def iter_links(965,36770 + +venv/lib/python2.7/site-packages/pip/_internal/operations/check.py,223 +def create_package_set_from_installed(34,1001 +def check_package_set(55,1766 + def should_ignore(63,2087 +def check_install_conflicts(102,3342 +def _simulate_installation_of(123,4061 +def _create_whitelist(142,4656 + +venv/lib/python2.7/site-packages/pip/_internal/operations/prepare.py,661 +def make_abstract_dist(34,1149 +class DistAbstraction(51,1626 + def __init__(70,2558 + def dist(74,2684 + def prep_for_dist(79,2812 +class IsWheel(85,3013 + def dist(87,3046 + def prep_for_dist(92,3207 +class IsSDist(98,3377 + def dist(100,3410 + def prep_for_dist(103,3466 + def _raise_conflicts(112,3810 +class Installed(162,6187 + def dist(164,6222 + def prep_for_dist(168,6329 +class RequirementPreparer(173,6443 + def __init__(177,6517 + def _download_should_save(216,7939 + def prepare_linked_requirement(230,8501 + def prepare_editable_requirement(356,14522 + def prepare_installed_requirement(390,15712 + +venv/lib/python2.7/site-packages/pip/_internal/operations/freeze.py,170 +def freeze(37,1039 +def get_requirement_info(164,6754 +class FrozenRequirement(226,8571 + def __init__(227,8604 + def from_dist(235,8870 + def __str__(243,9151 + +venv/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.py,98 +def autocomplete(13,304 +def get_path_completion_type(104,3918 +def auto_complete_paths(125,4761 + +venv/lib/python2.7/site-packages/pip/_internal/cli/base_command.py,273 +class Command(49,1594 + def __init__(55,1776 + def run(80,2624 + def _build_session(84,2736 + def parse_args(121,3946 + def main(126,4099 +class RequirementCommand(236,8317 + def populate_requirement_set(239,8371 + def _build_package_finder(305,11317 + +venv/lib/python2.7/site-packages/pip/_internal/cli/main_parser.py,58 +def create_main_parser(26,632 +def parse_command(64,1727 + +venv/lib/python2.7/site-packages/pip/_internal/cli/cmdoptions.py,639 +def raise_option_error(32,1142 +def make_option_group(46,1487 +def check_install_build_global(59,1893 + def getname(70,2282 +def check_dist_restriction(82,2707 +def exists_action(266,7445 +def extra_index_url(315,8759 +def find_links(338,9325 +def trusted_host(352,9736 +def constraints(365,10045 +def requirements(378,10362 +def editable(391,10671 +def _get_format_control(416,11375 +def _handle_no_binary(422,11533 +def _handle_only_binary(430,11806 +def no_binary(438,12081 +def only_binary(454,12779 +def prefer_binary(525,15194 +def no_cache_dir_callback(546,15646 +def no_use_pep517_callback(623,18427 +def _merge_hash(727,21640 + +venv/lib/python2.7/site-packages/pip/_internal/cli/parser.py,764 +class PrettyHelpFormatter(19,437 + def __init__(22,560 + def format_option_strings(29,882 + def _format_option_strings(32,994 + def format_heading(55,1768 + def format_usage(60,1894 + def format_description(68,2166 + def format_epilog(86,2907 + def indent_lines(93,3073 +class UpdatingDefaultsHelpFormatter(98,3218 + def expand_default(105,3462 +class CustomOptionParser(111,3676 + def insert_option_group(113,3726 + def option_list_all(123,4012 +class ConfigOptionParser(132,4249 + def __init__(136,4422 + def check_default(145,4687 + def _get_ordered_configuration_items(152,4939 + def _update_defaults(176,5850 + def get_default_values(225,7820 + def error(246,8733 +def invalid_config_error_message(251,8845 + +venv/lib/python2.7/site-packages/pip/_internal/download.py,1254 +def user_agent(75,2661 +class MultiDomainBasicAuth(144,5017 + def __init__(146,5056 + def __call__(151,5220 + def handle_401(184,6484 + def warn_on_401(219,7751 +class LocalFSAdapter(226,8010 + def send(228,8046 + def close(255,8906 +class SafeFileCache(259,8942 + def __init__(265,9105 + def get(285,10074 + def set(298,10575 + def delete(311,11076 +class InsecureHTTPAdapter(325,11584 + def cert_verify(327,11625 +class PipSession(332,11745 + def __init__(336,11825 + def request(398,14404 +def get_file_content(406,14681 +def is_url(457,16522 +def url_to_path(466,16793 +def path_to_url(484,17233 +def is_archive_file(495,17552 +def unpack_vcs_link(504,17782 +def _get_used_vcs_backend(509,17900 +def is_vcs_url(516,18086 +def is_file_url(521,18182 +def is_dir_url(526,18282 +def _progress_indicator(538,18581 +def _download_url(542,18655 + def resp_read(569,19361 + def written_chunks(606,21208 +def _copy_file(644,22306 +def unpack_http_url(671,23336 +def unpack_file_url(716,25153 +def _copy_dist_from_dir(770,27090 +class PipXmlrpcTransport(806,28286 + def __init__(811,28431 + def request(817,28686 +def unpack_url(835,29394 +def _download_http_url(884,30914 +def _check_download_dir(950,33796 + +venv/lib/python2.7/site-packages/pip/_internal/req/req_install.py,1359 +class InstallRequirement(58,2233 + def __init__(65,2477 + def __str__(158,6413 + def __repr__(178,7133 + def populate_link(182,7270 + def name(205,8379 + def specifier(212,8569 + def is_pinned(217,8678 + def installed_version(228,9035 + def match_markers(231,9117 + def has_hash_options(245,9609 + def hashes(255,9905 + def from_path(277,10942 + def build_location(293,11455 + def _correct_build_location(321,12654 + def remove_temporary_source(364,14525 + def check_if_exists(376,15022 + def is_wheel(420,16955 + def move_wheel_files(426,17092 + def setup_py_dir(450,17810 + def setup_py(457,18002 + def pyproject_toml(470,18396 + def load_pyproject_toml(482,18783 + def runner(510,19781 + def prepare_metadata(523,20263 + def prepare_pep517_metadata(562,21614 + def run_egg_info(584,22396 + def egg_info_path(618,23688 + def metadata(671,26138 + def get_dist(677,26296 + def assert_source_matches_version(701,27262 + def ensure_has_source_dir(720,27903 + def install_editable(736,28480 + def update_editable(771,29604 + def uninstall(802,30648 + def _clean_zip_name(826,31615 + def _get_archive_name(834,31924 + def archive(842,32281 + def install(894,34758 + def prepend_root(959,37490 + def get_install_args(995,38961 + +venv/lib/python2.7/site-packages/pip/_internal/req/constructors.py,206 +def _strip_extras(48,1543 +def parse_editable(61,1830 +def deduce_helpful_msg(127,4064 +def install_req_from_editable(158,5099 +def install_req_from_line(194,6183 +def install_req_from_req_string(302,9911 + +venv/lib/python2.7/site-packages/pip/_internal/req/req_file.py,295 +def parse_requirements(73,2152 +def preprocess(116,3774 +def process_line(131,4321 +def break_args_options(258,9505 +def build_parser(276,10079 + def parser_exit(290,10554 +def join_lines(301,10890 +def ignore_comments(331,11917 +def skip_regex(343,12217 +def expand_env_variables(357,12681 + +venv/lib/python2.7/site-packages/pip/_internal/req/req_set.py,273 +class RequirementSet(19,513 + def __init__(21,544 + def __str__(36,1225 + def __repr__(42,1454 + def add_requirement(49,1770 + def has_requirement(166,6774 + def has_requirements(177,7166 + def get_requirement(182,7380 + def cleanup_files(191,7806 + +venv/lib/python2.7/site-packages/pip/_internal/req/__init__.py,31 +def install_given_reqs(22,509 + +venv/lib/python2.7/site-packages/pip/_internal/req/req_uninstall.py,709 +def _script_names(25,652 +def _unique(46,1338 + def unique(48,1380 +def uninstallation_paths(58,1587 +def compact(80,2308 +def compress_for_rename(99,2910 + def norm_join(111,3350 +def compress_for_output_listing(137,4314 +class UninstallPathSet(186,5865 + def __init__(189,5985 + def _permitted(197,6179 + def add(205,6372 + def add_pth(224,7061 + def _stash(233,7387 + def remove(246,7903 + def _allowed_to_proceed(274,8987 + def _display(278,9120 + def rollback(303,9991 + def commit(318,10549 + def from_dist(325,10770 +class UninstallPthEntries(455,16574 + def __init__(456,16609 + def add(465,16905 + def remove(475,17338 + def rollback(497,18205 + +venv/lib/python2.7/site-packages/pip/_internal/req/req_tracker.py,233 +class RequirementTracker(20,480 + def __init__(22,515 + def __enter__(35,1099 + def __exit__(38,1145 + def _entry_path(41,1220 + def add(46,1412 + def remove(65,2132 + def cleanup(72,2379 + def track(84,2763 + +venv/lib/python2.7/site-packages/pip/_internal/pep425tags.py,468 +def get_config_var(29,648 +def get_abbr_impl(38,878 +def get_impl_ver(52,1205 +def get_impl_version_info(61,1470 +def get_impl_tag(75,1976 +def get_flag(83,2148 +def get_abi_tag(96,2634 +def _is_running_32bit(131,3825 +def get_platform(136,3912 +def is_manylinux1_compatible(163,4973 +def is_manylinux2010_compatible(181,5510 +def get_darwin_arches(199,6055 + def _supports_arch(206,6310 +def get_all_minor_versions_as_strings(262,8506 +def get_supported(272,8833 + +venv/lib/python2.7/site-packages/pip/_internal/resolve.py,371 +class Resolver(41,1518 + def __init__(48,1780 + def resolve(90,3304 + def _is_upgrade_allowed(140,5249 + def _set_req_to_reinstall(150,5594 + def _check_skip_installed(162,6069 + def _get_abstract_dist_for(215,8294 + def _resolve_one(273,10439 + def add_req(308,11638 + def get_installation_order(367,14142 + def schedule(381,14794 + +venv/lib/python2.7/site-packages/pip/_internal/build_env.py,454 +class _Prefix:_Prefix27,772 + def __init__(29,788 +class BuildEnvironment(47,1438 + def __init__(51,1552 + def __enter__(107,3737 + def __exit__(126,4275 + def cleanup(133,4531 + def check_requirements(137,4615 + def install_requirements(156,5367 +class NoOpBuildEnvironment(198,7038 + def __init__(202,7149 + def __enter__(205,7187 + def __exit__(208,7226 + def cleanup(211,7291 + def install_requirements(214,7328 + +venv/lib/python2.7/site-packages/pip/_internal/vcs/subversion.py,438 +class Subversion(22,545 + def get_base_rev_args(28,714 + def export(31,780 + def fetch_new(44,1412 + def switch(55,1764 + def update(59,1914 + def get_revision(64,2076 + def get_netloc_and_auth(91,3075 + def get_url_rev_and_auth(104,3605 + def make_rev_args(111,3907 + def get_remote_url(121,4169 + def _get_svn_url_rev(142,5014 + def get_src_requirement(187,6647 + def is_commit_id_equal(195,6934 + +venv/lib/python2.7/site-packages/pip/_internal/vcs/git.py,640 +def looks_like_hash(29,767 +class Git(33,834 + def __init__(45,1218 + def get_base_rev_args(66,2105 + def get_git_version(69,2165 + def get_current_branch(82,2716 + def export(102,3463 + def get_revision_sha(114,3914 + def resolve_revision(148,5045 + def is_commit_id_equal(187,6312 + def fetch_new(201,6692 + def switch(231,8055 + def update(238,8320 + def get_remote_url(253,9006 + def get_revision(280,9925 + def _get_subdirectory(289,10188 + def get_src_requirement(317,11388 + def get_url_rev_and_auth(328,11816 + def update_submodules(345,12553 + def controls_location(354,12833 + +venv/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.py,354 +class Bazaar(18,415 + def __init__(27,623 + def get_base_rev_args(34,964 + def export(37,1030 + def fetch_new(53,1535 + def switch(64,1885 + def update(67,1984 + def get_url_rev_and_auth(71,2134 + def get_remote_url(79,2449 + def get_revision(93,2978 + def get_src_requirement(100,3176 + def is_commit_id_equal(109,3527 + +venv/lib/python2.7/site-packages/pip/_internal/vcs/__init__.py,1289 +class RemoteNotFoundError(32,758 +class RevOptions(36,807 + def __init__(45,1008 + def __repr__(60,1462 + def arg_rev(64,1576 + def to_args(71,1734 + def to_display(84,2062 + def make_new(91,2215 +class VcsSupport(102,2520 + def __init__(106,2664 + def __iter__(116,3080 + def backends(120,3160 + def dirnames(125,3293 + def all_schemes(130,3426 + def register(137,3631 + def unregister(146,3982 + def get_backend_type(155,4353 + def get_backend(168,4885 +class VersionControl(179,5120 + def __init__(189,5473 + def get_base_rev_args(193,5610 + def make_rev_options(202,5851 + def _is_local_repository(214,6227 + def export(223,6542 + def get_netloc_and_auth(230,6765 + def get_url_rev_and_auth(248,7470 + def make_rev_args(272,8420 + def get_url_rev_options(278,8580 + def normalize_url(291,9089 + def compare_urls(299,9326 + def fetch_new(306,9573 + def switch(317,9912 + def update(326,10133 + def is_commit_id_equal(335,10367 + def obtain(345,10635 + def unpack(438,13726 + def get_src_requirement(449,14030 + def get_remote_url(459,14389 + def get_revision(469,14645 + def run_command(476,14831 + def is_repository_directory(514,16478 + def controls_location(524,16828 + +venv/lib/python2.7/site-packages/pip/_internal/vcs/mercurial.py,325 +class Mercurial(16,382 + def get_base_rev_args(22,548 + def export(25,608 + def fetch_new(34,934 + def switch(46,1345 + def update(62,2008 + def get_remote_url(68,2228 + def get_revision(77,2518 + def get_revision_hash(84,2747 + def get_src_requirement(91,2982 + def is_commit_id_equal(98,3301 + +venv/lib/python2.7/site-packages/pip/_internal/__init__.py,18 +def main(54,2044 + +venv/lib/python2.7/site-packages/pip/_internal/configuration.py,709 +def _normalize_name(43,1080 +def _disassemble_key(53,1352 +class Configuration(68,1735 + def __init__(82,2258 + def load(112,3484 + def get_file_to_edit(120,3722 + def items(132,4087 + def get_value(139,4308 + def set_value(148,4575 + def unset_value(167,5171 + def save(206,6495 + def _ensure_have_load_only(225,6951 + def _dictionary(232,7223 + def _load_config_files(245,7617 + def _load_file(272,8666 + def _construct_parser(283,9071 + def _load_environment_vars(306,10082 + def _normalized_keys(314,10341 + def _get_environ_vars(327,10859 + def _iter_config_files(339,11335 + def _get_parser_to_modify(369,12477 + def _mark_as_modified(383,12983 + +venv/lib/python2.7/site-packages/pip/_internal/commands/check.py,47 +class CheckCommand(11,212 + def run(18,440 + +venv/lib/python2.7/site-packages/pip/_internal/commands/wheel.py,75 +class WheelCommand(21,663 + def __init__(46,1489 + def run(108,3776 + +venv/lib/python2.7/site-packages/pip/_internal/commands/list.py,431 +class ListCommand(21,519 + def __init__(32,775 + def _build_package_finder(112,3311 + def run(124,3712 + def get_outdated(150,4725 + def get_uptodate(156,4937 + def get_not_required(162,5150 + def iter_packages_latest_infos(168,5405 + def output_package_listing(199,6757 + def output_package_listing_columns(217,7564 +def tabulate(232,8010 +def format_for_columns(250,8526 +def format_for_json(287,9608 + +venv/lib/python2.7/site-packages/pip/_internal/commands/help.py,45 +class HelpCommand(8,194 + def run(16,386 + +venv/lib/python2.7/site-packages/pip/_internal/commands/download.py,77 +class DownloadCommand(19,602 + def __init__(42,1350 + def run(85,3040 + +venv/lib/python2.7/site-packages/pip/_internal/commands/hash.py,99 +class HashCommand(15,339 + def __init__(28,663 + def run(40,1110 +def _hash_of_file(51,1423 + +venv/lib/python2.7/site-packages/pip/_internal/commands/freeze.py,74 +class FreezeCommand(14,369 + def __init__(26,717 + def run(73,2424 + +venv/lib/python2.7/site-packages/pip/_internal/commands/install.py,237 +class InstallCommand(36,1181 + def __init__(59,1933 + def run(206,7293 + def _handle_target_dir(445,17698 + def _warn_about_conflicts(501,20235 +def get_lib_location_guesses(528,21315 +def create_env_error_message(533,21465 + +venv/lib/python2.7/site-packages/pip/_internal/commands/show.py,134 +class ShowCommand(16,364 + def __init__(28,687 + def run(39,1064 +def search_packages_info(52,1446 +def print_results(125,4403 + +venv/lib/python2.7/site-packages/pip/_internal/commands/uninstall.py,77 +class UninstallCommand(12,399 + def __init__(28,929 + def run(47,1615 + +venv/lib/python2.7/site-packages/pip/_internal/commands/__init__.py,112 +def get_summaries(45,1386 +def get_similar_commands(57,1704 +def _sort_commands(71,1998 + def keyfn(72,2034 + +venv/lib/python2.7/site-packages/pip/_internal/commands/configuration.py,372 +class ConfigurationCommand(15,399 + def __init__(44,1339 + def run(86,2512 + def _determine_file(129,3819 + def list_values(153,4666 + def get_name(159,4861 + def set_name_value(165,5041 + def unset_name(171,5243 + def open_in_editor(177,5423 + def _get_n_args(192,5924 + def _save_configuration(207,6380 + def _determine_editor(219,6777 + +venv/lib/python2.7/site-packages/pip/_internal/commands/completion.py,80 +class CompletionCommand(48,1328 + def __init__(54,1542 + def run(80,2306 + +venv/lib/python2.7/site-packages/pip/_internal/commands/search.py,184 +class SearchCommand(25,827 + def __init__(33,1075 + def run(44,1452 + def search(60,1950 +def transform_hits(69,2304 +def print_results(97,3166 +def highest_version(134,4653 + +venv/lib/python2.7/site-packages/pip/_internal/exceptions.py,1144 +class PipError(15,375 +class ConfigurationError(19,433 +class InstallationError(23,516 +class UninstallationError(27,601 +class DistributionNotFound(31,690 +class RequirementsFileParseError(35,817 +class BestVersionAlreadyInstalled(39,951 +class BadCommand(44,1087 +class CommandError(48,1176 +class PreviousBuildDirError(52,1274 +class InvalidWheelFilename(56,1384 +class UnsupportedWheel(60,1467 +class HashErrors(64,1541 + def __init__(67,1648 + def append(70,1698 + def __str__(73,1762 + def __nonzero__(82,2079 + def __bool__(85,2140 +class HashError(89,2200 + def body(108,2975 + def __str__(120,3359 + def _requirement_name(123,3434 +class VcsHashUnsupported(133,3716 +class DirectoryUrlHashUnsupported(142,4037 +class HashMissing(151,4344 + def __init__(163,4932 + def body(170,5137 +class HashUnpinned(188,5980 +class HashMismatch(197,6247 + def __init__(212,6825 + def body(222,7173 + def _hash_comparison(226,7309 + def hash_then_or(237,7681 +class UnsupportedPythonVersion(253,8328 +class ConfigurationFileCouldNotBeLoaded(258,8469 + def __init__(262,8603 + def __str__(268,8836 + +venv/lib/python2.7/site-packages/pip/_vendor/lockfile/pidlockfile.py,323 +class PIDLockFile(25,640 + def __init__(36,1002 + def read_pid(42,1265 + def is_locked(47,1398 + def i_am_locking(55,1598 + def acquire(63,1870 + def release(95,3150 + def break_lock(108,3597 +def read_pid_from_pidfile(118,3813 +def write_pid_to_pidfile(152,4858 +def remove_existing_pidfile(176,5674 + +venv/lib/python2.7/site-packages/pip/_vendor/lockfile/mkdirlockfile.py,187 +class MkdirLockFile(12,201 + def __init__(14,277 + def acquire(27,867 + def release(65,2380 + def is_locked(73,2688 + def i_am_locking(76,2760 + def break_lock(80,2876 + +venv/lib/python2.7/site-packages/pip/_vendor/lockfile/linklockfile.py,161 +class LinkLockFile(10,167 + def acquire(17,366 + def release(55,1988 + def is_locked(63,2297 + def i_am_locking(66,2369 + def break_lock(71,2545 + +venv/lib/python2.7/site-packages/pip/_vendor/lockfile/sqlitelockfile.py,227 +class SQLiteLockFile(14,202 + def __init__(19,291 + def acquire(53,1421 + def release(116,3935 + def _who_is_locking(128,4440 + def is_locked(135,4695 + def i_am_locking(143,4959 + def break_lock(151,5272 + +venv/lib/python2.7/site-packages/pip/_vendor/lockfile/__init__.py,780 +class Error(74,1951 +class LockError(86,2116 +class LockTimeout(98,2312 +class AlreadyLocked(109,2521 +class LockFailed(120,2711 +class UnlockError(131,2897 +class NotLocked(143,3098 +class NotMyLock(154,3296 +class _SharedBase(165,3504 + def __init__(166,3531 + def acquire(169,3587 + def release(185,4093 + def __enter__(193,4274 + def __exit__(200,4400 + def __repr__(206,4512 +class LockBase(210,4603 + def __init__(212,4689 + def is_locked(245,6241 + def i_am_locking(251,6393 + def break_lock(257,6556 + def __repr__(263,6730 +def _fl_helper(268,6880 +def LinkFileLock(282,7476 +def MkdirFileLock(293,7825 +def SQLiteFileLock(304,8181 +def locked(315,8543 + def myname(324,8799 + def decor(327,8850 + def wrapper(329,8902 + +venv/lib/python2.7/site-packages/pip/_vendor/lockfile/symlinklockfile.py,189 +class SymlinkLockFile(10,155 + def __init__(13,239 + def acquire(19,488 + def release(54,2014 + def is_locked(61,2274 + def i_am_locking(64,2346 + def break_lock(68,2491 + +venv/lib/python2.7/site-packages/pip/_vendor/certifi/core.py,18 +def where(13,151 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/requirements.py,139 +class InvalidRequirement(18,661 +class Requirement(78,2544 + def __init__(91,3056 + def __str__(118,4152 + def __repr__(137,4620 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/specifiers.py,1971 +class InvalidSpecifier(15,405 +class BaseSpecifier(21,526 + def __str__(23,608 + def __hash__(30,813 + def __eq__(36,947 + def __ne__(43,1129 + def prereleases(50,1317 + def prereleases(57,1487 + def contains(64,1661 + def filter(70,1831 +class _IndividualSpecifier(77,2047 + def __init__(81,2112 + def __repr__(91,2504 + def __str__(100,2761 + def __hash__(103,2829 + def __eq__(106,2886 + def __ne__(117,3226 + def _get_operator(128,3566 + def _coerce_version(131,3673 + def operator(137,3850 + def version(141,3918 + def prereleases(145,3985 + def prereleases(149,4070 + def __contains__(152,4139 + def contains(155,4209 + def filter(174,5036 +class LegacySpecifier(207,6431 + def _coerce_version(232,7263 + def _compare_equal(237,7428 + def _compare_not_equal(240,7535 + def _compare_less_than_equal(243,7646 + def _compare_greater_than_equal(246,7763 + def _compare_less_than(249,7883 + def _compare_greater_than(252,7993 +def _require_version_compare(256,8107 + def wrapped(258,8166 +class Specifier(266,8347 + def _compare_compatible(375,12629 + def _compare_equal(402,13713 + def _compare_not_equal(437,15301 + def _compare_less_than_equal(441,15443 + def _compare_greater_than_equal(445,15577 + def _compare_less_than(449,15714 + def _compare_greater_than(474,16865 + def _compare_arbitrary(504,18305 + def prereleases(508,18434 + def prereleases(532,19361 +def _version_split(539,19495 +def _pad_version(550,19745 +class SpecifierSet(568,20438 + def __init__(569,20473 + def __repr__(590,21384 + def __str__(599,21625 + def __hash__(602,21710 + def __and__(605,21768 + def __eq__(628,22629 + def __ne__(638,22970 + def __len__(648,23311 + def __iter__(651,23367 + def prereleases(655,23439 + def prereleases(672,24120 + def __contains__(675,24189 + def contains(678,24259 + def filter(704,25657 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/markers.py,709 +class InvalidMarker(28,743 +class UndefinedComparison(34,858 +class UndefinedEnvironmentName(40,990 +class Node(47,1139 + def __init__(48,1159 + def __str__(51,1218 + def __repr__(54,1273 + def serialize(57,1371 +class Variable(61,1432 + def serialize(62,1454 +class Value(66,1506 + def serialize(67,1525 +class Op(71,1588 + def serialize(72,1604 +def _coerce_parse_result(133,3390 +def _format_marker(140,3560 +def _eval_op(178,4654 +def _get_env(198,5067 +def _evaluate_markers(209,5320 +def format_full_version(236,6152 +def default_environment(244,6362 +class Marker(267,7168 + def __init__(268,7190 + def __str__(277,7530 + def __repr__(280,7599 + def evaluate(283,7675 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/_compat.py,83 +def with_metaclass(20,413 + class metaclass(27,688 + def __new__(28,715 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/_structures.py,482 +class Infinity(7,247 + def __repr__(8,271 + def __hash__(11,322 + def __lt__(14,379 + def __le__(17,430 + def __eq__(20,481 + def __ne__(23,560 + def __gt__(26,643 + def __ge__(29,693 + def __neg__(32,743 +class NegativeInfinity(39,824 + def __repr__(40,856 + def __hash__(43,908 + def __lt__(46,965 + def __le__(49,1015 + def __eq__(52,1065 + def __ne__(55,1144 + def __gt__(58,1227 + def __ge__(61,1278 + def __neg__(64,1329 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/version.py,1221 +def parse(21,523 +class InvalidVersion(33,871 +class _BaseVersion(39,988 + def __hash__(40,1016 + def __lt__(43,1072 + def __le__(46,1158 + def __eq__(49,1245 + def __ge__(52,1332 + def __gt__(55,1419 + def __ne__(58,1505 + def _compare(61,1592 +class LegacyVersion(68,1761 + def __init__(69,1796 + def __str__(73,1917 + def __repr__(76,1970 + def public(80,2071 + def base_version(84,2137 + def epoch(88,2209 + def release(92,2263 + def pre(96,2321 + def post(100,2375 + def dev(104,2430 + def local(108,2484 + def is_prerelease(112,2540 + def is_postrelease(116,2605 + def is_devrelease(120,2671 +def _parse_version_parts(135,2931 +def _legacy_cmpkey(152,3368 +class Version(213,5374 + def __init__(217,5494 + def __repr__(245,6639 + def __str__(248,6720 + def epoch(277,7459 + def release(281,7530 + def pre(285,7605 + def post(289,7672 + def dev(293,7776 + def local(297,7877 + def public(304,8048 + def base_version(308,8127 + def is_prerelease(321,8405 + def is_postrelease(325,8509 + def is_devrelease(329,8591 +def _parse_letter_version(333,8658 +def _parse_local_version(367,9737 +def _cmpkey(378,10048 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/utils.py,63 +def canonicalize_name(14,350 +def canonicalize_version(19,469 + +venv/lib/python2.7/site-packages/pip/_vendor/progress/spinner.py,154 +class Spinner(22,899 + def update(27,1012 +class PieSpinner(32,1113 +class MoonSpinner(36,1184 +class LineSpinner(40,1256 +class PixelSpinner(43,1341 + +venv/lib/python2.7/site-packages/pip/_vendor/progress/bar.py,237 +class Bar(25,914 + def update(35,1118 +class ChargingBar(48,1549 +class FillingSquaresBar(56,1686 +class FillingCirclesBar(61,1766 +class IncrementalBar(66,1846 + def update(72,2042 +class PixelBar(89,2759 +class ShadyBar(93,2863 + +venv/lib/python2.7/site-packages/pip/_vendor/progress/counter.py,158 +class Counter(22,909 + def update(26,987 +class Countdown(30,1047 + def update(33,1110 +class Stack(37,1174 + def update(41,1308 +class Pie(47,1461 + +venv/lib/python2.7/site-packages/pip/_vendor/progress/helpers.py,311 +class WriteMixin(22,871 + def __init__(25,922 + def write(37,1325 + def finish(45,1597 +class WritelnMixin(50,1742 + def __init__(53,1795 + def clearln(61,2074 + def writeln(65,2197 + def finish(71,2377 +class SigIntMixin(82,2629 + def __init__(85,2722 + def _sigint_handler(89,2868 + +venv/lib/python2.7/site-packages/pip/_vendor/progress/__init__.py,519 +class Infinite(27,962 + def __init__(31,1064 + def __getitem__(40,1341 + def elapsed(46,1484 + def elapsed_td(50,1565 + def update_avg(53,1639 + def update(58,1786 + def start(61,1822 + def finish(64,1857 + def next(67,1893 + def iter(75,2080 +class Progress(84,2239 + def __init__(85,2265 + def eta(90,2419 + def eta_td(94,2505 + def percent(98,2585 + def progress(102,2658 + def remaining(106,2742 + def start(109,2813 + def goto(112,2857 + def iter(116,2943 + +venv/lib/python2.7/site-packages/pip/_vendor/appdirs.py,664 +def user_data_dir(45,1333 +def site_data_dir(100,4102 +def user_config_dir(166,7046 +def site_config_dir(206,8975 +def user_cache_dir(257,11322 +def user_state_dir(314,14024 +def user_log_dir(356,16019 +class AppDirs(407,18382 + def __init__(409,18465 + def user_data_dir(418,18755 + def site_data_dir(423,18931 + def user_config_dir(428,19111 + def site_config_dir(433,19293 + def user_cache_dir(438,19477 + def user_state_dir(443,19634 + def user_log_dir(448,19791 +def _get_win_folder_from_registry(455,19959 +def _get_win_folder_with_pywin32(479,20643 +def _get_win_folder_with_ctypes(506,21496 +def _get_win_folder_with_jna(532,22256 + +venv/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.py,297 +def assert_raises(20,379 +def test_labels(29,610 +def test_all_labels(48,1367 +def test_invalid_label(67,2112 +def test_decode(76,2513 +def test_encode(98,3780 +def test_iter_decode(107,4091 + def iter_decode_to_string(108,4115 +def test_iter_encode(135,5597 +def test_x_user_defined(147,6210 + +venv/lib/python2.7/site-packages/pip/_vendor/webencodings/x_user_defined.py,232 +class Codec(21,310 + def encode(23,338 + def decode(26,453 +class IncrementalEncoder(30,569 + def encode(31,622 +class IncrementalDecoder(35,742 + def decode(36,795 +class StreamWriter(40,915 +class StreamReader(44,974 + +venv/lib/python2.7/site-packages/pip/_vendor/webencodings/__init__.py,494 +def ascii_lower(35,621 +def lookup(61,1600 +def _get_encoding(91,2580 +class Encoding(109,3107 + def __init__(124,3477 + def __repr__(128,3582 +def decode(139,3804 +def _detect_bom(161,4612 +def encode(172,4957 +def iter_decode(186,5407 +def _iter_decode_generator(214,6397 +def iter_encode(246,7240 +def _iter_encode_generator(262,7812 +class IncrementalDecoder(272,8030 + def __init__(283,8410 + def decode(295,8938 +class IncrementalEncoder(323,9854 + def __init__(340,10404 + +venv/lib/python2.7/site-packages/pip/_vendor/webencodings/mklabels.py,46 +def assert_lower(20,311 +def generate(25,393 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/big5prober.py,108 +class Big5Prober(34,1375 + def __init__(35,1417 + def charset_name(42,1643 + def language(46,1708 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/charsetgroupprober.py,193 +class CharSetGroupProber(32,1256 + def __init__(33,1297 + def reset(39,1508 + def charset_name(50,1825 + def language(58,2066 + def feed(65,2285 + def get_confidence(85,2969 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/sbcharsetprober.py,199 +class SingleByteCharSetProber(33,1335 + def __init__(39,1541 + def reset(53,2069 + def charset_name(64,2442 + def language(71,2626 + def feed(77,2788 + def get_confidence(124,5305 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/cp949prober.py,109 +class CP949Prober(34,1361 + def __init__(35,1404 + def charset_name(44,1741 + def language(48,1807 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/enums.py,209 +class InputState(8,123 +class LanguageFilter(17,300 +class ProbingState(32,675 +class MachineState(41,837 +class SequenceLikelihood(50,999 + def get_num_categories(60,1216 +class CharacterCategory(65,1341 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/gb2312prober.py,110 +class GB2312Prober(33,1362 + def __init__(34,1406 + def charset_name(41,1638 + def language(45,1705 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/utf8prober.py,185 +class UTF8Prober(35,1340 + def __init__(38,1398 + def reset(44,1580 + def charset_name(50,1718 + def language(54,1784 + def feed(57,1827 + def get_confidence(76,2544 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/eucjpprober.py,186 +class EUCJPProber(36,1448 + def __init__(37,1491 + def reset(44,1761 + def charset_name(49,1876 + def language(53,1943 + def feed(56,1994 + def get_confidence(89,3543 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/jpcntx.py,409 +class JapaneseContextAnalysis(116,15331 + def __init__(123,15505 + def reset(131,15720 + def feed(143,16295 + def got_enough_data(170,17603 + def get_confidence(173,17694 + def get_order(180,17986 +class SJISContextAnalysis(183,18043 + def __init__(184,18095 + def charset_name(189,18227 + def get_order(192,18290 +class EUCJPContextAnalysis(212,18971 + def get_order(213,19024 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/euckrprober.py,109 +class EUCKRProber(34,1361 + def __init__(35,1404 + def charset_name(42,1633 + def language(46,1700 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/codingstatemachine.py,216 +class CodingStateMachine(33,1215 + def __init__(55,2434 + def reset(63,2655 + def next_state(66,2723 + def get_current_charlen(80,3366 + def get_coding_state_machine(83,3437 + def language(87,3527 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/chardistribution.py,786 +class CharDistributionAnalysis(40,1803 + def __init__(46,1947 + def reset(61,2551 + def feed(70,2907 + def get_confidence(84,3405 + def got_enough_data(100,4047 + def get_order(105,4277 +class EUCTWDistributionAnalysis(113,4579 + def __init__(114,4638 + def get_order(120,4900 +class EUCKRDistributionAnalysis(132,5304 + def __init__(133,5363 + def get_order(139,5625 +class GB2312DistributionAnalysis(151,6029 + def __init__(152,6089 + def get_order(158,6355 +class Big5DistributionAnalysis(170,6811 + def __init__(171,6869 + def get_order(177,7127 +class SJISDistributionAnalysis(192,7704 + def __init__(193,7762 + def get_order(199,8017 +class EUCJPDistributionAnalysis(217,8712 + def __init__(218,8771 + def get_order(224,9027 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/universaldetector.py,146 +class a 30,1301 +class UniversalDetector(51,1828 + def __init__(81,2812 + def reset(94,3235 + def feed(111,3907 + def close(220,9257 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/euctwprober.py,109 +class EUCTWProber(33,1360 + def __init__(34,1403 + def charset_name(41,1632 + def language(45,1699 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/sjisprober.py,185 +class SJISProber(36,1445 + def __init__(37,1487 + def reset(44,1753 + def charset_name(49,1867 + def language(53,1960 + def feed(56,2011 + def get_confidence(89,3568 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/sbcsgroupprober.py,57 +class SBCSGroupProber(43,1919 + def __init__(44,1962 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/cli/chardetect.py,45 +def description_of(26,575 +def main(54,1471 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/escprober.py,191 +class EscCharSetProber(35,1434 + def __init__(42,1673 + def reset(58,2439 + def charset_name(70,2811 + def language(74,2892 + def get_confidence(77,2956 + def feed(83,3084 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.py,19 +def detect(24,989 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/charsetprober.py,314 +class CharSetProber(35,1281 + def __init__(39,1342 + def reset(44,1501 + def charset_name(48,1582 + def feed(51,1631 + def state(55,1684 + def get_confidence(58,1733 + def filter_high_byte_only(62,1801 + def filter_international_words(67,1926 + def filter_with_english_letters(104,3417 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/mbcsgroupprober.py,57 +class MBCSGroupProber(41,1587 + def __init__(42,1630 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/latin1prober.py,192 +class Latin1Prober(96,3847 + def __init__(97,3882 + def reset(103,4044 + def charset_name(109,4198 + def language(113,4269 + def feed(116,4312 + def get_confidence(130,4815 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/hebrewprober.py,282 +class HebrewProber(128,6640 + def __init__(154,7403 + def reset(164,7715 + def set_model_probers(174,8131 + def is_final(178,8282 + def is_non_final(182,8433 + def feed(196,9289 + def charset_name(256,12349 + def language(283,13473 + def state(287,13536 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/mbcharsetprober.py,197 +class MultiByteCharSetProber(34,1331 + def __init__(39,1420 + def reset(45,1646 + def charset_name(54,1915 + def language(58,1992 + def feed(61,2051 + def get_confidence(90,3324 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/util.py,4093 +def parse_marker(56,1422 + def marker_var(65,1823 + def marker_expr(101,3228 + def marker_and(120,3977 + def marker(131,4345 +def parse_requirement(145,4740 + def get_versions(197,6662 +def get_resources_dests(266,9613 + def get_rel_path(269,9710 +def in_venv(292,10688 +def get_executable(302,10913 +def proceed(318,11466 +def extract_by_key(334,11869 +def read_exports(343,12075 + def read_stream(363,12757 +def write_exports(390,13486 +def tempdir(410,14136 +def chdir(418,14272 +def socket_timeout(428,14415 +class cached_property(437,14602 + def __init__(438,14633 + def __get__(443,14809 +def convert_path(451,15074 +class FileOperator(478,16032 + def __init__(479,16060 + def _init_record(484,16188 + def record_as_written(489,16314 + def newer(493,16419 + def copy_file(513,17228 + def copy_stream(530,17949 + def write_binary_file(545,18538 + def write_text_file(554,18836 + def set_mode(557,18950 + def ensure_dir(571,19558 + def byte_compile(583,19981 + def ensure_removed(600,20835 + def is_writable(621,21663 + def commit(633,21999 + def rollback(643,22255 +def resolve(661,22963 +class ExportEntry(676,23350 + def __init__(677,23377 + def value(684,23562 + def __repr__(687,23633 + def __eq__(691,23823 +def get_export_entry(709,24428 +def get_cache_base(740,25531 +def path_to_cache_dir(781,27157 +def ensure_slash(798,27627 +def parse_credentials(804,27714 +def get_process_umask(815,28012 +def is_string_sequence(820,28105 +def split_filename(835,28518 +def parse_name_and_version(863,29464 +def get_extras(878,29899 +def _get_external_data(903,30619 +def get_project_data(925,31442 +def get_package_data(931,31631 +class Cache(937,31822 + def __init__(944,32085 + def prefix_to_dir(958,32623 + def clear(964,32795 +class EventMixin(981,33264 + def __init__(985,33350 + def add(988,33406 + def remove(1008,34098 + def get_subscribers(1020,34469 + def publish(1027,34706 +class Sequencer(1053,35601 + def __init__(1054,35626 + def add_node(1059,35761 + def remove_node(1062,35822 + def add(1078,36397 + def remove(1083,36565 + def is_step(1096,37024 + def get_steps(1100,37153 + def strong_connections(1126,38028 + def strongconnect(1136,38289 + def dot(1177,39836 +def unarchive(1195,40355 + def check_path(1197,40424 +def zip_dir(1249,42394 +class Progress(1269,42894 + def __init__(1272,42943 + def update(1280,43182 + def increment(1290,43477 + def start(1294,43571 + def stop(1298,43643 + def maximum(1304,43770 + def percentage(1308,43870 + def format_duration(1318,44148 + def ETA(1328,44476 + def speed(1347,45066 +def iglob(1367,45553 +def _iglob(1378,46007 + class HTTPSConnection(1414,47178 + def connect(1419,47407 + class HTTPSHandler(1456,49178 + def __init__(1457,49220 + def _conn_maker(1462,49404 + def https_open(1478,50225 + class HTTPSOnlyHandler(1497,51071 + def http_open(1498,51126 + class HTTP(1509,51380 + def __init__(1510,51410 + class HTTPS(1517,51651 + def __init__(1518,51687 +class Transport(1524,51932 + def __init__(1525,51970 + def make_connection(1529,52108 + class SafeTransport(1541,52537 + def __init__(1542,52587 + def make_connection(1546,52741 +class ServerProxy(1562,53389 + def __init__(1563,53431 +def _csv_open(1583,54194 +class CSVBase(1594,54524 + def __enter__(1601,54770 + def __exit__(1604,54816 +class CSVReader(1608,54881 + def __init__(1609,54907 + def __iter__(1620,55322 + def next(1623,55367 +class CSVWriter(1633,55653 + def __init__(1634,55679 + def writerow(1638,55822 +class Configurator(1652,56153 + def __init__(1657,56300 + def configure_custom(1661,56435 + def convert(1662,56475 + def __getitem__(1692,57485 + def inc_convert(1698,57700 +class SubprocessMixin(1707,57998 + def __init__(1711,58107 + def reader(1715,58226 + def run_command(1736,58913 +def normalize_name(1753,59488 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/database.py,2674 +class _Cache(45,1161 + def __init__(49,1270 + def clear(57,1477 + def add(65,1664 +class DistributionPath(75,1941 + def __init__(79,2069 + def _get_cache_enabled(99,2854 + def _set_cache_enabled(102,2924 + def clear_cache(107,3072 + def _yield_distributions(115,3220 + def _generate_cache(159,5246 + def distinfo_dirname(179,5931 + def get_distributions(200,6966 + def get_distribution(222,7693 + def provides_distribution(248,8588 + def get_file_path(289,10264 + def get_exported_entries(298,10575 +class Distribution(317,11207 + def __init__(335,11797 + def source_url(353,12424 + def name_and_version(362,12650 + def provides(369,12853 + def _get_requirements(380,13199 + def run_requires(388,13521 + def meta_requires(392,13618 + def build_requires(396,13717 + def test_requires(400,13818 + def dev_requires(404,13917 + def matches_requirement(407,14000 + def __repr__(441,15171 + def __eq__(451,15469 + def __hash__(467,16100 +class BaseInstalledDistribution(474,16289 + def __init__(482,16460 + def get_hash(497,17179 +class InstalledDistribution(529,18559 + def __init__(539,18917 + def __repr__(573,20312 + def __str__(577,20442 + def _get_records(580,20517 + def exports(604,21667 + def read_exports(617,22139 + def write_exports(632,22657 + def get_resource_path(643,23119 + def list_installed_files(663,23975 + def write_installed_files(673,24265 + def check_installed_files(708,25811 + def shared_locations(744,27456 + def write_shared_locations(770,28672 + def get_distinfo_resource(795,29686 + def get_distinfo_file(804,30099 + def list_distinfo_files(833,31368 + def __eq__(849,31976 +class EggInfoDistribution(857,32210 + def __init__(866,32646 + def set_name_and_version(867,32686 + def _get_metadata(887,33437 + def parse_requires_data(890,33497 + def parse_requires_path(917,34615 + def __repr__(977,37150 + def __str__(981,37278 + def check_installed_files(984,37353 + def list_installed_files(1003,38231 + def _md5(1011,38464 + def _size(1019,38673 + def list_distinfo_files(1041,39658 + def __eq__(1070,40949 +class DependencyGraph(1081,41258 + def __init__(1097,42062 + def add_distribution(1102,42177 + def add_edge(1112,42577 + def add_missing(1127,43232 + def _repr_dist(1138,43707 + def repr_node(1141,43791 + def to_dot(1154,44311 + def topological_sort(1186,45563 + def __repr__(1217,46865 +def make_graph(1225,47089 +def get_dependent_dists(1279,49090 +def get_required_dists(1305,49924 +def make_dist(1330,50682 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.py,975 + def _derive_abi(59,1660 +class Mounter(98,2625 + def __init__(99,2648 + def add(103,2728 + def remove(107,2857 + def find_module(113,3040 + def load_module(120,3211 +class Wheel(136,3733 + def __init__(144,3883 + def filename(186,5480 + def exists(203,6057 + def tags(208,6187 + def metadata(215,6377 + def get_wheel_metadata(244,7646 + def info(254,8035 + def process_shebang(260,8231 + def get_hash(290,9246 + def write_record(301,9687 + def write_records(310,10034 + def build_zip(326,10625 + def build(332,10876 + def install(436,15014 + def _get_dylib_cache(668,26483 + def _get_extensions(677,26810 + def is_compatible(711,28416 + def is_mountable(717,28573 + def mount(723,28750 + def unmount(744,29608 + def verify(756,30070 + def update(810,32359 + def get_version(827,33345 + def update_version(837,33722 +def compatible_tags(911,37266 +def is_compatible(978,39509 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/manifest.py,411 +class Manifest(37,847 + def __init__(42,1009 + def findall(57,1362 + def add(84,2203 + def add_many(94,2507 + def sorted(103,2742 + def add_dir(108,2852 + def clear(125,3444 + def process_directive(130,3561 + def _parse_directive(209,7146 + def _include_pattern(256,8983 + def _exclude_pattern(297,10698 + def _translate_pattern(317,11455 + def _glob_to_re(372,13758 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.py,607 + def _resolve(45,1257 +def _enquote_executable(66,1828 +class ScriptMaker(82,2482 + def __init__(91,2693 + def _get_alternate_executable(107,3370 + def _is_shell(115,3735 + def _fix_jython_executable(127,4144 + def _build_shebang(139,4652 + def _get_shebang(170,6009 + def _get_script_text(226,8790 + def get_manifest(232,8990 + def _write_script(236,9105 + def _make_script(288,11616 + def _copy_script(311,12529 + def dry_run(364,14557 + def dry_run(368,14637 + def _get_launcher(375,14913 + def make(389,15424 + def make_multiple(408,16213 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/metadata.py,1901 +class MetadataMissingError(28,650 +class MetadataConflictError(32,739 +class MetadataUnrecognizedVersionError(36,861 +class MetadataInvalidError(40,964 +def _version2fieldlist(110,3851 +def _best_version(124,4229 + def _has_marker(126,4320 +def _get_name_and_version(247,8949 +class LegacyMetadata(260,9483 + def __init__(272,9938 + def set_metadata_version(288,10517 + def _write_field(291,10625 + def __getitem__(294,10726 + def __setitem__(297,10790 + def __delitem__(300,10868 + def __contains__(307,11060 + def _convert_name(311,11193 + def _default_value(317,11374 + def _remove_line_prefix(322,11516 + def __getattr__(328,11735 + def get_fullname(339,11964 + def is_field(345,12206 + def is_multi_field(350,12370 + def read(354,12482 + def read_file(362,12712 + def write(385,13656 + def write_file(393,13918 + def update(418,14958 + def _set(428,15406 + def set(446,15891 + def get(490,17777 + def check(519,18751 + def are_valid_constraints(545,19638 + def todict(563,20409 + def add_requirements(622,22650 + def keys(633,23045 + def __iter__(636,23132 + def values(640,23211 + def items(643,23284 + def __repr__(646,23363 +class Metadata(656,23617 + def __init__(698,24924 + def __getattribute__(766,27595 + def _validate_value(809,29419 + def __setattr__(819,29935 + def name_and_version(859,31472 + def provides(863,31587 + def provides(874,31911 + def get_requirements(880,32075 + def dictionary(923,33988 + def dependencies(929,34119 + def dependencies(936,34318 + def _validate_mapping(942,34468 + def validate(956,35058 + def todict(965,35395 + def _from_legacy(972,35593 + def _to_legacy(1010,36821 + def process_entries(1011,36847 + def write(1047,38244 + def add_requirements(1073,39250 + def __repr__(1090,39926 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/markers.py,164 +def _is_literal(25,671 +class Evaluator(30,787 + def evaluate(50,1367 +def default_context(77,2415 + def format_full_version(78,2438 +def interpret(113,3654 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/locators.py,2258 +def get_all_distribution_names(41,1398 +class RedirectHandler(55,1778 + def http_error_302(64,2189 +class Locator(86,3092 + def __init__(102,3752 + def get_errors(121,4663 + def clear_errors(135,5054 + def clear_cache(142,5236 + def _get_scheme(145,5292 + def _set_scheme(148,5348 + def _get_project(153,5461 + def get_distribution_names(165,5898 + def get_project(171,6096 + def score_url(188,6681 + def prefer_url(203,7288 + def split_filename(225,8095 + def convert_url_to_download_info(231,8309 + def same_project(239,8661 + def _get_digest(305,11739 + def _update_version_data(321,12217 + def locate(344,13146 +class PyPIRPCLocator(404,15758 + def __init__(409,15945 + def get_distribution_names(420,16286 + def _get_project(426,16462 +class PyPIJSONLocator(452,17563 + def __init__(457,17725 + def get_distribution_names(461,17863 + def _get_project(467,18060 +class Page(521,20361 + def __init__(537,21164 + def links(551,21567 + def clean(557,21829 +class SimpleScrapingLocator(579,22723 + def __init__(593,23225 + def _prepare_threads(620,24460 + def _wait_threads(633,24908 + def _get_project(646,25339 + def _is_platform_dependent(667,26082 + def _process_download(673,26260 + def _should_queue(693,27022 + def _fetch(722,28166 + def get_page(755,29577 + def get_distribution_names(816,32498 +class DirectoryLocator(828,32906 + def __init__(833,33014 + def should_include(850,33765 + def _get_project(858,34117 + def get_distribution_names(874,34799 +class JSONLocator(893,35537 + def get_distribution_names(900,35850 + def _get_project(906,36047 +class DistPathLocator(931,37255 + def __init__(936,37428 + def _get_project(946,37746 +class AggregatingLocator(959,38136 + def __init__(963,38255 + def clear_cache(979,38919 + def _set_scheme(984,39073 + def _get_project(991,39267 + def get_distribution_names(1035,41266 +class DependencyFinder(1061,42139 + def __init__(1066,42231 + def add_distribution(1074,42491 + def remove_distribution(1089,43112 + def get_matcher(1107,43810 + def find_providers(1123,44365 + def try_to_replace(1147,45125 + def find(1187,46839 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/index.py,612 +class PackageIndex(28,689 + def __init__(36,894 + def _get_pypirc_command(65,2008 + def read_configuration(75,2332 + def save_configuration(90,2939 + def check_credentials(102,3359 + def register(114,3864 + def _reader(134,4632 + def get_sign_command(152,5303 + def run_command(181,6656 + def sign_file(216,7988 + def upload_file(239,9098 + def upload_documentation(296,11835 + def get_verify_command(324,13122 + def verify_signature(348,14216 + def download_file(373,15395 + def send_request(450,18741 + def encode_request(466,19268 + def search(509,20769 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/compat.py,2986 + def quote(30,847 + def splituser(52,1534 + class CertificateError(94,3064 + def _dnsname_match(98,3119 + def match_hostname(148,5144 + class Container(194,7092 + def __init__(198,7218 + def which(206,7410 + def _access_check(219,8007 + class ZipExtFile(278,10214 + def __init__(279,10252 + def __enter__(282,10335 + def __exit__(285,10389 + class ZipFile(289,10528 + def __enter__(290,10560 + def __exit__(293,10614 + def open(297,10753 + def python_implementation(304,10981 + def callable(324,11517 + def fsencode(344,12241 + def fsdecode(353,12570 + def _get_normal_name(370,13094 + def detect_encoding(381,13565 + def read_or_stop(405,14640 + def find_cookie(411,14781 + def _recursive_repr(489,17348 + def decorating_function(495,17523 + def wrapper(498,17613 + class ChainMap(518,18466 + def __init__(531,18979 + def __missing__(538,19264 + def __getitem__(541,19333 + def get(549,19682 + def __len__(552,19782 + def __iter__(555,19902 + def __contains__(558,19980 + def __bool__(561,20070 + def __repr__(565,20160 + def fromkeys(570,20322 + def copy(574,20500 + def new_child(580,20708 + def parents(585,20934 + def __setitem__(589,21109 + def __delitem__(592,21191 + def popitem(598,21399 + def pop(605,21684 + def clear(612,22007 + def cache_from_source(622,22326 + class OrderedDict(649,23193 + def __init__(661,23877 + def __setitem__(677,24537 + def __delitem__(687,25050 + def __iter__(696,25506 + def __reversed__(704,25732 + def clear(712,25970 + def popitem(724,26359 + def keys(749,27212 + def values(753,27313 + def items(757,27437 + def iterkeys(761,27578 + def itervalues(765,27700 + def iteritems(770,27853 + def update(775,28021 + def pop(810,29474 + def setdefault(823,29944 + def __repr__(830,30197 + def __reduce__(844,30746 + def copy(854,31132 + def fromkeys(859,31266 + def __eq__(869,31578 + def __ne__(878,31956 + def viewkeys(883,32094 + def viewvalues(887,32236 + def viewitems(891,32378 + def valid_ident(901,32687 + class ConvertingDict(917,33305 + def __getitem__(920,33385 + def get(932,33890 + def pop(944,34402 + class ConvertingList(954,34774 + def __getitem__(956,34847 + def pop(968,35352 + class ConvertingTuple(977,35703 + def __getitem__(979,35779 + class BaseConfigurator(989,36181 + def __init__(1009,36820 + def resolve(1013,36950 + def ext_convert(1036,37769 + def cfg_convert(1040,37908 + def convert(1074,39310 + def configure_custom(1102,40644 + def as_tuple(1116,41200 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/__init__.py,144 +class DistlibException(11,222 + class NullHandler(17,347 + def handle(18,387 + def emit(19,426 + def createLock(20,463 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/resources.py,1121 +class ResourceCache(28,531 + def __init__(29,559 + def is_stale(35,818 + def get(46,1172 +class ResourceBase(72,2068 + def __init__(73,2096 +class Resource(78,2190 + def as_stream(86,2489 + def file_path(96,2741 + def bytes(103,2902 + def size(107,2988 +class ResourceContainer(111,3052 + def resources(115,3167 +class ResourceFinder(119,3241 + def __init__(129,3488 + def _adjust_path(134,3677 + def _make_path(137,3750 + def _find(149,4179 + def get_cache_info(152,4243 + def find(155,4319 + def get_stream(167,4705 + def get_bytes(170,4783 + def get_size(174,4892 + def get_resources(177,4973 + def allowed(178,5012 + def is_container(183,5214 + def iterator(188,5351 +class ZipResourceFinder(209,6120 + def __init__(213,6226 + def _adjust_path(224,6685 + def _find(227,6740 + def get_cache_info(245,7349 + def get_bytes(250,7502 + def get_stream(253,7589 + def get_size(256,7678 + def get_resources(260,7796 + def _is_directory(275,8302 +def register_finder(304,9100 +def finder(310,9215 +def finder_for_path(338,10179 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/version.py,1890 +class UnsupportedVersionError(25,595 +class Version(30,691 + def __init__(31,714 + def parse(37,893 + def _check_compatible(40,986 + def __eq__(44,1137 + def __ne__(48,1248 + def __lt__(51,1316 + def __gt__(55,1426 + def __le__(58,1518 + def __ge__(61,1604 + def __hash__(65,1759 + def __repr__(68,1817 + def __str__(71,1910 + def is_prerelease(75,1976 +class Matcher(79,2076 + def parse_requirement(97,2664 + def __init__(100,2737 + def match(129,4034 + def exact_version(151,4860 + def _check_compatible(157,5046 + def __eq__(161,5224 + def __ne__(165,5361 + def __hash__(169,5498 + def __repr__(172,5573 + def __str__(175,5664 +def _pep_440_key(184,5932 +class NormalizedVersion(248,7685 + def parse(266,8059 + def is_prerelease(280,8639 +def _match_prefix(284,8741 +class NormalizedMatcher(295,8920 + def _adjust_local(310,9306 + def _match_lt(324,9896 + def _match_gt(332,10244 + def _match_le(340,10592 + def _match_ge(344,10762 + def _match_eq(348,10932 + def _match_arbitrary(356,11225 + def _match_ne(359,11334 + def _match_compatible(367,11631 +def _suggest_semantic_version(406,13434 +def _suggest_normalized_version(452,14781 +def _legacy_key(578,18956 + def get_parts(579,18976 +class LegacyVersion(604,19674 + def parse(605,19704 + def is_prerelease(609,19773 +class LegacyMatcher(619,20032 + def _match_compatible(627,20231 +def is_semver(649,20916 +def _semantic_key(653,20967 + def make_tuple(654,20989 +class SemanticVersion(674,21711 + def parse(675,21743 + def is_prerelease(679,21814 +class SemanticMatcher(683,21885 +class VersionScheme(687,21955 + def __init__(688,21984 + def is_valid_version(693,22128 + def is_valid_matcher(701,22334 + def is_valid_constraint_list(709,22526 + def suggest(715,22703 +def get_scheme(733,23255 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/misc.py,84 + def cache_from_source(17,319 + def callable(27,523 + def fsencode(34,644 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/sysconfig.py,871 +def _safe_realpath(34,613 +def is_python_build(58,1444 +def _ensure_cfg_read(68,1679 +def _expand_globals(89,2384 + def _replacer(111,3021 +def _subst_vars(133,3750 + def _replacer(139,3983 +def _extend_dict(149,4258 +def _expand_vars(157,4467 +def format_value(170,4804 + def _replacer(171,4835 +def _get_default_scheme(179,5030 +def _getuserbase(186,5190 + def joinuser(189,5265 +def _parse_makefile(215,5964 +def get_makefile_filename(333,9939 +def _init_posix(344,10317 +def _init_non_posix(372,11358 +def parse_config_h(388,11794 +def get_config_h_filename(419,12628 +def get_scheme_names(431,12955 +def get_path_names(436,13082 +def get_paths(442,13242 +def get_path(455,13634 +def get_config_vars(463,13861 +def get_config_var(594,19792 +def get_platform(603,20017 +def get_python_version(765,26318 +def _print_dict(769,26375 +def _main(776,26574 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/shutil.py,1149 +class Error(44,1070 +class SpecialFileError(47,1111 +class ExecError(51,1289 +class ReadError(54,1379 +class RegistryError(57,1463 +def copyfileobj(67,1659 +def _samefile(75,1884 +def copyfile(87,2237 +def copymode(107,2855 +def copystat(114,3044 +def copy(130,3607 +def copy2(141,3853 +def ignore_patterns(152,4107 + def _ignore_patterns(157,4293 +def copytree(164,4520 +def rmtree(246,7870 + def onerror(258,8405 + def onerror(261,8476 +def _basename(295,9485 +def move(300,9718 +def _destinsrc(340,11175 +def _get_gid(349,11409 +def _get_uid(361,11688 +def _make_tarball(373,11967 + def _set_uid_gid(417,13531 +def _call_external_zip(435,13998 +def _make_zipfile(452,14712 +def get_archive_formats(510,16867 +def register_archive_format(520,17187 +def unregister_archive_format(541,18178 +def make_archive(544,18247 +def get_unpack_formats(599,20086 +def _check_unpack_options(610,20405 +def register_unpack_format(628,21124 +def unregister_unpack_format(650,22026 +def _ensure_directory(654,22146 +def _unpack_zipfile(660,22336 +def _unpack_tarfile(697,23405 +def _find_unpack_format(720,24148 +def unpack_archive(727,24354 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/tarfile.py,4323 +def stn(185,6642 +def nts(191,6831 +def nti(199,7023 +def itn(216,7479 +def calc_chksums(243,8567 +def copyfileobj(256,9274 +def filemode(312,10630 +class TarError(327,10998 +class ExtractError(330,11060 +class ReadError(333,11147 +class CompressionError(336,11232 +class StreamError(339,11332 +class HeaderError(342,11442 +class EmptyHeaderError(345,11524 +class TruncatedHeaderError(348,11609 +class EOFHeaderError(351,11702 +class InvalidHeaderError(354,11791 +class SubsequentHeaderError(357,11880 +class _LowLevelFile(364,12080 + def __init__(370,12258 + def close(379,12527 + def read(382,12575 + def write(385,12640 +class _Stream(388,12694 + def __init__(399,13137 + def __del__(451,14810 + def _init_write_gz(455,14915 + def write(469,15599 + def __write(479,15886 + def close(488,16190 + def _init_read_gz(516,17280 + def tell(547,18239 + def seek(552,18350 + def read(565,18795 + def _read(583,19317 + def __read(604,19910 +class _StreamProxy(620,20369 + def __init__(625,20524 + def read(629,20637 + def getcomptype(633,20726 + def close(640,20915 +class _BZ2Proxy(644,20986 + class which 648,21194 + def __init__(654,21322 + def init(660,21494 + def read(670,21752 + def seek(685,22144 + def tell(690,22255 + def write(693,22300 + def close(698,22431 +class _FileInFile(707,22651 + def __init__(713,22817 + def seekable(736,23575 + def tell(742,23761 + def seek(747,23868 + def read(752,23987 +class ExFileObject(782,24927 + def __init__(788,25085 + def readable(801,25507 + def writable(804,25552 + def seekable(807,25598 + def read(810,25662 + def readline(837,26422 + def readlines(866,27374 + def tell(876,27623 + def seek(884,27816 + def close(905,28534 + def __iter__(910,28629 +class TarInfo(923,28920 + def __init__(937,29520 + def _getpath(963,30607 + def _setpath(965,30656 + def _getlinkpath(969,30752 + def _setlinkpath(971,30809 + def __repr__(975,30933 + def get_info(978,31037 + def tobuf(1002,31764 + def create_ustar_header(1016,32319 + def create_gnu_header(1029,32782 + def create_pax_header(1043,33337 + def create_pax_global_header(1093,35243 + def _posix_split_name(1098,35452 + def _create_header(1114,35921 + def _create_payload(1142,37181 + def _create_gnu_long_header(1152,37510 + def _create_pax_generic_header(1169,38066 + def frombuf(1220,40034 + def fromtarfile(1283,42395 + def _proc_member(1303,43350 + def _proc_builtin(1316,43856 + def _proc_gnulong(1333,44469 + def _proc_sparse(1355,45253 + def _proc_pax(1383,46269 + def _proc_gnusparse_00(1485,50696 + def _proc_gnusparse_01(1496,51174 + def _proc_gnusparse_10(1502,51441 + def _apply_pax_info(1518,52063 + def _decode_pax_field(1541,53021 + def _block(1549,53340 + def isreg(1558,53613 + def isfile(1560,53676 + def isdir(1562,53726 + def issym(1564,53783 + def islnk(1566,53840 + def ischr(1568,53897 + def isblk(1570,53954 + def isfifo(1572,54011 + def issparse(1574,54070 + def isdev(1576,54133 +class TarFile(1580,54228 + def __init__(1606,55266 + def open(1714,59727 + def taropen(1790,62890 + def gzopen(1798,63210 + def bz2open(1829,64284 + def close(1864,65472 + def getmember(1884,66136 + def getmembers(1895,66596 + def getnames(1905,67017 + def gettarinfo(1911,67259 + def list(2009,70734 + def add(2038,71945 + def addfile(2100,74256 + def extractall(2126,75279 + def extract(2164,76753 + def extractfile(2199,78118 + def _extract_member(2237,79804 + def makedir(2285,81756 + def makefile(2296,82125 + def makeunknown(2312,82665 + def makefifo(2320,82984 + def makedev(2328,83229 + def makelink(2343,83728 + def chown(2372,84967 + def chmod(2394,85797 + def utime(2403,86123 + def next(2414,86568 + def _getmember(2463,88246 + def _load(2486,89000 + def _check(2496,89260 + def _find_link_target(2505,89633 + def __iter__(2524,90362 + def _dbg(2532,90548 + def __enter__(2538,90714 + def __exit__(2542,90782 +class TarIter(2553,91157 + def __init__(2560,91269 + def __iter__(2565,91407 + def __next__(2570,91499 +def is_tarfile(2595,92343 + +venv/lib/python2.7/site-packages/pip/_vendor/six.py,2443 + class X(60,2014 + def __len__(62,2040 +def _add_doc(75,2320 +def _import_module(80,2413 +class _LazyDescr(86,2557 + def __init__(88,2584 + def __get__(91,2640 +class MovedModule(103,3006 + def __init__(105,3038 + def _resolve(114,3271 + def __getattr__(117,3336 +class _LazyModule(124,3500 + def __init__(126,3538 + def __dir__(130,3663 +class MovedAttribute(139,3879 + def __init__(141,3914 + def _resolve(159,4498 +class _SixMetaPathImporter(164,4608 + def __init__(173,4863 + def _add_module(177,4973 + def _get_module(181,5118 + def find_module(184,5218 + def __get_module(189,5354 + def load_module(195,5557 + def is_package(209,5944 + def get_code(218,6218 +class _MovedItems(229,6507 +class Module_six_moves_urllib_parse(322,11404 +class Module_six_moves_urllib_error(364,13467 +class Module_six_moves_urllib_request(384,14163 +class Module_six_moves_urllib_response(436,17067 +class Module_six_moves_urllib_robotparser(457,17855 +class Module_six_moves_urllib(475,18504 + def __dir__(485,18978 +def add_move(492,19189 +def remove_move(497,19289 + def advance_iterator(529,20008 + def callable(537,20136 + def get_unbound_function(542,20249 + def create_unbound_method(547,20356 + def get_unbound_function(552,20447 + def create_bound_method(555,20518 + def create_unbound_method(558,20617 + class Iterator(561,20709 + def next(563,20738 + def iterkeys(580,21275 + def itervalues(583,21337 + def iteritems(586,21403 + def iterlists(589,21467 + def iterkeys(598,21680 + def itervalues(601,21740 + def iteritems(604,21804 + def iterlists(607,21866 + def b(625,22437 + def u(628,22487 + def b(648,23040 + def u(652,23114 + def byte2int(657,23236 + def indexbytes(660,23285 +def assertCountEqual(672,23654 +def assertRaisesRegex(676,23762 +def assertRegex(680,23872 + def reraise(687,24023 + def exec_(699,24320 + def raise_from(736,25236 + def print_(742,25364 + def write(748,25551 + def print_(798,27294 + def wraps(808,27590 + def wrapper(810,27703 +def with_metaclass(819,27906 + class metaclass(824,28171 + def __new__(826,28199 + def __prepare__(830,28308 +def add_metaclass(835,28469 + def wrapper(837,28564 +def ensure_binary(853,29114 +def ensure_str(872,29583 +def ensure_text(892,30123 +def python_2_unicode_compatible(912,30580 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py,303 +def _b64_decode_bytes(12,200 +def _b64_decode_str(16,275 +class Serializer(20,348 + def dumps(22,375 + def loads(74,2802 + def prepare_response(104,3801 + def _loads_v0(140,5253 + def _loads_v1(146,5475 + def _loads_v2(154,5670 + def _loads_v3(174,6478 + def _loads_v4(180,6741 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/cache.py,220 +class BaseCache(8,134 + def get(10,160 + def set(13,221 + def delete(16,289 + def close(19,353 +class DictCache(23,389 + def __init__(25,418 + def get(29,522 + def set(32,587 + def delete(36,686 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py,155 +class RedisCache(7,118 + def __init__(9,148 + def get(12,204 + def set(15,263 + def delete(22,505 + def clear(25,563 + def close(31,744 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py,228 +def _secure_open_write(15,228 +class FileCache(56,1636 + def __init__(58,1665 + def encode(98,2785 + def _fn(101,2859 + def get(108,3159 + def set(117,3359 + def delete(131,3770 +def url_to_file_path(140,3965 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py,191 +class CacheControlAdapter(12,214 + def __init__(15,300 + def send(36,922 + def build_response(57,1761 + def _update_chunk_length(110,3988 + def close(131,4766 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/controller.py,313 +def parse_uri(21,402 +class CacheController(30,674 + def __init__(34,774 + def _urlnorm(43,1105 + def cache_url(63,1799 + def parse_cache_control(66,1862 + def cached_request(120,3735 + def conditional_headers(231,8296 + def cache_response(247,8807 + def update_cached_response(329,12248 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/heuristics.py,419 +def expire_after(11,173 +def datetime_to_header(16,272 +class BaseHeuristic(20,357 + def warning(22,387 + def update_headers(33,768 + def apply(42,1081 +class OneDayCache(54,1459 + def update_headers(60,1582 +class ExpiresAfter(71,1959 + def __init__(76,2065 + def update_headers(79,2133 + def warning(83,2300 +class LastModified(88,2444 + def update_headers(104,3046 + def warning(134,4021 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py,191 +class CallbackFileWrapper(4,25 + def __init__(16,446 + def __getattr__(21,574 + def __is_fp_closed(33,1181 + def _close(50,1515 + def read(61,2009 + def _safe_read(69,2187 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/wrapper.py,23 +def CacheControl(5,72 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/_cmd.py,88 +def setup_logging(12,262 +def get_session(18,389 +def get_args(30,687 +def main(36,830 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/request.py,178 +class RequestMethods(10,176 + def __init__(41,1262 + def urlopen(44,1338 + def request(50,1650 + def request_encode_url(74,2738 + def request_encode_body(91,3292 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/fields.py,274 +def guess_content_type(8,104 +def format_header_param(22,513 +class RequestField(50,1451 + def __init__(63,1821 + def from_tuples(72,2076 + def _render_part(105,3324 + def _render_parts(116,3700 + def render_headers(138,4398 + def make_multipart(157,5045 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/connectionpool.py,884 +class ConnectionPool(55,1235 + def __init__(64,1443 + def __str__(72,1681 + def __enter__(76,1830 + def __exit__(79,1876 + def close(84,2030 +class HTTPConnectionPool(95,2291 + def __init__(159,4831 + def _new_conn(199,6170 + def _get_conn(212,6663 + def _put_conn(250,8177 + def _validate_conn(280,9214 + def _prepare_proxy(286,9364 + def _get_timeout(290,9460 + def _raise_timeout(302,9898 + def _make_request(319,10866 + def _absolute_url(404,14653 + def close(407,14775 + def is_same_host(425,15212 + def urlopen(446,15904 + def drain_and_release_conn(669,25982 +class HTTPSConnectionPool(736,28808 + def __init__(757,29642 + def _prepare_conn(782,30704 + def _prepare_proxy(799,31408 + def _new_conn(807,31696 + def _validate_conn(831,32614 +def connection_from_url(850,33344 +def _ipv6_host(878,34274 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py,56 +class CFConst(500,14294 +class SecurityConst(508,14482 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py,330 +def _cf_data_from_bytes(27,764 +def _cf_dictionary_from_tuples(37,1050 +def _cf_string_to_unicode(59,1762 +def _assert_no_error(88,2624 +def _cert_array_from_pem(109,3170 +def _is_cert(155,4747 +def _is_identity(163,4947 +def _temporary_keychain(171,5146 +def _load_items_from_file(211,6726 +def _load_client_cert_chain(270,8781 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py,111 +class NTLMConnectionPool(18,353 + def __init__(25,515 + def _new_conn(39,1054 + def urlopen(103,3950 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/appengine.py,343 +class AppEnginePlatformWarning(71,2207 +class AppEnginePlatformError(75,2263 +class AppEngineManager(79,2315 + def __init__(99,3146 + def __enter__(123,4172 + def __exit__(126,4218 + def urlopen(130,4351 + def _urlfetch_response_to_http_response(221,8069 + def _get_absolute_timeout(257,9528 + def _get_retries(269,10073 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py,1063 + class UnsupportedExtension(54,2013 +def inject_into_urllib3(115,3645 +def extract_from_urllib3(127,3937 +def _validate_dependencies_met(137,4219 +def _dnsname_to_stdlib(157,5109 + def idna_encode(170,5699 +def get_subj_alt_name(195,6462 +class WrappedSocket(247,8585 + def __init__(254,8793 + def fileno(261,9049 + def _decref_socketios(265,9154 + def recv(271,9311 + def recv_into(292,10115 + def settimeout(311,10892 + def _send_until_done(314,10975 + def sendall(325,11384 + def shutdown(331,11598 + def close(335,11728 + def getpeercert(345,11998 + def _reuse(363,12470 + def _drop(366,12526 + def makefile(374,12708 +class PyOpenSSLContext(383,12950 + def __init__(389,13187 + def options(396,13405 + def options(400,13478 + def verify_mode(405,13590 + def verify_mode(409,13712 + def set_default_verify_paths(415,13862 + def set_ciphers(418,13948 + def load_verify_locations(423,14121 + def load_cert_chain(432,14496 + def wrap_socket(438,14803 +def _verify_callback(465,15735 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/socks.py,263 +class SOCKSConnection(59,1634 + def __init__(63,1755 + def _new_conn(67,1919 +class SOCKSHTTPSConnection(129,4353 +class SOCKSHTTPConnectionPool(133,4426 +class SOCKSHTTPSConnectionPool(137,4515 +class SOCKSProxyManager(141,4611 + def __init__(151,4886 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py,152 +def is_appengine(8,86 +def is_appengine_sandbox(14,217 +def is_local_appengine(18,306 +def is_prod_appengine(23,445 +def is_prod_appengine_mvms(29,634 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/securetransport.py,1209 +def inject_into_urllib3(154,6178 +def extract_from_urllib3(165,6473 +def _read_callback(176,6780 +def _write_callback(231,8699 +class WrappedSocket(289,10802 + def __init__(296,11020 + def _raise_on_error(315,11774 + def _set_ciphers(335,12544 + def _custom_validate(348,13122 + def handshake(410,15394 + def fileno(500,19025 + def _decref_socketios(504,19130 + def recv(510,19287 + def recv_into(516,19476 + def settimeout(556,21162 + def gettimeout(559,21230 + def send(562,21286 + def sendall(579,21847 + def shutdown(585,22049 + def close(589,22155 + def getpeercert(608,22927 + def _reuse(670,25422 + def _drop(673,25478 + def makefile(681,25660 + def makefile(685,25832 +class SecureTransportContext(694,26185 + def __init__(700,26409 + def check_hostname(710,26733 + def check_hostname(718,26968 + def options(726,27190 + def options(736,27591 + def verify_mode(741,27709 + def verify_mode(745,27829 + def set_default_verify_paths(748,27933 + def load_default_certs(760,28501 + def set_ciphers(763,28583 + def load_verify_locations(770,28847 + def load_cert_chain(779,29170 + def wrap_socket(784,29361 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/filepost.py,122 +def choose_boundary(15,229 +def iter_field_objects(25,471 +def iter_fields(45,906 +def encode_multipart_formdata(63,1376 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/connection.py,529 + class BaseSSLError(18,511 + class ConnectionError(26,729 +class DummyConnection(65,1606 +class HTTPConnection(70,1704 + def __init__(103,3133 + def host(117,3599 + def host(136,4621 + def _new_conn(145,4910 + def _prepare_conn(172,5762 + def connect(180,6034 + def request_chunked(184,6123 +class HTTPSConnection(223,7540 + def __init__(228,7647 + def connect(244,8302 +class VerifiedHTTPSConnection(263,8839 + def set_cert(274,9107 + def connect(299,10222 +def _match_hostname(372,13198 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/queue.py,111 +class LifoQueue(10,227 + def _init(11,257 + def _qsize(14,323 + def _put(17,386 + def _get(20,445 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.py,81 +def make_headers(11,219 +def set_file_position(77,2215 +def rewind_body(95,2754 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/connection.py,153 +def is_connection_dropped(7,155 +def create_connection(33,1213 +def _set_socket_options(85,3163 +def allowed_gai_family(93,3299 +def _has_ipv6(104,3615 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/timeout.py,298 +class Timeout(18,439 + def __init__(93,3611 + def __str__(99,3901 + def _validate_timeout(104,4069 + def from_float(141,5596 + def clone(156,6208 + def start_connect(171,6822 + def get_connect_duration(182,7266 + def connect_timeout(196,7822 + def read_timeout(214,8390 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/retry.py,523 +class Retry(28,611 + def __init__(159,5590 + def new(184,6675 + def from_int(200,7298 + def get_backoff_time(213,7794 + def parse_retry_after(227,8373 + def get_retry_after(243,8964 + def sleep_for_retry(253,9229 + def _sleep_backoff(261,9435 + def sleep(267,9580 + def _is_connection_error(283,10104 + def _is_read_error(289,10336 + def _is_method_retryable(295,10581 + def is_retry(304,10893 + def is_exhausted(320,11680 + def increment(329,11985 + def __repr__(404,14780 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.py,354 +class NoWayToWaitForSocketError(13,241 + def _retry_on_intr(41,1561 + def _retry_on_intr(45,1661 +def select_wait_for_socket(68,2435 +def poll_wait_for_socket(87,3214 + def do_poll(99,3622 +def null_wait_for_socket(107,3775 +def _have_working_poll(111,3890 +def wait_for_socket(124,4292 +def wait_for_read(139,4907 +def wait_for_write(146,5155 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.py,239 +class Url(14,362 + def __new__(22,638 + def hostname(34,1122 + def request_uri(39,1265 + def netloc(49,1486 + def url(56,1677 + def __str__(95,2970 +def split_first(99,3019 +def parse_url(132,3869 +def get_host(225,6332 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/response.py,91 +def is_fp_closed(7,142 +def assert_header_parsing(38,888 +def is_response_to_head(75,2128 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/ssl_.py,511 +def _const_compare_digest_backport(27,508 + def inet_pton(68,1682 + def inet_pton(74,1901 + class SSLContext(117,3099 + def __init__(118,3160 + def load_cert_chain(129,3552 + def load_verify_locations(133,3679 + def set_ciphers(139,3898 + def wrap_socket(142,3984 +def assert_fingerprint(163,4940 +def resolve_cert_reqs(190,5850 +def resolve_ssl_version(213,6632 +def create_urllib3_context(229,6971 +def ssl_wrap_socket(291,9336 +def is_ipaddress(360,12510 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/poolmanager.py,619 +def _default_key_normalizer(58,1947 +class PoolManager(122,4397 + def __init__(152,5267 + def __enter__(163,5790 + def __exit__(166,5836 + def _new_pool(171,5990 + def clear(198,7176 + def connection_from_host(207,7420 + def connection_from_context(230,8355 + def connection_from_pool_key(243,8911 + def connection_from_url(267,9842 + def _merge_pool_kwargs(282,10558 + def urlopen(302,11303 +class ProxyManager(362,13547 + def __init__(389,14480 + def connection_from_host(412,15349 + def _set_proxy_headers(420,15748 + def urlopen(435,16177 +def proxy_from_url(449,16777 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/_collections.py,927 + class RLock:RLock9,272 + def __enter__(10,289 + def __exit__(13,336 +class RecentlyUsedContainer(28,618 + def __init__(44,1108 + def __getitem__(51,1312 + def __setitem__(58,1550 + def __delitem__(73,2192 + def __len__(80,2362 + def __iter__(84,2450 + def clear(87,2568 + def keys(97,2875 +class HTTPHeaderDict(102,2972 + def __init__(136,4158 + def __setitem__(147,4525 + def __getitem__(151,4657 + def __delitem__(155,4767 + def __contains__(158,4841 + def __eq__(161,4921 + def __ne__(169,5273 + def __len__(178,5485 + def __iter__(181,5545 + def pop(186,5692 + def discard(203,6339 + def add(209,6449 + def extend(225,6978 + def getlist(251,7961 + def __repr__(271,8549 + def _copy_from(274,8647 + def copy(282,8916 + def iteritems(287,9018 + def itermerged(294,9256 + def items(300,9473 + def from_httplib(304,9550 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/__init__.py,61 +def add_stderr_logger(52,1131 +def disable_warnings(88,2550 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/response.py,1293 +class DeflateDecoder(22,661 + def __init__(24,692 + def __getattr__(29,814 + def decompress(32,888 +class GzipDecoderState(55,1522 +class GzipDecoder(62,1621 + def __init__(64,1649 + def __getattr__(68,1786 + def decompress(71,1860 +class MultiDecoder(93,2722 + def __init__(102,3037 + def flush(105,3146 + def decompress(108,3209 +def _get_decoder(114,3344 +class HTTPResponse(124,3506 + class is 130,3734 + def __init__(160,4853 + def get_redirect_location(211,6709 + def release_conn(224,7146 + def data(232,7339 + def connection(241,7567 + def isclosed(244,7626 + def tell(247,7689 + def _init_length(255,7979 + def _init_decoder(303,10084 + def _decode(318,10782 + def _flush_decoder(336,11445 + def _error_catcher(348,11759 + def read(404,14093 + def stream(473,17026 + def from_httplib(500,18075 + def getheaders(529,19216 + def getheader(532,19271 + def info(536,19413 + def close(540,19493 + def closed(548,19653 + def fileno(558,19927 + def flush(567,20285 + def readable(571,20407 + def readinto(575,20517 + def supports_chunked_reads(584,20767 + def _update_chunk_length(593,21110 + def _handle_chunk(607,21599 + def read_chunked(629,22536 + def geturl(696,25196 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/six.py,2326 + class X(60,2014 + def __len__(62,2040 +def _add_doc(75,2320 +def _import_module(80,2413 +class _LazyDescr(86,2557 + def __init__(88,2584 + def __get__(91,2640 +class MovedModule(103,3006 + def __init__(105,3038 + def _resolve(114,3271 + def __getattr__(117,3336 +class _LazyModule(124,3500 + def __init__(126,3538 + def __dir__(130,3663 +class MovedAttribute(139,3879 + def __init__(141,3914 + def _resolve(159,4498 +class _SixMetaPathImporter(164,4608 + def __init__(173,4863 + def _add_module(177,4973 + def _get_module(181,5118 + def find_module(184,5218 + def __get_module(189,5354 + def load_module(195,5557 + def is_package(209,5944 + def get_code(218,6218 +class _MovedItems(229,6507 +class Module_six_moves_urllib_parse(320,11269 +class Module_six_moves_urllib_error(360,13175 +class Module_six_moves_urllib_request(380,13871 +class Module_six_moves_urllib_response(430,16639 +class Module_six_moves_urllib_robotparser(451,17427 +class Module_six_moves_urllib(469,18076 + def __dir__(479,18550 +def add_move(486,18761 +def remove_move(491,18861 + def advance_iterator(523,19580 + def callable(531,19708 + def get_unbound_function(536,19821 + def create_unbound_method(541,19928 + def get_unbound_function(546,20019 + def create_bound_method(549,20090 + def create_unbound_method(552,20189 + class Iterator(555,20281 + def next(557,20310 + def iterkeys(574,20847 + def itervalues(577,20909 + def iteritems(580,20975 + def iterlists(583,21039 + def iterkeys(592,21252 + def itervalues(595,21312 + def iteritems(598,21376 + def iterlists(601,21438 + def b(619,22009 + def u(622,22059 + def b(642,22612 + def u(646,22686 + def byte2int(651,22808 + def indexbytes(654,22857 +def assertCountEqual(666,23226 +def assertRaisesRegex(670,23334 +def assertRegex(674,23444 + def reraise(681,23595 + def exec_(689,23795 + def raise_from(717,24565 + def print_(723,24693 + def write(729,24880 + def print_(779,26623 + def wraps(789,26919 + def wrapper(791,27032 +def with_metaclass(800,27235 + class metaclass(805,27500 + def __new__(807,27528 +def add_metaclass(812,27679 + def wrapper(814,27774 +def python_2_unicode_compatible(828,28226 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/ordered_dict.py,686 +class OrderedDict(16,488 + def __init__(28,1132 + def __setitem__(44,1736 + def __delitem__(54,2213 + def __iter__(63,2637 + def __reversed__(71,2835 + def clear(79,3045 + def popitem(91,3390 + def keys(116,4155 + def values(120,4244 + def items(124,4356 + def iterkeys(128,4485 + def itervalues(132,4595 + def iteritems(137,4732 + def update(142,4884 + def pop(177,6217 + def setdefault(190,6643 + def __repr__(197,6872 + def __reduce__(210,7318 + def copy(220,7668 + def fromkeys(225,7786 + def __eq__(235,8066 + def __ne__(244,8416 + def viewkeys(249,8542 + def viewvalues(253,8672 + def viewitems(257,8802 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py,141 +class CertificateError(21,618 +def _dnsname_match(25,665 +def _to_unicode(78,2609 +def _ipaddress_match(83,2766 +def match_hostname(95,3177 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py,30 +def backport_makefile(14,229 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.py,1381 +class HTTPError(8,152 +class HTTPWarning(13,233 +class PoolError(18,312 + def __init__(20,394 + def __reduce__(24,520 +class RequestError(29,625 + def __init__(31,719 + def __reduce__(35,835 +class SSLError(40,950 +class ProxyError(45,1052 +class DecodeError(50,1143 +class ProtocolError(55,1250 +class MaxRetryError(66,1484 + def __init__(76,1799 +class HostChangedError(85,2034 + def __init__(88,2143 +class TimeoutStateError(94,2346 +class TimeoutError(99,2455 +class ReadTimeoutError(108,2700 +class ConnectTimeoutError(115,2937 +class NewConnectionError(120,3060 +class EmptyPoolError(125,3208 +class ClosedPoolError(130,3326 +class LocationValueError(135,3445 +class LocationParseError(140,3572 + def __init__(143,3687 +class ResponseError(150,3850 +class SecurityWarning(156,4068 +class SubjectAltNameWarning(161,4170 +class InsecureRequestWarning(166,4300 +class SystemTimeWarning(171,4412 +class InsecurePlatformWarning(176,4520 +class SNIMissingWarning(181,4655 +class DependencyWarning(186,4768 +class ResponseNotChunked(194,4927 +class BodyNotHttplibCompatible(199,5057 +class IncompleteRead(207,5244 + def __init__(215,5511 + def __repr__(218,5619 +class InvalidHeader(223,5763 +class ProxySchemeUnknown(228,5853 + def __init__(232,6028 +class HeaderParsingError(237,6179 + def __init__(239,6301 +class UnrewindableBodyError(244,6491 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/serializer.py,295 +def htmlentityreplace_errors(42,1631 +def serialize(75,2723 +class HTMLSerializer(104,3635 + def __init__(135,4632 + def encode(224,7765 + def encodeStrict(231,7977 + def serialize(238,8184 + def render(375,14621 + def serializeError(400,15476 +class SerializeError(407,15681 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/_utils.py,267 +class MethodDispatcher(36,1166 + def __init__(49,1576 + def __getitem__(64,2189 +def isSurrogatePair(71,2357 +def surrogatePairToCodepoint(77,2546 +def moduleFactoryFactory(86,2818 + def moduleFactory(89,2875 +def memoize(115,3773 + def wrapped(118,3808 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py,1135 +class DocumentType(34,876 + def __init__(35,904 +class Document(41,1047 + def __init__(42,1071 + def appendChild(46,1159 + def _getChildNodes(49,1258 +def testSerializer(55,1365 + def serializeElement(59,1483 +def tostring(134,5047 + def serializeElement(138,5146 +class TreeBuilder(175,6351 + def __init__(183,6554 + class Attributes(188,6852 + def __init__(189,6884 + def __setitem__(201,7468 + class Element(209,7840 + def __init__(210,7880 + def _setName(215,8113 + def _getName(220,8319 + def _getAttributes(225,8462 + def _setAttributes(228,8541 + def insertText(233,8723 + def appendChild(237,8912 + class Comment(240,9012 + def __init__(241,9052 + def _setData(245,9201 + def _getData(249,9339 + def reset(259,9655 + def testSerializer(265,9832 + def getDocument(268,9911 + def getFragment(274,10076 + def insertDoctype(284,10371 + def insertCommentInitial(300,10959 + def insertCommentMain(305,11165 + def insertRoot(311,11509 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treebuilders/etree.py,1360 +def getETreeBuilder(17,342 + class Element(21,511 + def __init__(22,541 + def _getETreeTag(35,1083 + def _setName(42,1304 + def _getName(46,1448 + def _setNamespace(51,1552 + def _getNamespace(55,1716 + def _getAttributes(60,1845 + def _setAttributes(63,1920 + def _getChildNodes(77,2489 + def _setChildNodes(80,2560 + def hasContent(88,2808 + def appendChild(92,2968 + def insertBefore(97,3127 + def removeChild(102,3325 + def insertText(107,3484 + def cloneNode(130,4519 + def reparentChildren(136,4741 + class Comment(147,5227 + def __init__(148,5255 + def _getData(156,5542 + def _setData(159,5609 + class DocumentType(164,5729 + def __init__(165,5762 + def _getPublicId(171,5978 + def _setPublicId(174,6064 + def _getSystemId(180,6248 + def _setSystemId(183,6334 + class Document(189,6518 + def __init__(190,6547 + class DocumentFragment(193,6628 + def __init__(194,6665 + def testSerializer(197,6750 + def serializeElement(200,6800 + def tostring(259,9639 + def serializeElement(264,9827 + class TreeBuilder(313,11830 + def testSerializer(321,12129 + def getDocument(324,12216 + def getFragment(334,12592 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treebuilders/base.py,1161 +class Node(23,972 + def __init__(25,1033 + def __str__(45,1793 + def __repr__(54,2130 + def appendChild(57,2191 + def insertText(65,2365 + def insertBefore(77,2788 + def removeChild(89,3160 + def reparentChildren(97,3347 + def cloneNode(110,3815 + def hasContent(116,4028 +class ActiveFormattingElements(122,4175 + def append(123,4213 + def nodesEqual(136,4617 +class TreeBuilder(146,4835 + def __init__(172,5483 + def reset(184,5832 + def elementInScope(196,6158 + def reconstructActiveFormattingElements(218,6956 + def clearActiveFormattingElements(264,8608 + def elementInActiveFormattingElements(269,8827 + def insertRoot(283,9358 + def insertDoctype(288,9521 + def insertComment(296,9767 + def createElement(301,9948 + def _getInsertFromTable(309,10260 + def _setInsertFromTable(312,10333 + def insertElementNormal(323,10765 + def insertElementTable(333,11191 + def insertText(349,11892 + def getTableMisnestedNodePosition(364,12543 + def generateImpliedEndTags(390,13564 + def getDocument(400,14044 + def getFragment(404,14137 + def testSerializer(411,14357 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py,28 +def getTreeBuilder(39,1457 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treebuilders/dom.py,1146 +def getDomBuilder(14,281 + class AttrList(17,348 + def __init__(18,384 + def __iter__(21,457 + def __setitem__(24,542 + def __len__(32,847 + def items(35,923 + def values(38,1006 + def __getitem__(41,1091 + def __delitem__(47,1288 + class NodeBuilder(53,1476 + def __init__(54,1510 + def appendChild(61,1787 + def insertText(65,1907 + def insertBefore(72,2194 + def removeChild(76,2342 + def reparentChildren(81,2522 + def getAttributes(88,2800 + def setAttributes(91,2876 + def cloneNode(106,3571 + def hasContent(109,3663 + def getNameTuple(112,3742 + class TreeBuilder(120,3978 + def documentClass(121,4053 + def insertDoctype(125,4209 + def elementClass(136,4630 + def commentClass(144,4926 + def fragmentClass(147,5026 + def appendChild(150,5126 + def testSerializer(153,5211 + def getDocument(156,5298 + def getFragment(159,5358 + def insertText(162,5452 + def testSerializer(178,6191 + def serializeElement(182,6269 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/sanitizer.py,215 +class Filter(707,17685 + def __init__(709,17796 + def __iter__(764,20159 + def sanitize_token(781,20977 + def allowed_token(799,21637 + def disallowed_token(849,24185 + def sanitize_css(869,24936 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/lint.py,71 +class Filter(12,261 + def __init__(18,402 + def __iter__(29,731 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py,67 +def _attr_key(8,126 +class Filter(19,451 + def __iter__(21,525 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py,68 +class Filter(6,89 + def __init__(8,188 + def __iter__(19,438 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/base.py,94 +class Filter(4,69 + def __init__(5,91 + def __iter__(8,153 + def __getattr__(11,211 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/whitespace.py,75 +class Filter(12,253 + def __iter__(16,439 +def collapse_spaces(37,1148 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/optionaltags.py,133 +class Filter(6,89 + def slider(8,170 + def __iter__(18,495 + def is_optional_start(31,972 + def is_optional_end(88,4014 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/_base.py,142 +class Trie(6,102 + def keys(9,164 + def has_keys_with_prefix(18,395 + def longest_prefix(25,561 + def longest_prefix_item(35,801 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/py.py,208 +class Trie(9,175 + def __init__(10,196 + def __contains__(19,489 + def __len__(22,556 + def __iter__(25,611 + def __getitem__(28,668 + def keys(31,732 + def has_keys_with_prefix(54,1362 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/datrie.py,275 +class Trie(9,178 + def __init__(10,199 + def __contains__(22,573 + def __len__(25,640 + def __iter__(28,695 + def __getitem__(31,756 + def keys(34,820 + def has_keys_with_prefix(37,893 + def longest_prefix(40,993 + def longest_prefix_item(43,1081 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/_inputstream.py,1718 +class BufferedStream(57,2605 + def __init__(64,2845 + def tell(69,2988 + def seek(76,3159 + def read(85,3405 + def _bufferedBytes(94,3720 + def _readStream(97,3807 + def _readFromBuffer(104,4001 +def HTMLInputStream(131,4955 +class HTMLUnicodeInputStream(154,5838 + def __init__(164,6134 + def reset(196,7242 + def openStream(210,7661 + def _position(224,8000 + def position(235,8409 + def char(240,8591 + def readChunk(255,9054 + def characterErrorsUCS4(293,10163 + def characterErrorsUCS2(297,10320 + def charsUntil(320,11287 + def unget(367,13085 +class HTMLBinaryInputStream(384,13811 + def __init__(392,14091 + def reset(434,15785 + def openStream(438,15948 + def determineEncoding(457,16429 + def changeEncoding(519,18871 + def detectBOM(535,19570 + def detectEncodingMeta(569,20841 +class EncodingBytes(584,21309 + def __new__(588,21511 + def __init__(592,21632 + def __iter__(596,21733 + def __next__(599,21778 + def next(607,21987 + def previous(611,22060 + def setPosition(620,22283 + def getPosition(625,22427 + def getCurrentByte(635,22682 + def skip(640,22810 + def skipUntil(652,23198 + def matchBytes(663,23469 + def jumpTo(674,23902 +class EncodingParser(688,24450 + def __init__(691,24555 + def getEncoding(696,24721 + def handleComment(719,25489 + def handleMeta(723,25592 + def handlePossibleStartTag(759,27237 + def handlePossibleEndTag(762,27321 + def handlePossibleTag(766,27426 + def handleOther(789,28232 + def getAttribute(792,28298 +class ContentAttrParser(869,30616 + def __init__(870,30649 + def parse(874,30744 +def lookupEncoding(908,32049 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.py,12759 +def parse(27,702 +def parseFragment(50,1440 +def method_decorator_metaclass(75,2281 + class Decorated(76,2323 + def __new__(77,2350 +class HTMLParser(87,2727 + def __init__(94,2858 + def _parse(125,4060 + def reset(139,4493 + def documentEncoding(174,5714 + def isHTMLIntegrationPoint(183,6022 + def isMathMLTextIntegrationPoint(193,6502 + def mainLoop(196,6643 + def normalizedTokens(263,9912 + def parse(267,10027 + def parseFragment(292,10936 + def parseError(320,11954 + def normalizeToken(328,12301 + def adjustMathMLAttributes(339,12714 + def adjustSVGAttributes(342,12817 + def adjustForeignAttributes(345,12914 + def reparseTokenNormal(348,13022 + def resetInsertionMode(352,13133 + def parseRCDataRawtext(396,14607 +def getPhases(413,15082 + def log(414,15104 + def wrapped(419,15298 + def getMetaclass(439,16162 + class Phase(446,16379 + def __init__(450,16532 + def processEOF(454,16637 + def processComment(457,16706 + def processDoctype(462,16927 + def processCharacters(465,17026 + def processSpaceCharacters(468,17119 + def processStartTag(471,17217 + def startTagHtml(474,17322 + def processEndTag(484,17889 + class InitialPhase(487,17990 + def processSpaceCharacters(488,18021 + def processComment(491,18088 + def processDoctype(494,18193 + def anythingElse(589,23564 + def processCharacters(593,23708 + def processStartTag(598,23879 + def processEndTag(604,24112 + def processEOF(610,24341 + class BeforeHtmlPhase(615,24495 + def insertHtmlElement(617,24554 + def processEOF(622,24743 + def processComment(626,24835 + def processSpaceCharacters(629,24940 + def processCharacters(632,25007 + def processStartTag(636,25114 + def processEndTag(642,25308 + class BeforeHeadPhase(650,25642 + def __init__(651,25676 + def processEOF(665,26198 + def processSpaceCharacters(669,26320 + def processCharacters(672,26387 + def startTagHtml(676,26524 + def startTagHead(679,26635 + def startTagOther(684,26842 + def endTagImplyHead(688,26975 + def endTagOther(692,27110 + class InHeadPhase(696,27274 + def __init__(697,27304 + def processEOF(720,28267 + def processCharacters(724,28354 + def startTagHtml(728,28456 + def startTagHead(731,28567 + def startTagBaseLinkCommand(734,28679 + def startTagMeta(739,28866 + def startTagTitle(760,30041 + def startTagNoFramesStyle(763,30142 + def startTagNoscript(767,30330 + def startTagScript(774,30615 + def startTagOther(780,30897 + def endTagHead(784,30995 + def endTagHtmlBodyBr(789,31227 + def endTagOther(793,31328 + def anythingElse(796,31449 + class InHeadNoscriptPhase(799,31535 + def __init__(800,31573 + def processEOF(816,32247 + def processComment(821,32393 + def processCharacters(824,32505 + def processSpaceCharacters(829,32667 + def startTagHtml(832,32795 + def startTagBaseLinkCommand(835,32906 + def startTagHeadNoscript(838,33028 + def startTagOther(841,33160 + def endTagNoscript(846,33352 + def endTagBr(851,33593 + def endTagOther(856,33780 + def anythingElse(859,33901 + class AfterHeadPhase(863,34046 + def __init__(864,34079 + def processEOF(881,34885 + def processCharacters(885,34972 + def startTagHtml(889,35074 + def startTagBody(892,35185 + def startTagFrameset(897,35372 + def startTagFromHead(901,35524 + def startTagHead(911,36007 + def startTagOther(914,36131 + def endTagHtmlBodyBr(918,36229 + def endTagOther(922,36330 + def anythingElse(925,36451 + class InBodyPhase(930,36660 + def __init__(933,36822 + def isMatchingFormattingElement(1004,40596 + def addFormattingElement(1010,40841 + def processEOF(1027,41520 + def processSpaceCharactersDropNewline(1037,42002 + def processCharacters(1050,42648 + def processSpaceCharactersNonPre(1062,43170 + def startTagProcessInHead(1066,43334 + def startTagBody(1069,43454 + def startTagFrameset(1080,44002 + def startTagCloseP(1094,44726 + def startTagPreListing(1099,44926 + def startTagForm(1106,45254 + def startTagListItem(1115,45668 + def startTagPlaintext(1137,46549 + def startTagHeading(1143,46831 + def startTagA(1151,47232 + def startTagFormatting(1164,47957 + def startTagNobr(1168,48108 + def startTagButton(1178,48646 + def startTagAppletMarqueeObject(1189,49170 + def startTagXmp(1195,49433 + def startTagTable(1202,49751 + def startTagVoidFormatting(1210,50120 + def startTagInput(1217,50409 + def startTagParamSource(1225,50787 + def startTagHr(1230,50970 + def startTagImage(1238,51302 + def startTagIsIndex(1246,51747 + def startTagTextarea(1277,53322 + def startTagIFrame(1283,53609 + def startTagNoscript(1287,53734 + def startTagRawtext(1293,53920 + def startTagOpt(1297,54099 + def startTagSelect(1303,54383 + def startTagRpRt(1317,55148 + def startTagMath(1324,55438 + def startTagSvg(1336,56022 + def startTagMisplaced(1348,56599 + def startTagOther(1357,57064 + def endTagP(1361,57208 + def endTagBody(1374,57877 + def endTagHtml(1392,58889 + def endTagBlock(1398,59141 + def endTagForm(1412,59832 + def endTagListItem(1425,60446 + def endTagHeading(1442,61226 + def endTagFormatting(1457,61885 + def endTagAppletMarqueeObject(1620,69425 + def endTagBr(1632,70017 + def endTagOther(1639,70377 + class TextPhase(1653,71083 + def __init__(1654,71111 + def processCharacters(1662,71491 + def processEOF(1665,71584 + def startTagOther(1672,71893 + def endTagScript(1675,72031 + def endTagOther(1682,72325 + class InTablePhase(1686,72463 + def __init__(1688,72564 + def clearStackToTableContext(1712,73670 + def processEOF(1721,74133 + def processSpaceCharacters(1728,74367 + def processCharacters(1734,74649 + def insertText(1740,74921 + def startTagCaption(1747,75231 + def startTagColgroup(1753,75487 + def startTagCol(1758,75686 + def startTagRowGroup(1762,75825 + def startTagImplyTbody(1767,76022 + def startTagTable(1771,76165 + def startTagStyleScript(1778,76501 + def startTagInput(1781,76619 + def startTagForm(1791,77057 + def startTagOther(1798,77365 + def endTagTable(1805,77700 + def endTagIgnore(1821,78494 + def endTagOther(1824,78616 + class InTableTextPhase(1831,78945 + def __init__(1832,78980 + def flushCharacters(1837,79146 + def processComment(1846,79567 + def processEOF(1851,79720 + def processCharacters(1856,79861 + def processSpaceCharacters(1861,80018 + def processStartTag(1866,80194 + def processEndTag(1871,80348 + class InCaptionPhase(1876,80500 + def __init__(1878,80605 + def ignoreEndTagCaption(1896,81381 + def processEOF(1899,81497 + def processCharacters(1902,81582 + def startTagTableElement(1905,81700 + def startTagOther(1913,82054 + def endTagCaption(1916,82166 + def endTagTable(1934,83112 + def endTagIgnore(1941,83376 + def endTagOther(1944,83498 + class InColumnGroupPhase(1947,83606 + def __init__(1950,83715 + def ignoreEndTagColgroup(1965,84255 + def processEOF(1968,84357 + def processCharacters(1978,84725 + def startTagCol(1984,84948 + def startTagOther(1989,85123 + def endTagColgroup(1995,85342 + def endTagCol(2004,85676 + def endTagOther(2007,85779 + class InTableBodyPhase(2013,85996 + def __init__(2015,86102 + def clearStackToTableBodyContext(2035,86986 + def processEOF(2045,87496 + def processSpaceCharacters(2048,87582 + def processCharacters(2051,87711 + def startTagTr(2054,87830 + def startTagTableCell(2059,88019 + def startTagTableOther(2065,88280 + def startTagOther(2079,88939 + def endTagTableRowGroup(2082,89052 + def endTagTable(2091,89492 + def endTagIgnore(2104,90074 + def endTagOther(2108,90245 + class InRowPhase(2111,90354 + def __init__(2113,90451 + def clearStackToTableRowContext(2133,91382 + def ignoreEndTagTr(2139,91712 + def processEOF(2143,91837 + def processSpaceCharacters(2146,91923 + def processCharacters(2149,92052 + def startTagTableCell(2152,92171 + def startTagTableOther(2158,92429 + def startTagOther(2165,92712 + def endTagTr(2168,92825 + def endTagTable(2178,93206 + def endTagTableRowGroup(2186,93556 + def endTagIgnore(2193,93817 + def endTagOther(2197,93987 + class InCellPhase(2200,94096 + def __init__(2202,94195 + def closeCell(2219,94973 + def processEOF(2226,95272 + def processCharacters(2229,95357 + def startTagTableOther(2232,95475 + def startTagOther(2242,95857 + def endTagTableCell(2245,95969 + def endTagIgnore(2262,96834 + def endTagImply(2265,96956 + def endTagOther(2273,97232 + class InSelectPhase(2276,97340 + def __init__(2277,97372 + def processEOF(2298,98264 + def processCharacters(2304,98472 + def startTagOption(2309,98630 + def startTagOptgroup(2315,98894 + def startTagSelect(2322,99193 + def startTagInput(2326,99358 + def startTagScript(2334,99686 + def startTagOther(2337,99799 + def endTagOption(2341,99969 + def endTagOptgroup(2348,100262 + def endTagSelect(2361,100863 + def endTagOther(2372,101311 + class InSelectInTablePhase(2376,101477 + def __init__(2377,101516 + def processEOF(2392,102118 + def processCharacters(2395,102205 + def startTagTable(2398,102325 + def startTagOther(2403,102564 + def endTagTable(2406,102678 + def endTagOther(2412,102994 + class InForeignContentPhase(2415,103104 + def __init__(2425,103766 + def adjustSVGTagNames(2428,103856 + def processCharacters(2469,106112 + def processStartTag(2477,106460 + def processEndTag(2504,107910 + class AfterBodyPhase(2530,109109 + def __init__(2531,109142 + def processEOF(2542,109560 + def processComment(2546,109635 + def processCharacters(2551,109887 + def startTagHtml(2556,110083 + def startTagOther(2559,110194 + def endTagHtml(2565,110451 + def endTagOther(2571,110699 + class InFramesetPhase(2577,110952 + def __init__(2579,111059 + def processEOF(2595,111668 + def processCharacters(2601,111878 + def startTagFrameset(2604,111989 + def startTagFrame(2607,112076 + def startTagNoframes(2611,112201 + def startTagOther(2614,112316 + def endTagFrameset(2618,112488 + def endTagOther(2630,113093 + class AfterFramesetPhase(2634,113261 + def __init__(2636,113366 + def processEOF(2650,113867 + def processCharacters(2654,113942 + def startTagNoframes(2657,114056 + def startTagOther(2660,114171 + def endTagHtml(2664,114346 + def endTagOther(2667,114457 + class AfterAfterBodyPhase(2671,114628 + def __init__(2672,114666 + def processEOF(2680,114939 + def processComment(2683,114987 + def processSpaceCharacters(2686,115092 + def processCharacters(2689,115220 + def startTagHtml(2694,115415 + def startTagOther(2697,115526 + def processEndTag(2703,115782 + class AfterAfterFramesetPhase(2709,116036 + def __init__(2710,116078 + def processEOF(2719,116404 + def processComment(2722,116452 + def processSpaceCharacters(2725,116557 + def processCharacters(2728,116685 + def startTagHtml(2731,116794 + def startTagNoFrames(2734,116905 + def startTagOther(2737,117020 + def processEndTag(2741,117190 +def adjust_attributes(2774,118349 +def impliedTagToken(2781,118627 +class ParseError(2789,118890 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/_ihatexml.py,563 +def charStringToList(103,5599 +def normaliseCharList(124,6228 +def missingRanges(143,6704 +def listToRegexpStr(154,7024 +def hexToInt(165,7329 +def escapeRegexp(169,7382 +class InfosetFilter(186,12710 + def __init__(189,12793 + def coerceAttribute(209,13492 + def coerceElement(220,13983 + def coerceComment(223,14055 + def coerceCharacters(233,14468 + def coercePubid(241,14775 + def toXmlName(252,15343 + def getReplacementCharacter(270,16074 + def fromXmlName(277,16297 + def escapeChar(282,16477 + def unescapeChar(287,16625 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/_tokenizer.py,3255 +class HTMLTokenizer(21,508 + def __init__(34,814 + def __iter__(49,1251 + def consumeNumberEntity(65,1928 + def consumeEntity(137,5379 + def processEntityInAttribute(217,9085 + def emitCurrentToken(222,9299 + def dataState(242,10296 + def entityDataState(271,11696 + def rcdataState(276,11813 + def characterReferenceInRcdata(305,13237 + def rawtextState(310,13367 + def scriptDataState(328,14108 + def plaintextState(346,14855 + def tagOpenState(361,15484 + def closeTagOpenState(396,17165 + def tagNameState(420,18353 + def rcdataLessThanSignState(442,19278 + def rcdataEndTagOpenState(453,19662 + def rcdataEndTagNameState(464,20057 + def rawtextLessThanSignState(492,21472 + def rawtextEndTagOpenState(503,21859 + def rawtextEndTagNameState(514,22257 + def scriptDataLessThanSignState(542,23674 + def scriptDataEndTagOpenState(556,24238 + def scriptDataEndTagNameState(567,24645 + def scriptDataEscapeStartState(595,26068 + def scriptDataEscapeStartDashState(605,26430 + def scriptDataEscapedState(615,26796 + def scriptDataEscapedDashState(635,27711 + def scriptDataEscapedDashDashState(655,28631 + def scriptDataEscapedLessThanSignState(677,29650 + def scriptDataEscapedEndTagOpenState(692,30296 + def scriptDataEscapedEndTagNameState(703,30723 + def scriptDataDoubleEscapeStartState(731,32160 + def scriptDataDoubleEscapedState(747,32869 + def scriptDataDoubleEscapedDashState(768,33919 + def scriptDataDoubleEscapedDashDashState(791,35095 + def scriptDataDoubleEscapedLessThanSignState(816,36364 + def scriptDataDoubleEscapeEndState(827,36791 + def beforeAttributeNameState(843,37504 + def attributeNameState(873,38897 + def afterAttributeNameState(927,41419 + def beforeAttributeValueState(959,42887 + def attributeValueDoubleQuotedState(993,44531 + def attributeValueSingleQuotedState(1012,45362 + def attributeValueUnQuotedState(1031,46191 + def afterAttributeValueState(1056,47409 + def selfClosingStartTagState(1076,48261 + def bogusCommentState(1094,49025 + def markupDeclarationOpenState(1109,49604 + def commentStartState(1154,51528 + def commentStartDashState(1177,52521 + def commentState(1200,53519 + def commentEndDashState(1218,54266 + def commentEndState(1237,55058 + def commentEndBangState(1268,56536 + def doctypeState(1291,57509 + def beforeDoctypeNameState(1308,58248 + def doctypeNameState(1334,59415 + def afterDoctypeNameState(1359,60623 + def afterDoctypePublicKeywordState(1410,62825 + def beforeDoctypePublicIdentifierState(1430,63723 + def doctypePublicIdentifierDoubleQuotedState(1459,65041 + def doctypePublicIdentifierSingleQuotedState(1483,66141 + def afterDoctypePublicIdentifierState(1507,67240 + def betweenDoctypePublicAndSystemIdentifiersState(1537,68712 + def afterDoctypeSystemKeywordState(1563,69847 + def beforeDoctypeSystemIdentifierState(1583,70745 + def doctypeSystemIdentifierDoubleQuotedState(1612,72064 + def doctypeSystemIdentifierSingleQuotedState(1636,73164 + def afterDoctypeSystemIdentifierState(1660,74263 + def bogusDoctypeState(1679,75049 + def cdataSectionState(1693,75465 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py,761 +def ensure_str(12,221 +class Root(21,385 + def __init__(22,405 + def __getitem__(49,1222 + def getnext(52,1289 + def __len__(55,1333 +class Doctype(59,1375 + def __init__(60,1398 + def getnext(69,1643 +class FragmentRoot(73,1710 + def __init__(74,1736 + def getnext(78,1885 +class FragmentWrapper(82,1930 + def __init__(83,1961 + def __getattr__(95,2330 + def getnext(98,2403 + def __getitem__(106,2616 + def __bool__(109,2678 + def getparent(112,2733 + def __str__(115,2779 + def __unicode__(118,2832 + def __len__(121,2889 +class TreeWalker(125,2943 + def __init__(126,2990 + def getNodeDetails(137,3380 + def getFirstChild(178,4971 + def getNextSibling(187,5241 + def getParentNode(203,5895 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree.py,199 +def getETreeBuilder(14,262 + class TreeWalker(18,415 + def getNodeDetails(32,974 + def getFirstChild(72,2548 + def getNextSibling(89,3131 + def getParentNode(109,3830 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py,73 +class TreeWalker(12,313 + def __iter__(13,348 + def tokens(27,806 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/base.py,495 +class TreeWalker(20,535 + def __init__(27,697 + def __iter__(35,835 + def error(38,894 + def emptyTag(48,1125 + def startTag(69,1778 + def endTag(86,2223 + def text(100,2562 + def comment(138,3935 + def doctype(148,4129 + def entity(165,4485 + def unknown(175,4683 +class NonRecursiveTreeWalker(180,4819 + def getNodeDetails(181,4861 + def getFirstChild(184,4932 + def getNextSibling(187,5002 + def getParentNode(190,5073 + def __iter__(193,5143 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py,86 +def getTreeWalker(21,583 +def concatenateCharacterTokens(65,2275 +def pprint(80,2795 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/dom.py,148 +class TreeWalker(8,115 + def getNodeDetails(9,162 + def getFirstChild(36,1211 + def getNextSibling(39,1278 + def getParentNode(42,1347 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/constants.py,70 +class DataLossWarning(2941,83349 +class _ReparseException(2946,83473 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py,21 +def to_genshi(7,166 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treeadapters/sax.py,19 +def to_sax(13,354 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/models.py,1484 +class RequestEncodingMixin(60,1948 + def path_url(62,1998 + def _encode_params(83,2355 + def _encode_files(110,3367 +class RequestHooksMixin(174,5659 + def register_hook(175,5692 + def deregister_hook(186,6108 +class Request(198,6407 + def __init__(226,7600 + def __repr__(251,8434 + def prepare(254,8507 +class PreparedRequest(272,9013 + def __init__(290,9544 + def prepare(307,10206 + def __repr__(325,10928 + def copy(328,11009 + def prepare_method(339,11367 + def _get_idna_encoded_host(346,11599 + def prepare_url(355,11836 + def prepare_headers(441,15037 + def prepare_body(452,15437 + def prepare_content_length(521,17983 + def prepare_auth(534,18655 + def prepare_cookies(556,19389 + def prepare_hooks(576,20278 +class Response(586,20641 + def __init__(596,20932 + def __enter__(643,22850 + def __exit__(646,22896 + def __getstate__(649,22949 + def __setstate__(657,23235 + def __repr__(665,23480 + def __bool__(668,23559 + def __nonzero__(678,23985 + def __iter__(688,24414 + def ok(693,24550 + def is_redirect(708,25094 + def is_permanent_redirect(715,25388 + def next(720,25639 + def apparent_encoding(725,25799 + def iter_content(729,25959 + def generate(746,26799 + def iter_lines(784,28237 + def content(816,29218 + def text(836,29910 + def json(873,31193 + def links(900,32435 + def raise_for_status(917,32817 + def close(942,33827 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py,562 + def SOCKSProxyManager(46,1854 +class BaseAdapter(55,2068 + def __init__(58,2133 + def send(61,2202 + def close(79,3195 +class HTTPAdapter(84,3300 + def __init__(113,4623 + def __getstate__(131,5289 + def __setstate__(134,5394 + def init_poolmanager(146,5848 + def proxy_manager_for(166,6808 + def cert_verify(203,8270 + def build_response(255,10418 + def get_connection(292,11748 + def close(319,12888 + def request_url(329,13196 + def add_headers(358,14328 + def proxy_headers(372,14949 + def send(394,15784 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/api.py,154 +def request(16,216 +def get(63,3031 +def options(78,3533 +def head(91,3901 +def post(104,4260 +def put(119,4834 +def patch(134,5383 +def delete(149,5938 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/auth.py,687 +def _basic_auth_str(28,528 +class AuthBase(72,2065 + def __call__(75,2153 +class HTTPBasicAuth(79,2248 + def __init__(82,2354 + def __eq__(86,2465 + def __ne__(92,2652 + def __call__(95,2715 +class HTTPProxyAuth(100,2844 + def __call__(103,2953 +class HTTPDigestAuth(108,3088 + def __init__(111,3196 + def init_per_thread_state(117,3403 + def build_digest_header(127,3824 + def md5_utf8(145,4454 + def sha_utf8(151,4681 + def sha256_utf8(157,4913 + def sha512_utf8(163,5153 + def handle_redirect(229,7372 + def handle_401(234,7548 + def __call__(278,9125 + def __eq__(298,9957 + def __ne__(304,10144 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py,880 +def merge_setting(49,1452 +def merge_hooks(80,2502 +class SessionRedirectMixin(95,3020 + def get_redirect_target(97,3057 + def should_strip_auth(118,4230 + def resolve_redirects(143,5484 + def rebuild_auth(256,10211 + def rebuild_proxies(276,11072 + def rebuild_method(317,12569 +class Session(340,13443 + def __init__(365,14067 + def __enter__(420,16176 + def __exit__(423,16222 + def prepare_request(426,16275 + def request(466,17809 + def get(537,20902 + def options(548,21284 + def head(559,21678 + def post(570,22064 + def put(583,22668 + def patch(595,23165 + def delete(607,23668 + def send(617,24008 + def merge_environment_settings(690,26577 + def get_adapter(719,27746 + def close(733,28174 + def mount(738,28317 + def __getstate__(749,28694 + def __setstate__(753,28821 +def session(758,28939 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/help.py,65 +def _implementation(26,471 +def info(59,1943 +def main(113,3418 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/structures.py,428 +class CaseInsensitiveDict(13,171 + def __init__(40,1208 + def __setitem__(46,1373 + def __getitem__(51,1563 + def __delitem__(54,1639 + def __iter__(57,1709 + def __len__(60,1810 + def lower_items(63,1866 + def __eq__(71,2086 + def copy(80,2374 + def __repr__(83,2452 +class LookupDict(87,2517 + def __init__(90,2578 + def __repr__(94,2682 + def __getitem__(97,2754 + def get(102,2896 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/hooks.py,52 +def default_hooks(17,232 +def dispatch_hook(23,331 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/cookies.py,1569 +class MockRequest(25,458 + def __init__(37,995 + def get_type(42,1135 + def get_host(45,1185 + def get_origin_req_host(48,1254 + def get_full_url(51,1321 + def is_unverifiable(65,1895 + def has_header(68,1947 + def get_header(71,2048 + def add_header(74,2174 + def add_unredirected_header(78,2402 + def get_new_headers(81,2495 + def unverifiable(85,2574 + def origin_req_host(89,2655 + def host(93,2743 +class MockResponse(97,2796 + def __init__(104,3028 + def info(111,3243 + def getheaders(114,3293 +def extract_cookies_to_jar(118,3366 +def get_cookie_header(135,4052 +def remove_cookie_by_name(146,4311 +class CookieConflictError(165,4911 +class RequestsCookieJar(171,5128 + def get(189,5891 + def set(201,6326 + def iterkeys(218,6976 + def keys(227,7228 + def itervalues(235,7432 + def values(244,7688 + def iteritems(252,7897 + def items(261,8165 + def list_domains(270,8485 + def list_paths(278,8748 + def multiple_domains(286,8995 + def get_dict(299,9413 + def __contains__(315,9956 + def __getitem__(321,10133 + def __setitem__(330,10483 + def __delitem__(337,10780 + def set_cookie(343,10979 + def update(348,11284 + def _find(356,11600 + def _find_no_duplicates(376,12449 + def __getstate__(401,13708 + def __setstate__(408,13944 + def copy(414,14183 + def get_policy(421,14391 +def _copy_cookie_jar(426,14500 +def create_cookie(441,14878 +def morsel_to_cookie(477,15945 +def cookiejar_from_dict(508,16911 +def merge_cookies(529,17669 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py,66 +def check_compatibility(49,1003 +def _check_cryptography(74,1838 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/status_codes.py,42 +def _init(104,3608 + def doc(111,3833 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/utils.py,1298 + def proxy_bypass_registry(47,1190 + def proxy_bypass(86,2794 +def dict_to_sequence(98,3149 +def super_len(107,3299 +def get_netrc_auth(168,5502 +def guess_filename(219,7180 +def extract_zipped_paths(227,7441 +def from_key_val_list(259,8602 +def to_key_val_list(284,9306 +def parse_list_header(312,10049 +def parse_dict_header(344,11110 +def unquote_header_value(379,12134 +def dict_from_cookiejar(404,13254 +def add_dict_to_cookiejar(419,13541 +def get_encodings_from_content(430,13841 +def _parse_content_type_header(450,14602 +def get_encoding_from_headers(475,15378 +def stream_decode_response_unicode(496,15854 +def iter_slices(514,16279 +def get_unicode_from_response(524,16562 +def unquote_unreserved(565,17629 +def requote_uri(589,18348 +def address_in_network(611,19171 +def dotted_netmask(626,19758 +def is_ipv4_address(637,20024 +def is_valid_cidr(648,20198 +def set_environ(673,20750 +def should_bypass_proxies(694,21349 +def get_environ_proxies(755,23529 +def select_proxy(767,23762 +def default_user_agent(793,24450 +def default_headers(802,24631 +def parse_header_links(814,24928 +def guess_json_utf(857,25939 +def prepend_scheme_if_needed(889,27114 +def get_auth_from_url(906,27760 +def check_header_validity(927,28288 +def urldefragauth(948,29011 +def rewind_body(965,29405 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/_internal_utils.py,58 +def to_native_string(14,254 +def unicode_is_ascii(30,722 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/exceptions.py,721 +class RequestException(12,200 + def __init__(17,329 +class HTTPError(28,803 +class ConnectionError(32,874 +class ProxyError(36,956 +class SSLError(40,1027 +class Timeout(44,1095 +class ConnectTimeout(53,1312 +class ReadTimeout(60,1503 +class URLRequired(64,1608 +class TooManyRedirects(68,1700 +class MissingSchema(72,1774 +class InvalidSchema(76,1885 +class InvalidURL(80,1983 +class InvalidHeader(84,2081 +class InvalidProxyURL(88,2191 +class ChunkedEncodingError(92,2273 +class ContentDecodingError(96,2395 +class StreamConsumedError(100,2502 +class RetryError(104,2621 +class UnrewindableBodyError(108,2697 +class RequestsWarning(114,2827 +class FileModeWarning(119,2907 +class RequestsDependencyWarning(124,3063 + +venv/lib/python2.7/site-packages/pip/_vendor/pyparsing.py,13207 + class82,3310 + class SimpleNamespace:SimpleNamespace144,4912 + def _ustr(186,7057 +def _xml_escape(219,8351 +class ParseBaseException(236,8928 + def __init__(240,9149 + def _from_exception(252,9470 + def __getattr__(259,9754 + def __str__(274,10356 + def __repr__(277,10502 + def markInputline(279,10555 + def __dir__(289,11007 +class ParseException(292,11090 + def explain(316,11732 +class ParseFatalException(385,14584 +class ParseSyntaxException(390,14762 +class RecursiveGrammarException(411,15724 + def __init__(415,15884 + def __str__(418,15979 +class _ParseResultsWithOffset(421,16077 + def __init__(422,16116 + def __getitem__(424,16173 + def __repr__(426,16229 + def setOffset(428,16286 +class ParseResults(431,16349 + def test(451,17102 + def __new__(474,17751 + def __init__(483,18097 + def __getitem__(522,19775 + def __setitem__(531,20082 + def __delitem__(544,20583 + def __contains__(565,21370 + def __len__(568,21439 + def __bool__(569,21493 + def __iter__(571,21578 + def __reversed__(572,21634 + def _iterkeys(573,21700 + def _itervalues(579,21875 + def _iteritems(582,21956 + def keys(605,22686 + def values(609,22859 + def items(613,23038 + def haskeys(617,23229 + def pop(622,23450 + def remove_first(635,24065 + def remove_LABEL(646,24642 + def get(677,25540 + def insert(700,26301 + def insert_locn(711,26676 + def append(721,27197 + def append_sum(730,27517 + def extend(736,27778 + def make_palindrome(745,28061 + def clear(755,28479 + def __getattr__(762,28634 + def __add__(776,29023 + def __iadd__(781,29122 + def __radd__(797,29777 + def __repr__(805,30058 + def __str__(808,30164 + def _asStringList(811,30305 + def asList(822,30630 + def asDict(839,31399 + def toItem(864,32480 + def copy(875,32802 + def asXML(886,33151 + def __lookup(947,35431 + def getName(954,35617 + def dump(994,36916 + def pprint(1042,38731 + def __getstate__(1070,39681 + def __setstate__(1077,39932 + def __getnewargs__(1090,40288 + def __dir__(1093,40391 +def col 1098,40507 +def lineno(1112,41132 +def line(1124,41709 +def _defaultStartDebugAction(1134,42016 +def _defaultSuccessDebugAction(1137,42191 +def _defaultExceptionDebugAction(1140,42333 +def nullDebugAction(1143,42441 +def _trim_arity(1170,43388 + def extract_stack(1178,43659 + def extract_tb(1183,43955 + def wrapper(1200,44681 +class ParserElement(1234,45739 + def setDefaultWhitespaceChars(1240,45906 + def inlineLiteralsUsing(1256,46489 + def __init__(1277,47203 + def copy(1300,48307 + def setName(1329,49395 + def setResultsName(1344,49967 + def setBreak(1373,51120 + def breaker(1380,51404 + def setParseAction(1391,51864 + def addParseAction(1432,53885 + def addCondition(1442,54272 + def pa(1464,55501 + def setFailAction(1471,55759 + def _skipIgnorables(1484,56382 + def preParse(1497,56790 + def parseImpl(1509,57123 + def postParse(1512,57205 + def _parseNoCache(1516,57300 + def tryParse(1599,61425 + def canParseNext(1605,61652 + class _UnboundedCache(1613,61858 + def __init__(1614,61893 + def get(1618,62001 + def set(1621,62086 + def clear(1624,62161 + def cache_len(1627,62221 + class _FifoCache(1636,62541 + def __init__(1637,62575 + def get(1642,62714 + def set(1645,62807 + def clear(1653,63087 + def cache_len(1656,63155 + class _FifoCache(1665,63476 + def __init__(1666,63510 + def get(1672,63692 + def set(1675,63785 + def clear(1681,64017 + def cache_len(1685,64122 + def _parseCache(1700,64902 + def resetCache(1726,66007 + def enablePackrat(1732,66212 + def parseString(1766,67889 + def scanString(1818,70089 + def transformString(1890,72815 + def searchString(1936,74755 + def split(1966,76122 + def __add__(1991,77059 + def __radd__(2014,77881 + def __sub__(2026,78380 + def __rsub__(2038,78884 + def __mul__(2050,79383 + def makeOptionalList(2099,81761 + def __rmul__(2118,82412 + def __or__(2121,82479 + def __ror__(2133,82973 + def __xor__(2145,83471 + def __rxor__(2157,83950 + def __and__(2169,84449 + def __rand__(2181,84932 + def __invert__(2193,85431 + def __call__(2199,85577 + def suppress(2219,86252 + def leaveWhitespace(2226,86468 + def setWhitespaceChars(2235,86843 + def parseWithTabs(2244,87088 + def ignore(2253,87420 + def setDebugActions(2277,88231 + def setDebug(2287,88677 + def __str__(2330,90616 + def __repr__(2333,90667 + def streamline(2336,90721 + def checkRecursion(2341,90830 + def validate(2344,90894 + def parseFile(2350,91094 + def __eq__(2370,91898 + def __ne__(2378,92183 + def __hash__(2381,92247 + def __req__(2384,92302 + def __rne__(2387,92361 + def matches(2390,92426 + def runTests(2410,93105 +class Token(2556,98693 + def __init__(2560,98821 +class Empty(2564,98902 + def __init__(2567,98972 +class NoMatch(2574,99135 + def __init__(2577,99203 + def parseImpl(2584,99411 +class Literal(2588,99534 + def __init__(2602,100033 + def parseImpl(2621,100842 +class Keyword(2629,101196 + def __init__(2656,102170 + def parseImpl(2677,103018 + def copy(2691,103892 + def setDefaultKeywordChars(2697,104040 +class CaselessLiteral(2702,104187 + def __init__(2713,104588 + def parseImpl(2720,104870 +class CaselessKeyword(2725,105116 + def __init__(2735,105372 +class CloseMatch(2738,105516 + def __init__(2771,106988 + def parseImpl(2780,107379 +class Word(2807,108352 + def __init__(2860,110772 + def parseImpl(2914,112908 + def __str__(2949,114117 + def charsAsStr(2958,114280 +class Char(2972,114726 + def __init__(2977,114902 +class Regex(2983,115112 + def __init__(2998,115894 + def parseImpl(3038,117398 + def __str__(3056,117942 + def sub(3067,118192 + def pa(3089,119063 + def pa(3092,119151 +class QuotedString(3096,119271 + def __init__(3135,120889 + def parseImpl(3200,123728 + def __str__(3235,124957 +class CharsNotIn(3247,125271 + def __init__(3267,126071 + def parseImpl(3293,126815 + def __str__(3310,127360 +class White(3324,127736 + def __init__(3358,128967 + def parseImpl(3378,129598 +class _PositionToken(3394,130130 + def __init__(3395,130159 +class GoToColumn(3401,130344 + def __init__(3405,130486 + def preParse(3409,130587 + def parseImpl(3418,130945 +class LineStart(3427,131269 + def __init__(3449,131746 + def parseImpl(3453,131861 +class LineEnd(3458,132046 + def __init__(3462,132172 + def parseImpl(3467,132369 +class StringStart(3478,132765 + def __init__(3482,132887 + def parseImpl(3486,133004 +class StringEnd(3493,133311 + def __init__(3496,133421 + def parseImpl(3500,133534 +class WordStart(3510,133898 + def __init__(3519,134320 + def parseImpl(3524,134501 +class WordEnd(3531,134781 + def __init__(3539,135175 + def parseImpl(3545,135388 +class ParseExpression(3554,135721 + def __init__(3558,135863 + def __getitem__(3578,136660 + def append(3581,136722 + def leaveWhitespace(3586,136837 + def ignore(3595,137185 + def __str__(3607,137631 + def streamline(3617,137918 + def setResultsName(3651,139263 + def validate(3655,139421 + def copy(3661,139595 +class And(3666,139735 + class _ErrorStop(3684,140314 + def __init__(3685,140343 + def __init__(3690,140517 + def streamline(3697,140842 + def parseImpl(3702,140999 + def __iadd__(3727,142149 + def checkRecursion(3732,142349 + def __str__(3739,142593 +class Or(3749,142823 + def __init__(3766,143308 + def streamline(3773,143561 + def parseImpl(3778,143709 + def __ixor__(3816,145110 + def __str__(3821,145309 + def checkRecursion(3830,145540 +class MatchFirst(3836,145726 + def __init__(3853,146468 + def streamline(3861,146799 + def parseImpl(3866,146955 + def __ior__(3890,147921 + def __str__(3895,148127 + def checkRecursion(3904,148358 +class Each(3910,148544 + def __init__(3967,150491 + def streamline(3974,150766 + def parseImpl(3979,150924 + def __str__(4028,153095 + def checkRecursion(4037,153326 +class ParseElementEnhance(4043,153512 + def __init__(4047,153667 + def parseImpl(4065,154487 + def leaveWhitespace(4071,154736 + def ignore(4078,154937 + def streamline(4090,155417 + def checkRecursion(4096,155588 + def validate(4103,155894 + def __str__(4109,156081 +class FollowedBy(4120,156398 + def __init__(4142,157314 + def parseImpl(4146,157428 +class PrecededBy(4152,157601 + def __init__(4180,158787 + def parseImpl(4202,159603 +class NotAny(4227,160584 + def __init__(4250,161583 + def parseImpl(4257,161898 + def __str__(4262,162097 +class _MultipleMatch(4271,162305 + def __init__(4272,162348 + def parseImpl(4280,162664 +class OneOrMore(4309,163785 + def __str__(4335,164960 +class ZeroOrMore(4344,165170 + def __init__(4355,165578 + def parseImpl(4359,165719 + def __str__(4365,165941 +class _NullToken(4374,166151 + def __bool__(4375,166177 + def __str__(4378,166249 +class Optional(4382,166326 + def __init__(4419,167213 + def parseImpl(4425,167455 + def __str__(4439,168046 +class SkipTo(4448,168253 + def __init__(4506,170851 + def parseImpl(4519,171364 +class Forward(4566,173087 + def __init__(4593,173997 + def __lshift__(4596,174098 + def __ilshift__(4609,174634 + def leaveWhitespace(4612,174698 + def streamline(4616,174788 + def validate(4623,174983 + def __str__(4630,175218 + def copy(4647,175782 +class _ForwardNoRecurse(4655,175973 + def __str__(4656,176007 +class TokenConverter(4659,176054 + def __init__(4663,176195 +class Combine(4667,176341 + def __init__(4685,177108 + def ignore(4695,177521 + def postParse(4702,177709 +class Group(4712,178057 + def __init__(4727,178608 + def postParse(4731,178726 +class Dict(4734,178809 + def __init__(4773,180447 + def postParse(4777,180553 +class Suppress(4802,181535 + def postParse(4824,182181 + def suppress(4827,182253 +class OnlyOnce(4831,182301 + def __init__(4834,182404 + def __call__(4837,182516 + def reset(4843,182712 +def traceParseAction(4846,182762 + def remove_duplicate_chars(4859,183219 + def z(4872,183702 +def delimitedList(4894,184350 +def countedArray(4915,185382 + def countFieldParseAction(4939,186289 +def _flatten(4951,186737 +def matchPreviousLiteral(4960,186906 + def copyTokenToRepeater(4976,187533 +def matchPreviousExpr(4990,187956 + def copyTokenToRepeater(5008,188648 + def mustMatchTheseTokens(5010,188727 +def _escapeRegexRangeChars(5019,189098 +def oneOf(5027,189299 +def dictOf(5107,192175 +def originalTextFor(5146,193773 + def extractText(5182,195317 +def ungroup(5188,195530 +def locatedExpr(5194,195730 +def srange(5237,197496 +def matchOnlyAtCol(5269,198816 + def verifyCol(5273,198961 +def replaceWith(5278,199131 +def removeQuotes(5293,199641 +def tokenMap(5308,200233 + def pa(5344,201627 +def _makeTags(5364,202290 +def makeHTMLTags(5393,203869 +def makeXMLTags(5417,204787 +def withAttribute(5425,205048 + def pa(5486,207315 +def withClass(5496,207808 +def infixNotation(5538,209024 + class _FB(5610,211874 + def parseImpl(5611,211901 +def nestedExpr(5677,215414 +def indentedBlock(5774,219793 + def A(5794,220608 + def BB(5801,220710 + def BBA(5803,220747 + def spam(5809,220839 + def eggs(5810,220862 + def checkPeerIndent(5855,222159 + def checkSubIndent(5863,222450 + def checkUnindent(5870,222655 +def replaceHTMLEntity(5897,223993 +class pyparsing_common:pyparsing_common5932,225733 + def convertToDate(6136,231951 + def cvt_fn(6153,232482 + def convertToDatetime(6161,232715 + def cvt_fn(6178,233320 + def stripHTMLTags(6196,234257 +class _lazyclassproperty(6225,235618 + def __init__(6226,235652 + def __get__(6231,235772 +class unicode_set(6242,236182 + class CJK(6253,236620 + def _get_chars_for_ranges(6259,236726 + def printables(6269,237029 + def alphas(6274,237216 + def nums(6279,237390 + def alphanums(6284,237565 +class pyparsing_unicode(6289,237680 + class Latin1(6295,237837 + class LatinA(6299,237983 + class LatinB(6303,238111 + class Greek(6307,238239 + class Cyrillic(6315,238678 + class Chinese(6319,238808 + class Japanese(6323,238956 + class Kanji(6327,239119 + class Hiragana(6331,239275 + class Katakana(6335,239419 + class Korean(6339,239564 + class CJK(6343,239782 + class Thai(6347,239933 + class Arabic(6351,240075 + class Hebrew(6355,240239 + class Devanagari(6359,240367 + +venv/lib/python2.7/site-packages/pip/_vendor/distro.py,1724 +def linux_distribution(95,3363 +def id(123,4542 +def name(201,7441 +def version(240,8641 +def version_parts(284,10388 +def major_version(301,10887 +def minor_version(314,11279 +def build_number(327,11672 +def like(340,12060 +def codename(357,12638 +def info(381,13375 +def os_release_info(425,14698 +def lsb_release_info(435,14997 +def distro_release_info(446,15317 +def uname_info(456,15632 +def os_release_attr(464,15854 +def lsb_release_attr(483,16348 +def distro_release_attr(503,16870 +def uname_attr(522,17380 +class cached_property(539,17807 + def __init__(544,18036 + def __get__(548,18117 +class LinuxDistribution(554,18305 + def __init__(572,19130 + def __repr__(650,22520 + def linux_distribution(665,23152 + def id(679,23628 + def normalize(684,23772 + def name(706,24477 + def version(727,25255 + def version_parts(761,26639 + def major_version(777,27217 + def minor_version(785,27451 + def build_number(793,27685 + def like(801,27909 + def codename(809,28129 + def info(820,28454 + def os_release_info(839,29028 + def lsb_release_info(848,29329 + def distro_release_info(858,29645 + def uname_info(868,29970 + def os_release_attr(876,30222 + def lsb_release_attr(885,30519 + def distro_release_attr(894,30830 + def uname_attr(903,31143 + def _os_release_info(913,31459 + def _parse_os_release_content(926,31877 + def _lsb_release_info(986,34541 + def _parse_lsb_release_content(1005,35203 + def _uname_info(1029,35920 + def _parse_uname_content(1040,36317 + def _distro_release_info(1057,36881 + def _parse_distro_release_file(1119,39927 + def _parse_distro_release_content(1142,40694 +def main(1173,41673 + +venv/lib/python2.7/site-packages/pip/_vendor/retrying.py,728 +def retry(26,761 + def wrap_simple(34,1098 + def wrapped_f(37,1153 + def wrap(45,1327 + def wrapped_f(48,1375 +class Retrying(56,1536 + def __init__(58,1561 + def stop_after_attempt(141,5040 + def stop_after_delay(145,5276 + def no_sleep(149,5508 + def fixed_sleep(153,5655 + def random_sleep(157,5833 + def incrementing_sleep(161,6081 + def exponential_sleep(171,6536 + def never_reject(180,6889 + def always_reject(183,6947 + def should_reject(186,7005 + def call(195,7262 +class Attempt(225,8509 + def __init__(232,8734 + def get(237,8912 + def __repr__(251,9405 +class RetryError(258,9684 + def __init__(263,9810 + def __str__(266,9890 + +venv/lib/python2.7/site-packages/pip/_vendor/msgpack/fallback.py,1269 + def dict_iteritems(12,197 + def dict_iteritems(18,321 + class StringIO(31,745 + def __init__(32,773 + def write(38,983 + def getvalue(44,1192 +def _check_type_strict(78,1885 +def _get_data_from_buffer(85,2038 +def unpack(103,2680 +def unpackb(111,2936 +class Unpacker(129,3409 + def __init__(209,6071 + def feed(286,9500 + def _consume(300,9991 + def _got_extradata(305,10185 + def _get_extradata(308,10264 + def read_bytes(311,10338 + def _read(314,10397 + def _reserve(321,10563 + def _read_header(353,11607 + def _unpack(565,20557 + def __iter__(627,22931 + def __next__(630,22976 + def skip(641,23217 + def unpack(648,23528 + def read_array_header(656,23871 + def read_map_header(664,24233 + def tell(672,24591 +class Packer(676,24648 + def __init__(717,26065 + def _pack(742,26978 + def pack(852,32053 + def pack_map_pairs(865,32405 + def pack_array_header(874,32689 + def pack_map_header(885,33015 + def pack_ext_type(896,33337 + def _pack_array_header(925,34420 + def _pack_map_header(934,34783 + def _pack_map_pairs(943,35143 + def _pack_raw_header(949,35365 + def _pack_bin_header(961,35832 + def bytes(973,36295 + def reset(976,36356 + +venv/lib/python2.7/site-packages/pip/_vendor/msgpack/__init__.py,101 +class ExtType(8,148 + def __new__(10,249 +def pack(31,966 +def packb(41,1161 +def unpack(50,1321 + +venv/lib/python2.7/site-packages/pip/_vendor/msgpack/exceptions.py,267 +class UnpackException(1,0 +class BufferFull(5,122 +class OutOfData(9,168 +class UnpackValueError(13,213 +class ExtraData(17,315 + def __init__(18,350 + def __str__(22,452 +class PackException(26,525 +class PackValueError(30,643 +class PackOverflowError(37,844 + +venv/lib/python2.7/site-packages/pip/_vendor/pytoml/core.py,92 +class TomlError(1,0 + def __init__(2,31 + def __str__(9,264 + def __repr__(12,377 + +venv/lib/python2.7/site-packages/pip/_vendor/pytoml/test.py,30 +def translate_to_test(11,184 + +venv/lib/python2.7/site-packages/pip/_vendor/pytoml/writer.py,135 +def dumps(11,179 +def _escape_string(20,398 + def flush(24,449 +def _escape_id(45,921 +def _format_value(51,1032 +def dump(73,1845 + +venv/lib/python2.7/site-packages/pip/_vendor/pytoml/parser.py,763 +def load(10,179 +def loads(13,377 + def error(26,741 + def process_value(29,817 + def merge_tables(75,2789 +class _Source:_Source90,3249 + def __init__(91,3264 + def last(98,3447 + def pos(101,3494 + def fail(104,3539 + def consume_dot(107,3594 + def expect_dot(115,3794 + def consume_eof(118,3869 + def expect_eof(124,3993 + def consume(127,4068 + def expect(135,4266 + def consume_re(138,4337 + def expect_re(147,4563 + def __enter__(150,4642 + def __exit__(153,4725 + def commit(160,4944 + def _expect(163,5022 + def _advance(168,5163 +def _p_ews(176,5466 +def _p_ws(180,5538 +def _p_basicstr_content(191,5901 +def _p_key(210,6516 +def _p_value(231,7235 +def _p_stmt(306,9338 +def _p_toml(330,9976 + +venv/lib/python2.7/site-packages/pip/_vendor/pytoml/utils.py,204 +def parse_rfc3339(6,137 +def parse_rfc3339_re(12,272 +def format_rfc3339(29,704 +class _TimeZone(48,1205 + def __init__(49,1239 + def utcoffset(52,1302 + def dst(55,1360 + def tzname(58,1404 + +venv/lib/python2.7/site-packages/pip/_vendor/pep517/check.py,119 +def check_build_sdist(22,510 +def check_build_wheel(79,2379 +def check(135,4221 +def main(168,5187 +def ansi(194,5683 + +venv/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py,449 +def tempdir(15,299 +class BackendUnavailable(23,400 +class UnsupportedOperation(27,519 +def default_subprocess_runner(31,639 +class Pep517HookCaller(40,894 + def __init__(46,1167 + def subprocess_runner(54,1521 + def get_requires_for_build_wheel(60,1696 + def prepare_metadata_for_build_wheel(74,2228 + def build_wheel(89,2865 + def get_requires_for_build_sdist(109,3693 + def build_sdist(123,4214 + def _call_hook(135,4623 + +venv/lib/python2.7/site-packages/pip/_vendor/pep517/envbuild.py,219 +def _load_pyproject(18,334 +class BuildEnvironment(25,578 + def __init__(53,1981 + def __enter__(56,2052 + def pip_install(88,3192 + def __exit__(97,3542 +def build_wheel(117,4101 +def build_sdist(139,4933 + +venv/lib/python2.7/site-packages/pip/_vendor/pep517/colorlog.py,158 +def _stderr_supports_color(28,745 +class LogFormatter(40,1047 + def __init__(50,1299 + def formatMessage(93,3255 +def enable_colourful_output(111,3900 + +venv/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py,447 +class BackendUnavailable(25,527 +def _build_backend(29,615 +def get_requires_for_build_wheel(43,995 +def prepare_metadata_for_build_wheel(57,1345 +def _dist_info_files(75,1940 +def _get_wheel_metadata_from_wheel(87,2279 +def _find_already_built_wheel(106,2992 +def build_wheel(128,3700 +def get_requires_for_build_sdist(144,4295 +class _DummyException(158,4645 +class GotUnsupportedOperation(162,4732 +def build_sdist(166,4844 +def main(184,5332 + +venv/lib/python2.7/site-packages/pip/_vendor/pep517/compat.py,105 + def write_json(7,135 + def read_json(11,270 + def write_json(17,402 + def read_json(21,538 + +venv/lib/python2.7/site-packages/pip/_vendor/pep517/build.py,100 +def tempdir(19,320 +def _do_build(27,430 +def mkdir_p(45,1085 +def build(56,1348 +def main(96,2350 + +venv/lib/python2.7/site-packages/pip/_vendor/__init__.py,22 +def vendored(29,1097 + +venv/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py,8991 +class PEP440Warning(118,2790 +def parse_version(125,2937 +def _declare_state(135,3128 +def __getstate__(140,3241 +def __setstate__(148,3391 +def _sget_dict(155,3533 +def _sset_dict(159,3578 +def _sget_object(164,3648 +def _sset_object(168,3703 +def get_supported_platform(175,3813 +class ResolutionError(249,6606 + def __repr__(252,6698 +class VersionConflict(256,6781 + def dist(267,7088 + def req(271,7151 + def report(274,7199 + def with_context(277,7271 +class ContextualVersionConflict(288,7587 + def required_by(297,7866 +class DistributionNotFound(301,7923 + def req(308,8157 + def requirers(312,8219 + def requirers_str(316,8287 + def report(321,8426 + def __str__(324,8498 +class UnknownExtra(328,8552 +def register_loader_type(342,8800 +def get_provider(352,9197 +def _macosx_vers(365,9683 +def _macosx_arch(381,10241 +def get_build_platform(385,10348 +def compatible_platforms(415,11341 +def run_script(461,13015 +def get_distribution(474,13338 +def load_entry_point(485,13735 +def get_entry_map(490,13921 +def get_entry_info(495,14087 +class IMetadataProvider:IMetadataProvider500,14261 + def has_metadata(501,14286 + def get_metadata(504,14389 + def get_metadata_lines(507,14472 + def metadata_isdir(513,14732 + def metadata_listdir(516,14840 + def run_script(519,14951 +class IResourceProvider(523,15073 + def get_resource_filename(526,15180 + def get_resource_stream(531,15351 + def get_resource_string(536,15525 + def has_resource(541,15703 + def resource_isdir(544,15800 + def resource_listdir(547,15917 +class WorkingSet:WorkingSet551,16038 + def __init__(554,16136 + def _build_master(568,16503 + def _build_from_requirements(588,17009 + def add_entry(609,17660 + def __contains__(624,18360 + def find(628,18516 + def iter_entry_points(644,19207 + def run_script(658,19733 + def __iter__(666,20042 + def add(683,20590 + def resolve(713,21777 + def find_plugins(805,25764 + def require(889,28970 + def subscribe(905,29613 + def _added_new(919,30005 + def __getstate__(923,30105 + def __setstate__(929,30264 +class _ReqExtras(937,30500 + def markers_pass(942,30598 +class Environment:Environment957,31047 + def __init__(960,31131 + def can_add(984,32187 + def remove(998,32690 + def scan(1002,32813 + def __getitem__(1017,33405 + def add(1028,33822 + def best_match(1037,34198 + def obtain(1065,35403 + def __iter__(1077,36024 + def __iadd__(1083,36218 + def __add__(1095,36649 +class ExtractionError(1107,36951 +class ResourceManager:ResourceManager1123,37341 + def __init__(1127,37442 + def resource_exists(1130,37498 + def resource_isdir(1134,37694 + def resource_filename(1140,37927 + def resource_stream(1146,38184 + def resource_string(1152,38442 + def resource_listdir(1158,38680 + def extraction_error(1164,38922 + def get_cache_path(1192,39865 + def _warn_unsafe_extraction_path(1218,41039 + def postprocess(1243,42183 + def set_extraction_path(1263,42988 + def cleanup_resources(1289,44206 +def get_default_cache(1303,44861 +def safe_name(1315,45158 +def safe_version(1323,45382 +def safe_extra(1335,45727 +def to_filename(1344,45997 +def invalid_marker(1352,46191 +def evaluate_marker(1366,46493 +class NullProvider:NullProvider1381,46930 + def __init__(1388,47090 + def get_resource_filename(1392,47257 + def get_resource_stream(1395,47376 + def get_resource_string(1398,47512 + def has_resource(1401,47640 + def has_metadata(1404,47752 + def get_metadata(1407,47861 + def get_metadata_lines(1413,48064 + def resource_isdir(1416,48157 + def metadata_isdir(1419,48273 + def resource_listdir(1422,48386 + def metadata_listdir(1425,48506 + def run_script(1430,48653 + def _has(1453,49691 + def _isdir(1458,49835 + def _listdir(1463,49981 + def _fn(1468,50129 + def _get(1473,50281 +class EggProvider(1484,50566 + def __init__(1487,50649 + def _setup_prefix(1491,50755 +class DefaultProvider(1506,51297 + def _has(1509,51399 + def _isdir(1512,51462 + def _listdir(1515,51526 + def get_resource_stream(1518,51589 + def _get(1521,51718 + def _register(1526,51836 +class EmptyProvider(1536,52115 + def _get(1543,52278 + def _listdir(1546,52323 + def __init__(1549,52372 +class ZipManifests(1556,52446 + def build(1562,52531 +class MemoizedZipManifests(1583,53132 + def load(1589,53299 +class ZipProvider(1603,53701 + def __init__(1609,53842 + def _zipinfo_name(1613,53970 + def _parts(1625,54461 + def zipinfo(1636,54872 + def get_resource_filename(1639,54957 + def _get_date_and_size(1653,55576 + def _extract_resource(1661,55843 + def _is_current(1716,57699 + def _get_eager_resources(1732,58318 + def _index(1741,58648 + def _has(1758,59189 + def _isdir(1762,59333 + def _listdir(1765,59423 + def _eager_to_zip(1768,59527 + def _resource_to_zip(1771,59646 +class FileMetadata(1778,59831 + def __init__(1790,60176 + def has_metadata(1793,60232 + def get_metadata(1796,60331 + def _warn_on_replacement(1805,60643 + def get_metadata_lines(1813,60993 +class PathMetadata(1817,61087 + def __init__(1837,61763 +class EggMetadata(1842,61870 + def __init__(1845,61946 +def register_finder(1860,62372 +def find_distributions(1870,62881 +def find_eggs_in_zip(1877,63131 +def find_nothing(1907,64282 +def _by_version_descending(1914,64389 + def _by_version(1929,65023 +def find_on_path(1940,65342 +def dist_factory(1972,66316 +class NoDists:NoDists1989,66777 + def __bool__(1997,66886 + def __call__(2002,66979 +def safe_listdir(2006,67039 +def distributions_from_metadata(2027,67649 +def non_empty_lines(2042,68075 +def resolve_egg_link(2053,68293 +def register_namespace_handler(2076,68943 + def namespace_handler(2082,69221 +def _handle_ns(2094,69747 +def _rebuild_mod_path(2125,70786 + def safe_sys_path_index(2132,71023 + def position_in_sys_path(2141,71235 +def declare_namespace(2159,71820 +def fixup_namespace_packages(2193,72879 +def file_ns_handler(2205,73284 +def null_ns_handler(2225,73990 +def normalize_path(2232,74125 +def _cygwin_patch(2237,74306 +def _normalize_cached(2248,74710 +def _is_egg_path(2256,74901 +def _is_unpacked_egg(2263,75034 +def _set_parent_ns(2273,75256 +def yield_lines(2281,75465 +class EntryPoint:EntryPoint2310,76138 + def __init__(2313,76219 + def __str__(2322,76555 + def __repr__(2330,76790 + def load(2333,76865 + def resolve(2348,77370 + def require(2358,77711 + def parse(2381,78642 + def _parse_extras(2401,79365 + def parse_group(2410,79604 + def parse_map(2423,80056 +def _remove_md5_fragment(2442,80693 +def _version_from_file(2451,80933 + def is_version_line(2456,81107 +class Distribution:Distribution2464,81368 + def __init__(2468,81479 + def from_location(2482,82017 + def _reload_version(2498,82686 + def hashcmp(2502,82752 + def __hash__(2512,83004 + def __lt__(2515,83063 + def __le__(2518,83137 + def __gt__(2521,83212 + def __ge__(2524,83286 + def __eq__(2527,83361 + def __ne__(2533,83572 + def key(2541,83867 + def parsed_version(2549,84053 + def _warn_legacy_version(2555,84233 + def version(2582,85332 + def _dep_map(2593,85709 + def _filter_extras(2605,86073 + def _build_dep_map(2626,86767 + def requires(2633,87030 + def _get_metadata(2647,87492 + def activate(2652,87646 + def egg_name(2663,88105 + def __repr__(2674,88461 + def __str__(2680,88608 + def __getattr__(2688,88855 + def __dir__(2694,89086 + def from_filename(2708,89441 + def as_requirement(2714,89641 + def load_entry_point(2723,90018 + def get_entry_map(2730,90311 + def get_entry_info(2742,90733 + def insert_on(2746,90903 + def check_version_conflict(2814,93258 + def has_version(2836,94221 + def clone(2844,94418 + def extras(2853,94798 +class EggInfoDistribution(2857,94875 + def _reload_version(2858,94916 +class DistInfoDistribution(2876,95618 + def _parsed_pkg_info(2885,95852 + def _dep_map(2895,96176 + def _compute_dependencies(2902,96371 + def reqs_for_extra(2911,96695 +def issue_warning(2933,97297 +class RequirementParseError(2946,97653 + def __str__(2947,97694 +def parse_requirements(2951,97754 +class Requirement(2973,98486 + def __init__(2974,98541 + def __eq__(2994,99375 + def __ne__(3000,99521 + def __contains__(3003,99584 + def __hash__(3015,100009 + def __repr__(3018,100061 + def parse(3022,100155 +def _always_object(3027,100231 +def _find_adapter(3037,100431 +def ensure_directory(3045,100683 +def _bypass_ensure_directory(3051,100857 +def split_sections(3064,101273 +def _mkstemp(3090,102158 +def _call_aside(3109,102740 +def _initialize(3115,102828 +def _initialize_master_working_set(3127,103129 +class PkgResourcesDeprecationWarning(3165,104419 + +venv/lib/python2.7/site-packages/pip/_vendor/pkg_resources/py31compat.py,23 +def _makedirs_31(8,65 + +venv/lib/python2.7/site-packages/pip/_vendor/ipaddress.py,5174 + def _compat_bytes_to_byte_vals(31,591 + def _compat_bytes_to_byte_vals(34,657 + def _compat_int_from_byte_vals(39,831 +def _compat_to_bytes(48,1072 + def _compat_bit_length(65,1756 + def _compat_bit_length(68,1823 +def _compat_range(74,1951 +class _TotalOrderingMixin(82,2079 + def __eq__(89,2358 + def __ne__(92,2422 + def __lt__(98,2582 + def __le__(101,2646 + def __gt__(107,2815 + def __ge__(116,3088 +class AddressValueError(127,3281 +class NetmaskValueError(131,3368 +def ip_address(135,3455 +def ip_network(171,4492 +def ip_interface(207,5592 +def v4_int_to_packed(242,6577 +def v6_int_to_packed(262,7142 +def _split_optional_netmask(278,7601 +def _find_address_range(286,7872 +def _count_righthand_zero_bits(306,8327 +def summarize_address_range(322,8720 +def _collapse_addresses_internal(377,10694 +def collapse_addresses(426,12167 +def get_mixed_type_key(480,13922 +class _IPAddressBase(505,14707 + def exploded(512,14814 + def compressed(517,14977 + def reverse_pointer(522,15125 + def version(533,15554 + def _check_int_address(537,15680 + def _check_packed_address(546,16122 + def _ip_int_from_prefix(557,16617 + def _prefix_from_ip_int(570,16921 + def _report_invalid_netmask(595,17835 + def _prefix_from_prefix_string(600,17997 + def _prefix_from_ip_string(625,18858 + def __reduce__(658,19944 +class _BaseAddress(662,20024 + def __int__(672,20221 + def __eq__(675,20269 + def __lt__(682,20476 + def __add__(697,21107 + def __sub__(702,21274 + def __repr__(707,21441 + def __str__(710,21537 + def __hash__(713,21624 + def _get_address_key(716,21689 + def __reduce__(719,21759 +class _BaseNetwork(723,21830 + def __init__(731,22004 + def __repr__(734,22063 + def __str__(737,22159 + def hosts(740,22247 + def __iter__(752,22632 + def __getitem__(758,22846 + def __lt__(771,23321 + def __eq__(786,23985 + def __hash__(794,24280 + def __contains__(797,24372 + def overlaps(810,24834 + def broadcast_address(818,25142 + def hostmask(827,25447 + def with_prefixlen(835,25677 + def with_netmask(839,25787 + def with_hostmask(843,25892 + def num_addresses(847,25999 + def _address_class(852,26171 + def prefixlen(860,26525 + def address_exclude(863,26582 + def compare_networks(938,29340 + def _get_networks_key(986,31208 + def subnets(996,31527 + def supernet(1049,33625 + def is_multicast(1090,35187 + def _is_subnet_of(1102,35543 + def subnet_of(1113,36049 + def supernet_of(1117,36193 + def is_reserved(1122,36355 + def is_link_local(1134,36698 + def is_private(1145,37010 + def is_global(1157,37381 + def is_unspecified(1168,37686 + def is_loopback(1180,38025 +class _BaseV4(1192,38351 + def _explode_shorthand_ip_string(1215,39010 + def _make_netmask(1219,39105 + def _ip_int_from_string(1243,40141 + def _parse_octet(1270,40923 + def _string_from_ip_int(1307,42421 + def _is_hostmask(1322,42925 + def _reverse_pointer(1343,43511 + def max_prefixlen(1353,43820 + def version(1357,43899 +class IPv4Address(1361,43953 + def __init__(1367,44095 + def packed(1404,45375 + def is_reserved(1409,45511 + def is_private(1420,45801 + def is_global(1431,46116 + def is_multicast(1437,46266 + def is_unspecified(1448,46555 + def is_loopback(1459,46839 + def is_link_local(1469,47094 +class IPv4Interface(1479,47344 + def __init__(1481,47379 + def __str__(1509,48358 + def __eq__(1513,48494 + def __lt__(1525,48977 + def __hash__(1537,49474 + def ip(1543,49635 + def with_prefixlen(1547,49705 + def with_netmask(1552,49855 + def with_hostmask(1557,50000 +class IPv4Network(1562,50134 + def __init__(1577,50628 + def is_global(1663,54227 +class _IPv4Constants(1676,54645 +class _BaseV6(1711,55598 + def _make_netmask(1732,56098 + def _ip_int_from_string(1750,56808 + def _parse_hextet(1855,61213 + def _compress_hextets(1881,62161 + def _string_from_ip_int(1929,63978 + def _explode_shorthand_ip_string(1954,64693 + def _reverse_pointer(1978,65464 + def max_prefixlen(1988,65769 + def version(1992,65848 +class IPv6Address(1996,65902 + def __init__(2002,66044 + def packed(2040,67407 + def is_multicast(2045,67543 + def is_reserved(2056,67846 + def is_link_local(2067,68158 + def is_site_local(2077,68419 + def is_private(2091,68888 + def is_global(2102,69203 + def is_unspecified(2113,69478 + def is_loopback(2124,69735 + def ipv4_mapped(2135,69998 + def teredo(2148,70350 + def sixtofour(2163,70801 +class IPv6Interface(2176,71171 + def __init__(2178,71206 + def __str__(2202,72181 + def __eq__(2206,72317 + def __lt__(2218,72800 + def __hash__(2230,73297 + def ip(2236,73458 + def with_prefixlen(2240,73528 + def with_netmask(2245,73678 + def with_hostmask(2250,73823 + def is_unspecified(2255,73970 + def is_loopback(2259,74076 +class IPv6Network(2263,74163 + def __init__(2279,74675 + def hosts(2358,77871 + def is_site_local(2371,78277 +class _IPv6Constants(2386,78784 + +venv/lib/python2.7/site-packages/pip/_vendor/colorama/ansitowin32.py,567 +class StreamWrapper(16,316 + def __init__(22,536 + def __getattr__(28,774 + def __enter__(31,853 + def __exit__(37,1190 + def write(40,1288 + def isatty(43,1353 + def closed(56,1747 +class AnsiToWin32(64,1904 + def __init__(73,2338 + def should_wrap(106,3701 + def get_win32_calls(116,4166 + def write(160,6913 + def reset_all(170,7162 + def write_and_convert(177,7357 + def write_plain_text(193,7914 + def convert_ansi(199,8071 + def extract_params(205,8256 + def call_win32(223,8854 + def convert_osc(245,9869 + +venv/lib/python2.7/site-packages/pip/_vendor/colorama/win32.py,386 + class CONSOLE_SCREEN_BUFFER_INFO(21,483 + def __str__(30,804 + def _winapi_test(92,2850 + def winapi_test(98,3034 + def GetConsoleScreenBufferInfo(102,3169 + def SetConsoleTextAttribute(109,3410 + def SetConsoleCursorPosition(113,3559 + def FillConsoleOutputCharacter(131,4379 + def FillConsoleOutputAttribute(141,4814 + def SetConsoleTitle(151,5332 + +venv/lib/python2.7/site-packages/pip/_vendor/colorama/ansi.py,352 +def code_to_chars(12,254 +def set_title(15,313 +def clear_screen(18,372 +def clear_line(21,432 +class AnsiCodes(25,491 + def __init__(26,516 +class AnsiCursor(36,940 + def UP(37,966 + def DOWN(39,1023 + def FORWARD(41,1082 + def BACK(43,1144 + def POS(45,1203 +class AnsiFore(49,1283 +class AnsiBack(71,1807 +class AnsiStyle(93,2339 + +venv/lib/python2.7/site-packages/pip/_vendor/colorama/winterm.py,456 +class WinColor(6,113 +class WinStyle(17,282 +class WinTerm(22,487 + def __init__(24,511 + def get_attrs(36,1091 + def set_attrs(39,1191 + def reset_all(44,1370 + def fore(49,1520 + def back(60,1881 + def style(71,2275 + def set_console(77,2466 + def get_position(85,2725 + def set_cursor_position(93,3024 + def cursor_adjust(103,3407 + def erase_screen(111,3732 + def erase_line(143,5249 + def set_title(168,6369 + +venv/lib/python2.7/site-packages/pip/_vendor/colorama/initialise.py,131 +def reset_all(18,264 +def init(23,410 +def deinit(51,1207 +def colorama_text(59,1380 +def reinit(67,1497 +def wrap_stream(74,1655 + +venv/lib/python2.7/site-packages/pip/_vendor/idna/intranges.py,117 +def intranges_from_list(10,288 +def _encode_range(31,1016 +def _decode_range(34,1079 +def intranges_contain(38,1147 + +venv/lib/python2.7/site-packages/pip/_vendor/idna/core.py,591 +class IDNAError(16,299 +class IDNABidiError(21,407 +class InvalidCodepoint(26,522 +class InvalidCodepointContext(31,641 +def _combining_class(36,774 +def _is_script(43,981 +def _punycode(46,1074 +def _unot(49,1125 +def valid_label_length(53,1174 +def valid_string_length(60,1269 +def check_bidi(67,1407 +def check_initial_combiner(127,3728 +def check_hyphen_ok(134,3907 +def check_nfc(143,4174 +def valid_contextj(149,4317 +def valid_contexto(193,5410 +def check_label(234,6559 +def alabel(266,7934 +def ulabel(291,8447 +def uts46_remap(312,8929 +def encode(340,10173 +def decode(371,11017 + +venv/lib/python2.7/site-packages/pip/_vendor/idna/codec.py,278 +class Codec(7,147 + def encode(9,175 + def decode(19,421 +class IncrementalEncoder(29,668 + def _buffer_encode(30,729 +class IncrementalDecoder(62,1656 + def _buffer_decode(63,1717 +class StreamWriter(103,2882 +class StreamReader(106,2940 +def getregentry(109,2998 + +venv/lib/python2.7/site-packages/pip/_vendor/idna/uts46data.py,1905 +def _seg_0(8,153 +def _seg_1(112,2027 +def _seg_2(216,3922 +def _seg_3(320,6015 +def _seg_4(424,8243 +def _seg_5(528,10484 +def _seg_6(632,12747 +def _seg_7(736,15103 +def _seg_8(840,17441 +def _seg_9(944,19625 +def _seg_10(1048,21888 +def _seg_11(1152,23935 +def _seg_12(1256,25803 +def _seg_13(1360,27649 +def _seg_14(1464,29787 +def _seg_15(1568,31770 +def _seg_16(1672,34187 +def _seg_17(1776,36610 +def _seg_18(1880,38952 +def _seg_19(1984,41319 +def _seg_20(2088,43959 +def _seg_21(2192,46556 +def _seg_22(2296,48978 +def _seg_23(2400,51525 +def _seg_24(2504,54168 +def _seg_25(2608,56719 +def _seg_26(2712,59064 +def _seg_27(2816,61447 +def _seg_28(2920,64182 +def _seg_29(3024,66809 +def _seg_30(3128,69520 +def _seg_31(3232,72324 +def _seg_32(3336,75050 +def _seg_33(3440,78115 +def _seg_34(3544,81204 +def _seg_35(3648,83922 +def _seg_36(3752,86285 +def _seg_37(3856,88619 +def _seg_38(3960,90855 +def _seg_39(4064,93510 +def _seg_40(4168,96245 +def _seg_41(4272,98980 +def _seg_42(4376,101659 +def _seg_43(4480,104387 +def _seg_44(4584,107075 +def _seg_45(4688,109812 +def _seg_46(4792,112653 +def _seg_47(4896,115488 +def _seg_48(5000,118351 +def _seg_49(5104,121378 +def _seg_50(5208,123953 +def _seg_51(5312,126499 +def _seg_52(5416,129192 +def _seg_53(5520,131562 +def _seg_54(5624,134263 +def _seg_55(5728,136667 +def _seg_56(5832,138792 +def _seg_57(5936,141115 +def _seg_58(6040,143355 +def _seg_59(6144,145942 +def _seg_60(6248,148535 +def _seg_61(6352,151140 +def _seg_62(6456,153745 +def _seg_63(6560,156380 +def _seg_64(6664,159015 +def _seg_65(6768,161666 +def _seg_66(6872,164405 +def _seg_67(6976,167143 +def _seg_68(7080,169841 +def _seg_69(7184,172424 +def _seg_70(7288,174970 +def _seg_71(7392,177579 +def _seg_72(7496,180294 +def _seg_73(7600,182748 +def _seg_74(7704,185577 +def _seg_75(7808,188423 +def _seg_76(7912,191278 +def _seg_77(8016,194130 +def _seg_78(8120,196964 + +venv/lib/python2.7/site-packages/pip/_vendor/idna/compat.py,59 +def ToASCII(4,42 +def ToUnicode(7,88 +def nameprep(10,136 + +venv/lib/python2.7/site-packages/idna/intranges.py,117 +def intranges_from_list(10,288 +def _encode_range(31,1016 +def _decode_range(34,1079 +def intranges_contain(38,1147 + +venv/lib/python2.7/site-packages/idna/core.py,591 +class IDNAError(16,299 +class IDNABidiError(21,407 +class InvalidCodepoint(26,522 +class InvalidCodepointContext(31,641 +def _combining_class(36,774 +def _is_script(43,981 +def _punycode(46,1074 +def _unot(49,1125 +def valid_label_length(53,1174 +def valid_string_length(60,1269 +def check_bidi(67,1407 +def check_initial_combiner(127,3728 +def check_hyphen_ok(134,3907 +def check_nfc(143,4174 +def valid_contextj(149,4317 +def valid_contexto(193,5410 +def check_label(234,6559 +def alabel(266,7934 +def ulabel(291,8447 +def uts46_remap(312,8929 +def encode(340,10173 +def decode(371,11017 + +venv/lib/python2.7/site-packages/idna/codec.py,278 +class Codec(7,147 + def encode(9,175 + def decode(19,421 +class IncrementalEncoder(29,668 + def _buffer_encode(30,729 +class IncrementalDecoder(62,1656 + def _buffer_decode(63,1717 +class StreamWriter(103,2882 +class StreamReader(106,2940 +def getregentry(109,2998 + +venv/lib/python2.7/site-packages/idna/uts46data.py,1905 +def _seg_0(8,153 +def _seg_1(112,2027 +def _seg_2(216,3922 +def _seg_3(320,6015 +def _seg_4(424,8243 +def _seg_5(528,10484 +def _seg_6(632,12747 +def _seg_7(736,15103 +def _seg_8(840,17441 +def _seg_9(944,19625 +def _seg_10(1048,21888 +def _seg_11(1152,23935 +def _seg_12(1256,25803 +def _seg_13(1360,27649 +def _seg_14(1464,29787 +def _seg_15(1568,31770 +def _seg_16(1672,34187 +def _seg_17(1776,36610 +def _seg_18(1880,38952 +def _seg_19(1984,41319 +def _seg_20(2088,43959 +def _seg_21(2192,46556 +def _seg_22(2296,48978 +def _seg_23(2400,51525 +def _seg_24(2504,54168 +def _seg_25(2608,56719 +def _seg_26(2712,59064 +def _seg_27(2816,61447 +def _seg_28(2920,64182 +def _seg_29(3024,66809 +def _seg_30(3128,69520 +def _seg_31(3232,72324 +def _seg_32(3336,75050 +def _seg_33(3440,78115 +def _seg_34(3544,81204 +def _seg_35(3648,83922 +def _seg_36(3752,86285 +def _seg_37(3856,88619 +def _seg_38(3960,90855 +def _seg_39(4064,93510 +def _seg_40(4168,96245 +def _seg_41(4272,98980 +def _seg_42(4376,101659 +def _seg_43(4480,104387 +def _seg_44(4584,107075 +def _seg_45(4688,109812 +def _seg_46(4792,112653 +def _seg_47(4896,115488 +def _seg_48(5000,118351 +def _seg_49(5104,121378 +def _seg_50(5208,123953 +def _seg_51(5312,126499 +def _seg_52(5416,129192 +def _seg_53(5520,131562 +def _seg_54(5624,134263 +def _seg_55(5728,136667 +def _seg_56(5832,138792 +def _seg_57(5936,141115 +def _seg_58(6040,143355 +def _seg_59(6144,145942 +def _seg_60(6248,148535 +def _seg_61(6352,151140 +def _seg_62(6456,153745 +def _seg_63(6560,156380 +def _seg_64(6664,159015 +def _seg_65(6768,161666 +def _seg_66(6872,164405 +def _seg_67(6976,167143 +def _seg_68(7080,169841 +def _seg_69(7184,172424 +def _seg_70(7288,174970 +def _seg_71(7392,177579 +def _seg_72(7496,180294 +def _seg_73(7600,182748 +def _seg_74(7704,185577 +def _seg_75(7808,188423 +def _seg_76(7912,191278 +def _seg_77(8016,194130 +def _seg_78(8120,196964 + +venv/lib/python2.7/site-packages/idna/compat.py,59 +def ToASCII(4,42 +def ToUnicode(7,88 +def nameprep(10,136 + +venv/lib/python2.7/distutils/__init__.py,213 + class build_ext(37,1278 + def finalize_options 38,1314 +def find_config_files(53,1915 +def sysconfig_get_python_inc(75,2712 +def sysconfig_get_python_lib(83,3042 +def sysconfig_get_config_vars(91,3421 + +venv/lib/python2.7/site.py,1123 +def makepath(92,3393 +def abs__file__(100,3648 +def removeduppaths(113,4131 +def addbuilddir(133,4948 +def _init_pathinfo(143,5324 +def addpackage(155,5649 +def addsitedir(186,6547 +def addsitepackages(209,7225 +def check_enableusersite(285,11227 +def addusersitepackages(309,12014 + def joinuser(324,12463 +def setBEGINLIBPATH(362,13795 +def setquit(379,14412 + class Quitter(391,14697 + def __init__(392,14724 + def __repr__(394,14787 + def __call__(396,14878 +class _Printer(408,15232 + def __init__(414,15397 + def __setup(421,15591 + def __repr__(442,16204 + def __call__(449,16432 +def setcopyright(472,17173 +class _Helper(494,18096 + def __repr__(500,18220 + def __call__(503,18354 +def sethelper(507,18456 +def aliasmbcs(510,18504 +def setencoding(525,19109 +def execsitecustomize(545,19864 +def virtual_install_main_packages(552,20020 +def force_global_eggs_after_local_site_packages(627,23396 +def virtual_addsitepackages(642,23945 +def fixclasspath(646,24106 +def execusercustomize(660,24538 +def main(668,24695 +def _script(705,25972 + def exists(726,26598 + +dev_scripts/blacklist.py,17 +def main(20,413 + +dev_scripts/process_chat.py,15 +def main(9,94 + +dev_scripts/get_mirrors.py,403 +class FileWriter(52,1334 + def __init__(54,1437 + def dataReceived(68,1961 + def connectionLost(76,2250 +class HTTPSVerifyingContextFactory(84,2526 + def __init__(85,2588 + def getContext(97,3074 + def verifyCN(114,3585 +def handle(129,4103 +def writeToFile(145,4670 +def is_json(152,4865 +def add_tpo_link(161,5047 +def add_entry(170,5278 +def add_mirror(182,5531 +def main(199,5962 + +dev_scripts/process_http.py,15 +def main(7,69 + +dev_scripts/stats.py,17 +def main(19,391 + +dev_scripts/create_gh_mirrors.py,78 +def create_readme(20,352 +def create_landing_html(84,2570 +def main(156,5028 + +dev_scripts/report.py,131 +class Report(51,890 + def __init__(52,912 + def db_write(62,1229 + def get_logs(72,1631 + def generate_report(88,2343 + +dev_scripts/process_email.py,15 +def main(9,94 + +dev_scripts/process_tweets.py,15 +def main(9,97 + +dev_scripts/create_api_mirror.py,405 +class ConfigError(67,1903 +class InternalError(71,1944 +class APIMirror(75,1987 + def __init__(77,2066 + def _is_json(81,2160 + def _write_json(95,2516 + def _get_provider_name(118,3190 + def _load_latest_version(130,3478 + def _load_links(136,3700 + def _load_mirrors(162,4496 + def _load_resources(168,4709 + def load_data(178,5046 + def build(185,5225 +def main(299,8617 + +dev_scripts/core_demo.py,0 + +venv/bin/activate_this.py,0 + +venv/lib/python2.7/site-packages/idna/__init__.py,0 + +venv/lib/python2.7/site-packages/idna/package_data.py,0 + +venv/lib/python2.7/site-packages/idna/idnadata.py,0 + +venv/lib/python2.7/site-packages/pip/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/__main__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/idna/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/idna/package_data.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/idna/idnadata.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/colorama/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/pep517/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/pytoml/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/msgpack/_version.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/compat.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/packages.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/__version__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/requests/certs.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/compat.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/caches/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/version.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/langgreekmodel.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/escsm.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/compat.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/langhungarianmodel.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/cli/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/euctwfreq.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/langturkishmodel.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/langbulgarianmodel.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/big5freq.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/langcyrillicmodel.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/langhebrewmodel.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/mbcssm.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/gb2312freq.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/langthaimodel.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/jisfreq.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/chardet/euckrfreq.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/webencodings/labels.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/packaging/__about__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/certifi/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_vendor/certifi/__main__.py,0 + +venv/lib/python2.7/site-packages/pip/_internal/cli/status_codes.py,0 + +venv/lib/python2.7/site-packages/pip/_internal/cli/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_internal/operations/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_internal/models/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_internal/utils/__init__.py,0 + +venv/lib/python2.7/site-packages/pip/_internal/utils/setuptools_build.py,0 + +venv/lib/python2.7/site-packages/pip/_internal/utils/typing.py,0 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/__init__.py,0 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/__init__.py,0 + +venv/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/__about__.py,0 + +venv/lib/python2.7/site-packages/exampleproj/__init__.py,0 + +venv/lib/python2.7/site-packages/exampleproj/_version.py,0 + +venv/lib/python2.7/site-packages/attr/__init__.py,0 + +venv/lib/python2.7/site-packages/setuptools/version.py,0 + +venv/lib/python2.7/site-packages/setuptools/_vendor/__init__.py,0 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/__init__.py,0 + +venv/lib/python2.7/site-packages/setuptools/_vendor/packaging/__about__.py,0 + +venv/lib/python2.7/site-packages/setuptools/command/__init__.py,0 + +venv/lib/python2.7/site-packages/incremental/tests/__init__.py,0 + +venv/lib/python2.7/site-packages/incremental/_version.py,0 + +venv/lib/python2.7/site-packages/configparser.py,0 + +venv/lib/python2.7/site-packages/backports/__init__.py,0 + +venv/lib/python2.7/site-packages/hyperlink/__init__.py,0 + +venv/lib/python2.7/site-packages/hyperlink/test/__init__.py,0 + +venv/lib/python2.7/site-packages/wheel/__init__.py,0 + +venv/lib/python2.7/site-packages/wheel/cli/install.py,0 + +venv/lib/python2.7/site-packages/constantly/__init__.py,0 + +venv/lib/python2.7/site-packages/easy_install.py,0 + +venv/lib/python2.7/site-packages/zope/interface/tests/__init__.py,0 + +venv/lib/python2.7/site-packages/zope/interface/tests/m2.py,0 + +venv/lib/python2.7/site-packages/zope/interface/common/tests/__init__.py,0 + +venv/lib/python2.7/site-packages/zope/interface/common/__init__.py,0 + +venv/lib/python2.7/site-packages/automat/__init__.py,0 + +venv/lib/python2.7/site-packages/automat/_test/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/core/helpers/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/core/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/core/core/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/library/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/library/number/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/library/text/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/library/collection/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/library/integration/__init__.py,0 + +venv/lib/python2.7/site-packages/hamcrest/library/object/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/scripts/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/scripts/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/news/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/news/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/cred/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/cred/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/python/constants.py,0 + +venv/lib/python2.7/site-packages/twisted/python/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/python/url.py,0 + +venv/lib/python2.7/site-packages/twisted/python/versions.py,0 + +venv/lib/python2.7/site-packages/twisted/python/_url.py,0 + +venv/lib/python2.7/site-packages/twisted/python/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/python/test/deprecatedattributes.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/scripts/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/ui/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/ttymodes.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/openssh_compat/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/insults/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/insults/colors.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/client/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/ssh/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/conch/test/keydata.py,0 + +venv/lib/python2.7/site-packages/twisted/mail/scripts/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/mail/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/mail/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_web.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_news.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_ftp.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_reactors.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_portforward.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_runner.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_inet.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_mail.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_socks.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_names.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_core.py,0 + +venv/lib/python2.7/site-packages/twisted/plugins/twisted_conch.py,0 + +venv/lib/python2.7/site-packages/twisted/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/_version.py,0 + +venv/lib/python2.7/site-packages/twisted/tap/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/spread/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/spread/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/names/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/names/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/__main__.py,0 + +venv/lib/python2.7/site-packages/twisted/words/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/words/xish/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/words/protocols/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/words/protocols/jabber/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/words/im/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/words/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/persisted/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/persisted/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/runner/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/runner/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/reactor.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/iocpreactor/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/iocpreactor/const.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/iocpreactor/setup.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/stdio.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/test/process_cli.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/test/process_gireactornocompat.py,0 + +venv/lib/python2.7/site-packages/twisted/internet/test/process_connectionlost.py,0 + +venv/lib/python2.7/site-packages/twisted/_threads/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/_threads/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/application/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/application/twist/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/application/twist/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/application/runner/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/application/runner/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/application/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/pair/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/pair/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/protocols/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/protocols/haproxy/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/protocols/mice/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/protocols/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/positioning/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/positioning/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/trial/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/trial/unittest.py,0 + +venv/lib/python2.7/site-packages/twisted/trial/__main__.py,0 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/trial/_dist/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/trial/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/copyright.py,0 + +venv/lib/python2.7/site-packages/twisted/web/guard.py,0 + +venv/lib/python2.7/site-packages/twisted/web/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/web/_auth/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/web/_responses.py,0 + +venv/lib/python2.7/site-packages/twisted/web/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/enterprise/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/logger/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_getenv.py,0 + +venv/lib/python2.7/site-packages/twisted/test/__init__.py,0 + +venv/lib/python2.7/site-packages/twisted/test/reflect_helper_ZDE.py,0 + +venv/lib/python2.7/site-packages/twisted/test/reflect_helper_VE.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_stdinreader.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_tty.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_cmdline.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_signal.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_linger.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_reader.py,0 + +venv/lib/python2.7/site-packages/twisted/test/reflect_helper_IE.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_echoer.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_getargv.py,0 + +venv/lib/python2.7/site-packages/twisted/test/process_fds.py,0 + +gettor/__init__.py,0 + +gettor/parse/__init__.py,0 + +test/__init__.py,0 diff --git a/bin/gettor_service b/bin/gettor_service new file mode 100755 index 0000000..2f7e12a --- /dev/null +++ b/bin/gettor_service @@ -0,0 +1,39 @@ +#!/bin/bash +# +# This file is part of GetTor, a Tor Browser distribution system. +# +# :authors: isra ilv@torproject.org +# see also AUTHORS file +# +# :copyright: (c) 2008-2014, The Tor Project, Inc. +# (c) 2014-2018, Israel Leiva +# +# :license: This is Free Software. See LICENSE for license information. + +source venv/bin/activate + +case "$1" in +start) + twistd3 --python=scripts/gettor --logfile=log/gettor.log --pidfile=gettor.pid + ;; +stop) + kill -INT `cat gettor.pid` + ;; +restart) + $0 stop + sleep 2; + $0 start + ;; +status) + if [ -e gettor.pid ]; then + echo gettor is running with pid=`cat gettor.pid` + else + echo gettor is NOT running + exit 1 + fi + ;; +*) + echo "Usage: $0 {start|stop|status|restart}" +esac + +exit 0 diff --git a/config/blacklist.cfg b/config/blacklist.cfg deleted file mode 100644 index bb8a3d8..0000000 --- a/config/blacklist.cfg +++ /dev/null @@ -1,6 +0,0 @@ -[general] -db: /path/to/gettor.db - -[log] -level: DEBUG -dir: /path/to/log diff --git a/config/core.cfg b/config/core.cfg deleted file mode 100644 index 1f03c59..0000000 --- a/config/core.cfg +++ /dev/null @@ -1,12 +0,0 @@ -[general] -basedir: /path/to/gettor -db: gettor.db - -[links] -dir: /path/to/providers/ -os: linux,windows,osx -locales: es,en - -[log] -dir: /path/to/log/ -level: DEBUG diff --git a/config/smtp.cfg b/config/smtp.cfg deleted file mode 100644 index a7e9f7a..0000000 --- a/config/smtp.cfg +++ /dev/null @@ -1,17 +0,0 @@ -[general] -basedir: /path/to/gettor/smtp -mirrors: /path/to/mirrors -our_domain: torproject.org -core_cfg: /path/to/core.cfg - -[blacklist] -cfg: /path/to/blacklist.cfg -max_requests: 3 -wait_time: 20 - -[i18n] -dir: /path/to/i18n/ - -[log] -level: DEBUG -dir: /path/to/log/ diff --git a/config/tor-mirrors b/config/tor-mirrors.json similarity index 100% rename from config/tor-mirrors rename to config/tor-mirrors.json diff --git a/config/xmpp.cfg b/config/xmpp.cfg deleted file mode 100644 index d81d4df..0000000 --- a/config/xmpp.cfg +++ /dev/null @@ -1,21 +0,0 @@ -[account] -user: account@domain -password: - -[general] -basedir: /path/to/gettor/xmpp/ -core_cfg: /path/to/core.cfg -max_words: 10 -db: /path/to/gettor.db - -[blacklist] -cfg: /path/to/blacklist.cfg -max_requests: 3 -wait_time: 20 - -[i18n] -dir: /path/to/i18n/ - -[log] -level: DEBUG -dir: /path/to/log/ diff --git a/dev_scripts/create_db.py b/dev_scripts/create_db.py deleted file mode 100644 index d6e0b0f..0000000 --- a/dev_scripts/create_db.py +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# -# This file is part of GetTor, a Tor Browser distribution system. -# -# :authors: Israel Leiva ilv@riseup.net -# see also AUTHORS file -# -# :copyright: (c) 2008-2014, The Tor Project, Inc. -# (c) 2014, Israel Leiva -# -# :license: This is Free Software. See LICENSE for license information. - -import os -import sqlite3 -import argparse - - -def main(): - """Create/delete GetTor database for managing stats and blacklisting. - - Database file (.db) must be empty. If it doesn't exist, it will be - created. See argparse usage for more details. - - """ - parser = argparse.ArgumentParser(description='Utility for GetTor' - ' database') - parser.add_argument('-c', '--create', default=None, - metavar='path_to_database.db', - help='create database') - parser.add_argument('-d', '--delete', default=None, - metavar='path_to_database.db', - help='delete database') - - args = parser.parse_args() - if args.create: - con = sqlite3.connect(args.create) - with con: - cur = con.cursor() - # table for handling users (i.e. blacklist) - cur.execute( - "CREATE TABLE users(id TEXT, service TEXT, times INT," - "blocked INT, last_request TEXT)" - ) - - cur.execute( - "CREATE TABLE requests(date TEXT, request TEXT, os TEXT," - " locale TEXT, channel TEXT, PRIMARY KEY (date, channel))" - ) - - print "Database %s created" % os.path.abspath(args.create) - elif args.delete: - os.remove(os.path.abspath(args.delete)) - print "Database %s deleted" % os.path.abspath(args.delete) - else: - print "See --help for details on usage." -if __name__ == "__main__": - main() diff --git a/INSTALL-SMTP b/doc/INSTALL-SMTP similarity index 100% rename from INSTALL-SMTP rename to doc/INSTALL-SMTP diff --git a/gettor.conf.json b/gettor.conf.json new file mode 100644 index 0000000..d97b4fb --- /dev/null +++ b/gettor.conf.json @@ -0,0 +1,10 @@ +{ + "platforms": ["linux", "osx", "windows"], + "dbname": "gettor.db", + "email_parser_logfile": "email_parser.log", + "email_requests_limit": 5, + "sendmail_interval": 10, + "sendmail_addr": "email@addr", + "sendmail_host": "host", + "sendmail_port": 587 +} diff --git a/gettor/__init__.py b/gettor/__init__.py index c87425a..bf73506 100644 --- a/gettor/__init__.py +++ b/gettor/__init__.py @@ -1 +1,17 @@ -# yes it's empty, of such a fullness +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +from .utils import strings + + +__version__ = strings.get_version() +__locales__ = strings.get_locales() diff --git a/gettor/core.py b/gettor/core.py deleted file mode 100644 index a12853b..0000000 --- a/gettor/core.py +++ /dev/null @@ -1,481 +0,0 @@ -# -*- coding: utf-8 -*- -# -# This file is part of GetTor, a Tor Browser distribution system. -# -# :authors: Israel Leiva ilv@riseup.net -# see also AUTHORS file -# -# :copyright: (c) 2008-2014, The Tor Project, Inc. -# (c) 2014, Israel Leiva -# -# :license: This is Free Software. See LICENSE for license information. - -import os -import re -import logging -import gettext -import tempfile -import ConfigParser - -import db -import utils - -"""Core module for getting links from providers.""" - - -class ConfigError(Exception): - pass - - -class NotSupportedError(Exception): - pass - - -class LinkFormatError(Exception): - pass - - -class LinkFileError(Exception): - pass - - -class InternalError(Exception): - pass - - -class Core(object): - """Get links from providers and deliver them to other modules. - - Public methods: - - get_links(): Get the links for the OS and locale requested. - create_links_file(): Create a file to store links of a provider. - add_link(): Add a link to a links file of a provider. - get_supported_os(): Get a list of supported operating systems. - get_supported_lc(): Get a list of supported locales. - - Exceptions: - - UnsupportedOSError: OS and/or locale not supported. - ConfigError: Something's misconfigured. - LinkFormatError: The link added doesn't seem legit. - LinkFileError: Error related to the links file of a provider. - InternalError: Something went wrong internally. - - """ - - def __init__(self, cfg=None): - """Create a new core object by reading a configuration file. - - :param: cfg (string) the path of the configuration file. - :raise: ConfigurationError if the configuration file doesn't exists - or if something goes wrong while reading options from it. - - """ - default_cfg = 'core.cfg' - config = ConfigParser.ConfigParser() - - if cfg is None or not os.path.isfile(cfg): - cfg = default_cfg - - try: - with open(cfg) as f: - config.readfp(f) - except IOError: - raise ConfigError("File %s not found!" % cfg) - - try: - self.supported_lc = config.get('links', 'locales') - self.supported_os = config.get('links', 'os') - - basedir = config.get('general', 'basedir') - self.linksdir = config.get('links', 'dir') - self.linksdir = os.path.join(basedir, self.linksdir) - self.i18ndir = config.get('i18n', 'dir') - - loglevel = config.get('log', 'level') - logdir = config.get('log', 'dir') - logfile = os.path.join(logdir, 'core.log') - - dbname = config.get('general', 'db') - dbname = os.path.join(basedir, dbname) - self.db = db.DB(dbname) - - except ConfigParser.Error as e: - raise ConfigError("Configuration error: %s" % str(e)) - except db.Exception as e: - raise InternalError("%s" % e) - - # logging - log = logging.getLogger(__name__) - - logging_format = utils.get_logging_format() - date_format = utils.get_date_format() - formatter = logging.Formatter(logging_format, date_format) - - log.info('Redirecting CORE logging to %s' % logfile) - logfileh = logging.FileHandler(logfile, mode='a+') - logfileh.setFormatter(formatter) - logfileh.setLevel(logging.getLevelName(loglevel)) - log.addHandler(logfileh) - - # stop logging on stdout from now on - log.propagate = False - self.log = log - - def _get_msg(self, msgid, lc): - """Get message identified by msgid in a specific locale. - - :param: msgid (string) the identifier of a string. - :param: lc (string) the locale. - - :return: (string) the message from the .po file. - - """ - # obtain the content in the proper language - try: - t = gettext.translation(lc, self.i18ndir, languages=[lc]) - _ = t.ugettext - - msgstr = _(msgid) - return msgstr - except IOError as e: - raise ConfigError("%s" % str(e)) - - def get_links(self, service, os, lc): - """Get links for OS in locale. - - This method should be called from the services modules of - GetTor (e.g. SMTP). To make it easy we let the module calling us - specify the name of the service (for stats purpose). - - :param: service (string) the service trying to get the links. - :param: os (string) the operating system. - :param: lc (string) tthe locale. - - :raise: InternalError if something goes wrong while internally. - - :return: (string) the links. - - """ - # english and windows by default - if lc not in self.supported_lc: - self.log.debug("Request for locale not supported. Default to en") - lc = 'en' - - if os not in self.supported_os: - self.log.debug("Request for OS not supported. Default to windows") - os = 'windows' - - # this could change in the future, let's leave it isolated. - self.log.debug("Trying to get the links...") - try: - links = self._get_links(os, lc) - self.log.debug("OK") - except InternalError as e: - self.log.debug("FAILED") - raise InternalError("%s" % str(e)) - - if links is None: - self.log.debug("No links found") - raise InternalError("No links. Something is wrong.") - - return links - - def _get_links(self, osys, lc): - """Internal method to get the links. - - Looks for the links inside each provider file. This should only be - called from get_links() method. - - :param: osys (string) the operating system. - :param: lc (string) the locale. - - :return: (string/None) links on success, None otherwise. - - """ - - # read the links files using ConfigParser - # see the README for more details on the format used - links_files = [] - - links32 = {} - links64 = {} - - # for the message to be sent - if osys == 'windows': - arch = '32/64' - elif osys == 'osx': - arch = '64' - else: - arch = '32' - - # look for files ending with .links - p = re.compile('.*.links$') - - for name in os.listdir(self.linksdir): - path = os.path.abspath(os.path.join(self.linksdir, name)) - if os.path.isfile(path) and p.match(path): - links_files.append(path) - - # let's create a dictionary linking each provider with the links - # found for os and lc. This way makes it easy to check if no - # links were found - providers = {} - - # separator - spt = '=' * 72 - - # reading links from providers directory - for name in links_files: - # we're reading files listed on linksdir, so they must exist! - config = ConfigParser.ConfigParser() - # but just in case they don't - try: - with open(name) as f: - config.readfp(f) - except IOError: - raise InternalError("File %s not found!" % name) - - try: - pname = config.get('provider', 'name') - - # check if current provider pname has links for os in lc - providers[pname] = config.get(osys, lc) - except ConfigParser.Error as e: - # we should at least have the english locale available - self.log.error("Request for %s, returning 'en' instead" % lc) - providers[pname] = config.get(osys, 'en') - try: - #test = providers[pname].split("$") - #self.log.debug(test) - if osys == 'linux': - t32, t64 = [t for t in providers[pname].split(",") if t] - - link, signature, chs32 = [l for l in t32.split("$") if l] - link = " %s: %s" % (pname, link) - links32[link] = signature - - link, signature, chs64 = [l for l in t64.split("$") if l] - link = " %s: %s" % (pname, link.lstrip()) - links64[link] = signature - - else: - link, signature, chs32 = [l for l in providers[pname].split("$") if l] - link = " %s: %s" % (pname, link) - links32[link] = signature - - #providers[pname] = providers[pname].replace(",", "") - #providers[pname] = providers[pname].replace("$", "\n\n") - - ### We will improve and add the verification section soon ### - # all packages are signed with same key - # (Tor Browser developers) - # fingerprint = config.get('key', 'fingerprint') - # for now, english messages only - # fingerprint_msg = self._get_msg('fingerprint', 'en') - # fingerprint_msg = fingerprint_msg % fingerprint - except ConfigParser.Error as e: - raise InternalError("%s" % str(e)) - - # create the final links list with all providers - all_links = [] - - msg = "Tor Browser %s-bit:\n" % arch - for link in links32: - msg = "%s\n%s" % (msg, link) - - all_links.append(msg) - - if osys == 'linux': - msg = "\n\n\nTor Browser 64-bit:\n" - for link in links64: - msg = "%s\n%s" % (msg, link) - - all_links.append(msg) - - ### We will improve and add the verification section soon ### - """ - msg = "\n\n\nTor Browser's signature %s-bit:" %\ - arch - for link in links32: - msg = "%s\n%s" % (msg, links32[link]) - - all_links.append(msg) - - if osys == 'linux': - msg = "\n\n\nTor Browser's signature 64-bit:" - for link in links64: - msg = "%s%s" % (msg, links64[link]) - - all_links.append(msg) - - msg = "\n\n\nSHA256 of Tor Browser %s-bit (advanced): %s\n" %\ - (arch, chs32) - all_links.append(msg) - - if osys == 'linux': - msg = "SHA256 of Tor Browser 64-bit (advanced): %s\n" % chs64 - all_links.append(msg) - - """ - ### end verification ### - - """ - for key in providers.keys(): - # get more friendly description of the provider - try: - # for now, english messages only - provider_desc = self._get_msg('provider_desc', 'en') - provider_desc = provider_desc % key - - all_links.append( - "%s\n%s\n\n%s%s\n\n\n" % - (provider_desc, spt, ''.join(providers[key]), spt) - ) - except ConfigError as e: - raise InternalError("%s" % str(e)) - """ - - ### We will improve and add the verification section soon ### - # add fingerprint after the links - # all_links.append(fingerprint_msg) - - if all_links: - return "".join(all_links) - else: - # we're trying to get supported os an lc - # but there aren't any links! - return None - - def get_supported_os(self): - """Public method to get the list of supported operating systems. - - :return: (list) the supported operating systems. - - """ - return self.supported_os.split(',') - - def get_supported_lc(self): - """Public method to get the list of supported locales. - - :return: (list) the supported locales. - - """ - return self.supported_lc.split(',') - - def create_links_file(self, provider, fingerprint): - """Public method to create a links file for a provider. - - This should be used by all providers since it writes the links - file with the proper format. It backs up the old links file - (if exists) and creates a new one. - - :param: provider (string) the provider (links file will use this - name in slower case). - :param: fingerprint (string) the fingerprint of the key that signed - the packages to be uploaded to the provider. - - """ - linksfile = os.path.join(self.linksdir, provider.lower() + '.links') - linksfile_backup = "" - - self.log.debug("Request to create a new links file") - if os.path.isfile(linksfile): - self.log.debug("Trying to backup the old one...") - try: - # backup the old file in case something fails - linksfile_backup = linksfile + '.backup' - os.rename(linksfile, linksfile_backup) - except OSError as e: - self.log.debug("FAILED %s" % str(e)) - raise LinkFileError( - "Error while creating new links file: %s" % str(e) - ) - - self.log.debug("Creating empty links file...") - try: - # this creates an empty links file - content = ConfigParser.RawConfigParser() - content.add_section('provider') - content.set('provider', 'name', provider) - content.add_section('key') - content.set('key', 'fingerprint', fingerprint) - content.add_section('linux') - content.add_section('windows') - content.add_section('osx') - with open(linksfile, 'w+') as f: - content.write(f) - except Exception as e: - self.log.debug("FAILED: %s" % str(e)) - # if we passed the last exception, then this shouldn't - # be a problem... - if linksfile_backup: - os.rename(linksfile_backup, linksfile) - raise LinkFileError( - "Error while creating new links file: %s" % str(e) - ) - - def add_link(self, provider, osys, lc, link): - """Public method to add a link to a provider's links file. - - Use ConfigParser to add a link into the os section, under the lc - option. It checks for valid format; the provider's script should - use the right format (see design). - - :param: provider (string) the provider. - :param: os (string) the operating system. - :param: lc (string) the locale. - :param: link (string) link to be added. - - :raise: NotsupportedError if the OS and/or locale is not supported. - :raise: LinkFileError if there is no links file for the provider. - :raise: LinkFormatError if the link format doesn't seem legit. - :raise: InternalError if the links file doesn't have a section for - the OS requested. This *shouldn't* happen because it means - the file wasn't created correctly. - - """ - linksfile = os.path.join(self.linksdir, provider.lower() + '.links') - - self.log.debug("Request to add a new link") - # don't try to add unsupported stuff - if lc not in self.supported_lc: - self.log.debug("Request for locale %s not supported" % lc) - raise NotSupportedError("Locale %s not supported" % lc) - - if osys not in self.supported_os: - self.log.debug("Request for OS %s not supported" % osys) - raise NotSupportedError("OS %s not supported" % osys) - - self.log.debug("Opening links file...") - if os.path.isfile(linksfile): - content = ConfigParser.RawConfigParser() - - try: - with open(linksfile) as f: - content.readfp(f) - except IOError as e: - self.log.debug("FAILED %s" % str(e)) - raise LinksFileError("File %s not found!" % linksfile) - # check if exists and entry for locale; if not, create it - self.log.debug("Trying to add the link...") - try: - links = content.get(osys, lc) - links = "%s,\n%s" % (links, link) - content.set(osys, lc, links) - self.log.debug("Link added") - with open(linksfile, 'w') as f: - content.write(f) - except ConfigParser.NoOptionError: - content.set(osys, lc, link) - self.log.debug("Link added (with new locale created)") - with open(linksfile, 'w') as f: - content.write(f) - except ConfigParser.NoSectionError as e: - # this shouldn't happen, but just in case - self.log.debug("FAILED (OS not found)") - raise InternalError("Unknown section %s" % str(e)) - else: - self.log.debug("FAILED (links file doesn't seem legit)") - raise LinkFileError("No links file for %s" % provider) diff --git a/gettor/main.py b/gettor/main.py new file mode 100644 index 0000000..53fbf61 --- /dev/null +++ b/gettor/main.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +"""This module sets up GetTor and starts the servers running.""" + +import sys + +from .utils.commons import log +from .utils import options +from .services import BaseService +from .services.email.sendmail import Sendmail + + +def run(gettor, app): + """ + This is GetTor's main entry point and main runtime loop. + """ + settings = options.parse_settings() + + sendmail = Sendmail(settings) + + log.info("Starting services.") + sendmail_service = BaseService( + "sendmail", sendmail.get_interval(), sendmail + ) + + gettor.addService(sendmail_service) + + gettor.setServiceParent(app) diff --git a/gettor/parse/__init__.py b/gettor/parse/__init__.py new file mode 100644 index 0000000..1bb8bf6 --- /dev/null +++ b/gettor/parse/__init__.py @@ -0,0 +1 @@ +# empty diff --git a/gettor/parse/email.py b/gettor/parse/email.py new file mode 100644 index 0000000..f798320 --- /dev/null +++ b/gettor/parse/email.py @@ -0,0 +1,217 @@ +# -*- coding: utf-8 -*- +# +# This file is part of GetTor, a Tor Browser distribution system. +# +# :authors: isra ilv@torproject.org +# see also AUTHORS file +# +# :copyright: (c) 2008-2014, The Tor Project, Inc. +# (c) 2014-2018, Israel Leiva +# +# :license: This is Free Software. See LICENSE for license information. + +from __future__ import absolute_import + +import re +import dkim +import hashlib +import validate_email + +from datetime import datetime +import configparser + +from email import message_from_string +from email.utils import parseaddr + +from twisted.python import log +from twisted.internet import defer +from twisted.enterprise import adbapi + +from .. import PLATFORMS, EMAIL_REQUESTS_LIMIT +from ..db import SQLite3 + + +class AddressError(Exception): + """ + Error if email address is not valid or it can't be normalized. + """ + pass + + +class DKIMError(Exception): + """ + Error if DKIM signature verification fails. + """ + pass + + +class EmailParser(object): + """Class for parsing email requests.""" + + def __init__(self, to_addr=None, dkim=False): + """ + Constructor. + + param (Boolean) dkim: Set dkim verification to True or False. + """ + self.dkim = dkim + self.to_addr = to_addr + + + def parse(self, msg_str): + """ + Parse message content. Check if email address is well formed, if DKIM + signature is valid, and prevent service flooding. Finally, look for + commands to process the request. Current commands are: + + - links: request links for download. + - help: help request. + + :param msg_str (str): incomming message as string. + + :return dict with email address and command (`links` or `help`). + """ + + log.msg("Building email message from string.", system="email parser") + msg = message_from_string(msg_str) + + # Normalization will convert <Alice Wonderland> alice@wonderland.net + # into alice@wonderland.net + name, norm_addr = parseaddr(msg['From']) + to_name, norm_to_addr = parseaddr(msg['To']) + log.msg( + "Normalizing and validating FROM email address.", + system="email parser" + ) + + # Validate_email will do a bunch of regexp to see if the email address + # is well address. Additional options for validate_email are check_mx + # and verify, which check if the SMTP host and email address exist. + # See validate_email package for more info. + if norm_addr and validate_email.validate_email(norm_addr): + log.msg( + "Email address normalized and validated.", + system="email parser" + ) + else: + log.err( + "Error normalizing/validating email address.", + system="email parser" + ) + raise AddressError("Invalid email address {}".format(msg['From'])) + + hid = hashlib.sha256(norm_addr) + log.msg( + "Request from {}".format(hid.hexdigest()), system="email parser" + ) + + if self.to_addr: + if self.to_addr != norm_to_addr: + log.msg("Got request for a different instance of gettor") + log.msg("Intended recipient: {}".format(norm_to_addr)) + return {} + + # DKIM verification. Simply check that the server has verified the + # message's signature + if self.dkim: + log.msg("Checking DKIM signature.", system="email parser") + # Note: msg.as_string() changes the message to conver it to + # string, so DKIM will fail. Use the original string instead + if dkim.verify(msg_str): + log.msg("Valid DKIM signature.", system="email parser") + else: + log.msg("Invalid DKIM signature.", system="email parser") + username, domain = norm_addr.split("@") + raise DkimError( + "DKIM failed for {} at {}".format( + hid.hexdigest(), domain + ) + ) + + # Search for commands keywords + subject_re = re.compile(r"Subject: (.*)\r\n") + subject = subject_re.search(msg_str) + + request = { + "id": norm_addr, + "command": None, "platform": None, + "service": "email" + } + + if subject: + subject = subject.group(1) + for word in re.split(r"\s+", subject.strip()): + if word.lower() in PLATFORMS: + request["command"] = "links" + request["platform"] = word.lower() + break + if word.lower() == "help": + request["command"] = "help" + break + + if not request["command"]: + for word in re.split(r"\s+", body_str.strip()): + if word.lower() in PLATFORMS: + request["command"] = "links" + request["platform"] = word.lower() + break + if word.lower() == "help": + request["command"] = "help" + break + + return request + + @defer.inlineCallbacks + def parse_callback(self, request): + """ + Callback invoked when the message has been parsed. It stores the + obtained information in the database for further processing by the + Sendmail service. + + :param (dict) request: the built request based on message's content. + It contains the `email_addr` and command `fields`. + + :return: deferred whose callback/errback will log database query + execution details. + """ + + log.msg( + "Found request for {}.".format(request['command']), + system="email parser" + ) + + if request["command"]: + now_str = datetime.now().strftime("%Y%m%d%H%M%S") + conn = SQLite3() + + hid = hashlib.sha256(request['id']) + # check limits first + num_requests = yield conn.get_num_requests( + id=hid.hexdigest(), service=request['service'] + ) + + if num_requests[0][0] > EMAIL_REQUESTS_LIMIT: + log.msg( + "Discarded. Too many requests from {}.".format( + hid.hexdigest + ), system="email parser" + ) + + else: + conn.new_request( + id=request['id'], + command=request['command'], + platform=request['platform'], + service=request['service'], + date=now_str, + status="ONHOLD", + ) + + def parse_errback(self, error): + """ + Errback if we don't/can't parse the message's content. + """ + log.msg( + "Error while parsing email content: {}.".format(error), + system="email parser" + ) diff --git a/gettor/services/__init__.py b/gettor/services/__init__.py new file mode 100644 index 0000000..a99bf3b --- /dev/null +++ b/gettor/services/__init__.py @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +from __future__ import absolute_import + +from twisted.application import internet +from ..utils.commons import log + +class BaseService(internet.TimerService): + """ + Base service for Accounts, Messages and Fetchmail. It extends the + TimerService providing asynchronous connection to database by default. + """ + + def __init__(self, name, step, instance, *args, **kwargs): + """ + Constructor. Initiate connection to database and link one of Accounts, + Messages or Fetchmail instances to TimerService behavour. + + :param name (str): name of the service being initiated (just for log + purposes). + :param step (float): time interval for TimerService, in seconds. + :param instance (object): instance of Accounts, Messages, or + Fetchmail classes. + """ + + log.info("SERVICE:: Initializing {} service.".format(name)) + self.name = name + self.instance = instance + log.debug("SERVICE:: Initializing TimerService.") + internet.TimerService.__init__( + self, step, self.instance.get_new, **kwargs + ) + + def startService(self): + """ + Starts the service. Overridden from parent class to add extra logging + information. + """ + log.info("SERVICE:: Starting {} service.".format(self.name)) + internet.TimerService.startService(self) + log.info("SERVICE:: Service started.") + + def stopService(self): + """ + Stop the service. Overridden from parent class to close connection to + database, shutdown the service and add extra logging information. + """ + log.info("SERVICE:: Stopping {} service.".format(self.name)) + log.debug("SERVICE:: Calling shutdown on {}".format(self.name)) + self.instance.shutdown() + log.debug("SERVICE:: Shutdown for {} done".format(self.name)) + internet.TimerService.stopService(self) + log.info("SERVICE:: Service stopped.") diff --git a/gettor/services/email/sendmail.py b/gettor/services/email/sendmail.py new file mode 100644 index 0000000..06e49b0 --- /dev/null +++ b/gettor/services/email/sendmail.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +# +# This file is part of GetTor, a Tor Browser distribution system. +# +# :authors: isra ilv@torproject.org +# see also AUTHORS file +# +# :copyright: (c) 2008-2014, The Tor Project, Inc. +# (c) 2014-2018, Israel Leiva +# +# :license: This is Free Software. See LICENSE for license information. + +from __future__ import absolute_import + +import gettext +import hashlib + +import configparser +from email import encoders +from email import mime +from twisted.internet import defer +from twisted.mail.smtp import sendmail + +from ...utils.db import DB +from ...utils.commons import log + + +class SMTPError(Exception): + """ + Error if we can't send emails. + """ + pass + + +class Sendmail(object): + """ + Class for sending email replies to `help` and `links` requests. + """ + def __init__(self, settings): + """ + Constructor. It opens and stores a connection to the database. + :dbname: reads from configs + """ + self.settings = settings + dbname = self.settings.get("dbname") + self.conn = DB(dbname) + + + def get_interval(self): + """ + Get time interval for service periodicity. + + :return: time interval (float) in seconds. + """ + return self.settings.get("sendmail_interval") + + + def sendmail_callback(self, message): + """ + Callback invoked after an email has been sent. + + :param message (string): Success details from the server. + """ + log.info("Email sent successfully.") + + def sendmail_errback(self, error): + """ + Errback if we don't/can't send the message. + """ + log.debug("Could not send email.") + raise SMTPError("{}".format(error)) + + def sendmail(self, email_addr, subject, body): + """ + Send an email message. It creates a plain text message, set headers + and content and finally send it. + + :param email_addr (str): email address of the recipient. + :param subject (str): subject of the message. + :param content (str): content of the message. + + :return: deferred whose callback/errback will handle the SMTP + execution details. + """ + log.debug("Creating plain text email") + message = MIMEText(body) + + message['Subject'] = subject + message['From'] = SENDMAIL_ADDR + message['To'] = email_addr + + log.debug("Calling asynchronous sendmail.") + + return sendmail( + SENDMAIL_HOST, SENDMAIL_ADDR, email_addr, message, + port=SENDMAIL_PORT, + requireAuthentication=True, requireTransportSecurity=True + ).addCallback(self.sendmail_callback).addErrback(self.sendmail_errback) + + + + @defer.inlineCallbacks + def get_new(self): + """ + Get new requests to process. This will define the `main loop` of + the Sendmail service. + """ + + # Manage help and links messages separately + help_requests = yield self.conn.get_requests( + status="ONHOLD", command="help", service="email" + ) + + link_requests = yield self.conn.get_requests( + status="ONHOLD", command="links", service="email" + ) + + + if help_requests: + try: + log.info("Got new help request.") + + # for now just english + en = gettext.translation( + 'email', localedir='locales', languages=['en'] + ) + en.install() + _ = en.gettext + + for request in help_requests: + id = request[0] + date = request[4] + + hid = hashlib.sha256(id) + log.info( + "Sending help message to {}.".format( + hid.hexdigest() + ) + ) + + yield self.sendmail( + email_addr=id, + subject=_("help_subject"), + body=_("help_body") + ) + + yield self.conn.update_stats( + command="help", service="email" + ) + + yield self.conn.update_request( + id=id, hid=hid.hexdigest(), status="SENT", + service="email", date=date + ) + + except SMTPError as e: + log.info("Error sending email: {}.".format(e)) + + elif link_requests: + try: + log.info("Got new links request.") + + # for now just english + en = gettext.translation( + 'email', localedir='locales', languages=['en'] + ) + en.install() + _ = en.gettext + + for request in link_requests: + id = request[0] + date = request[4] + platform = request[2] + + log.info("Getting links for {}.".format(platform)) + links = yield self.conn.get_links( + platform=platform, status="ACTIVE" + ) + + # build message + link_msg = None + for link in links: + provider = link[4] + version = link[3] + arch = link[2] + url = link[0] + + link_str = "Tor Browser {} for {}-{} ({}): {}".format( + version, platform, arch, provider, url + ) + + if link_msg: + link_msg = "{}\n{}".format(link_msg, link_str) + else: + link_msg = link_str + + body_msg = _("links_body") + body_msg = body_msg.format(links=link_msg) + subject_msg = _("links_subject") + + hid = hashlib.sha256(id) + log.info( + "Sending links to {}.".format( + hid.hexdigest() + ) + ) + + yield self.sendmail( + email_addr=id, + subject=subject_msg, + body=body_msg + ) + + yield self.conn.update_stats( + command="links", platform=platform, service="email" + ) + + yield self.conn.update_request( + id=id, hid=hid.hexdigest(), status="SENT", + service="email", date=date + ) + + except SMTPError as e: + log.info("Error sending email: {}.".format(e)) + else: + log.debug("No pending email requests. Keep waiting.") diff --git a/gettor/twitter.py b/gettor/services/twitter/twitter.py similarity index 99% rename from gettor/twitter.py rename to gettor/services/twitter/twitter.py index deced9b..b5e08ba 100644 --- a/gettor/twitter.py +++ b/gettor/services/twitter/twitter.py @@ -16,7 +16,7 @@ import re import tweepy import logging import gettext -import ConfigParser +import configparser
import core import utils diff --git a/gettor/xmpp.py b/gettor/services/xmpp/xmpp.py similarity index 99% rename from gettor/xmpp.py rename to gettor/services/xmpp/xmpp.py index 4df7ac9..ff5e207 100644 --- a/gettor/xmpp.py +++ b/gettor/services/xmpp/xmpp.py @@ -17,7 +17,7 @@ import time import gettext import hashlib import logging -import ConfigParser +import configparser
from sleekxmpp import ClientXMPP from sleekxmpp.xmlstream.stanzabase import JID diff --git a/gettor/smtp.py b/gettor/smtp.py deleted file mode 100644 index 32b43ae..0000000 --- a/gettor/smtp.py +++ /dev/null @@ -1,535 +0,0 @@ -# -*- coding: utf-8 -*- -# -# This file is part of GetTor, a Tor Browser distribution system. -# -# :authors: Israel Leiva ilv@riseup.net -# see also AUTHORS file -# -# :copyright: (c) 2008-2014, The Tor Project, Inc. -# (c) 2014, Israel Leiva -# -# :license: This is Free Software. See LICENSE for license information. - - -import os -import re -import sys -import time -import email -import gettext -import logging -import smtplib -import datetime -import ConfigParser - -from email import Encoders -from email.MIMEBase import MIMEBase -from email.mime.text import MIMEText -from email.MIMEMultipart import MIMEMultipart - -import core -import utils -import blacklist - -"""SMTP module for processing email requests.""" - -OS = { - 'osx': 'Mac OS X', - 'linux': 'Linux', - 'windows': 'Windows' -} - - -class ConfigError(Exception): - pass - - -class AddressError(Exception): - pass - - -class SendEmailError(Exception): - pass - - -class InternalError(Exception): - pass - - -class SMTP(object): - """Receive and reply requests by email. - - Public methods: - - process_email(): Process the email received. - - Exceptions: - - ConfigError: Bad configuration. - AddressError: Address of the sender malformed. - SendEmailError: SMTP server not responding. - InternalError: Something went wrong internally. - - """ - - def __init__(self, cfg=None): - """Create new object by reading a configuration file. - - :param: cfg (string) path of the configuration file. - - """ - default_cfg = 'smtp.cfg' - config = ConfigParser.ConfigParser() - - if cfg is None or not os.path.isfile(cfg): - cfg = default_cfg - - try: - with open(cfg) as f: - config.readfp(f) - except IOError: - raise ConfigError("File %s not found!" % cfg) - - try: - self.our_domain = config.get('general', 'our_domain') - self.mirrors = config.get('general', 'mirrors') - self.i18ndir = config.get('i18n', 'dir') - - logdir = config.get('log', 'dir') - logfile = os.path.join(logdir, 'smtp.log') - loglevel = config.get('log', 'level') - - blacklist_cfg = config.get('blacklist', 'cfg') - self.bl = blacklist.Blacklist(blacklist_cfg) - self.bl_max_req = config.get('blacklist', 'max_requests') - self.bl_max_req = int(self.bl_max_req) - self.bl_wait_time = config.get('blacklist', 'wait_time') - self.bl_wait_time = int(self.bl_wait_time) - - core_cfg = config.get('general', 'core_cfg') - self.core = core.Core(core_cfg) - - except ConfigParser.Error as e: - raise ConfigError("Configuration error: %s" % str(e)) - except blacklist.ConfigError as e: - raise InternalError("Blacklist error: %s" % str(e)) - except core.ConfigError as e: - raise InternalError("Core error: %s" % str(e)) - - # logging - log = logging.getLogger(__name__) - - logging_format = utils.get_logging_format() - date_format = utils.get_date_format() - formatter = logging.Formatter(logging_format, date_format) - - log.info('Redirecting SMTP logging to %s' % logfile) - logfileh = logging.FileHandler(logfile, mode='a+') - logfileh.setFormatter(formatter) - logfileh.setLevel(logging.getLevelName(loglevel)) - log.addHandler(logfileh) - - # stop logging on stdout from now on - log.propagate = False - self.log = log - - def _is_blacklisted(self, addr): - """Check if a user is blacklisted. - - :param: addr (string) the hashed address of the user. - - :return: true is the address is blacklisted, false otherwise. - - """ - - try: - self.bl.is_blacklisted( - addr, 'SMTP', self.bl_max_req, self.bl_wait_time - ) - return False - except blacklist.BlacklistError as e: - return True - - def _get_lc(self, addr): - """Get the locale from an email address. - - Process the email received and look for the locale in the recipient - address (e.g. gettor+en@torproject.org). If no locale found, english - by default. - - :param: (string) the email address we want to get the locale from. - - :return: (string) the locale (english if none). - - """ - # if no match found, english by default - lc = 'en' - - # look for gettor+locale@torproject.org - m = re.match('gettor+(\w\w)@\w+.\w+', addr) - if m: - # we found a request for locale lc - lc = "%s" % m.groups() - - return lc.lower() - - def _get_normalized_address(self, addr): - """Get normalized address. - - We look for anything inside the last '<' and '>'. Code taken from - the old GetTor (utils.py). - - :param: addr (string) the address we want to normalize. - - :raise: AddressError if the address can't be normalized. - - :return: (string) the normalized address. - - """ - if '<' in addr: - idx = addr.rindex('<') - addr = addr[idx:] - m = re.search(r'<([^>]*)>', addr) - if m is None: - # malformed address - raise AddressError("Couldn't extract normalized address " - "from %s" % self_get_sha256(addr)) - addr = m.group(1) - return addr - - def _get_content(self, email): - """Get the body content of an email. - - :param: email (object) the email object to extract the content from. - - :return: (string) body of the message. - - """ - # get the body content of the email - maintype = email.get_content_maintype() - if maintype == 'multipart': - for part in email.get_payload(): - if part.get_content_maintype() == 'text': - return part.get_payload() - elif maintype == 'text': - return email.get_payload() - - def _get_msg(self, msgid, lc): - """Get message identified by msgid in a specific locale. - - :param: msgid (string) the identifier of a string. - :param: lc (string) the locale. - - :return: (string) the message from the .po file. - - """ - # obtain the content in the proper language - try: - t = gettext.translation(lc, self.i18ndir, languages=[lc]) - _ = t.ugettext - - msgstr = _(msgid) - return msgstr - except IOError as e: - raise ConfigError("%s" % str(e)) - - def _parse_email(self, msg, addr): - """Parse the email received. - - Get the locale and parse the text for the rest of the info. - - :param: msg (string) the content of the email to be parsed. - :param: addr (string) the address of the recipient (i.e. us). - - :return: (list) 4-tuple with locale, os and type of request. - - """ - req = self._parse_text(msg) - lc = self._get_lc(addr) - supported_lc = self.core.get_supported_lc() - - if lc in supported_lc: - req['lc'] = lc - else: - req['lc'] = 'en' - - return req - - def _parse_text(self, msg): - """Parse the text part of the email received. - - Try to figure out what the user is asking, namely, the type - of request, the package and os required (if applies). - - :param: msg (string) the content of the email to be parsed. - - :return: (list) 3-tuple with the type of request, os and pt info. - - """ - # by default we asume the request is asking for help - req = {} - req['type'] = 'help' - req['os'] = None - - # core knows what OS are supported - supported_os = self.core.get_supported_os() - - # search for OS or mirrors request - # if nothing is found, help by default - found_request = False - words = re.split('\s+', msg.strip()) - for word in words: - if not found_request: - # OS first - for os in supported_os: - if re.match(os, word, re.IGNORECASE): - req['os'] = os - req['type'] = 'links' - found_request = True - break - # mirrors - if re.match("mirrors?", word, re.IGNORECASE): - req['type'] = 'mirrors' - found_request = True - else: - break - return req - - def _create_email(self, from_addr, to_addr, subject, msg): - """Create an email object. - - This object will be used to construct the reply. - - :param: from_addr (string) the address of the sender. - :param: to_addr (string) the address of the recipient. - :param: subject (string) the subject of the email. - :param: msg (string) the content of the email. - - :return: (object) the email object. - - """ - email_obj = MIMEMultipart() - email_obj.set_charset("utf-8") - email_obj['Subject'] = subject - email_obj['From'] = from_addr - email_obj['To'] = to_addr - - msg_attach = MIMEText(msg, 'plain') - email_obj.attach(msg_attach) - - return email_obj - - def _send_email(self, from_addr, to_addr, subject, msg, attach=None): - """Send an email. - - Take a 'from' and 'to' addresses, a subject and the content, creates - the email and send it. - - :param: from_addr (string) the address of the sender. - :param: to_addr (string) the address of the recipient. - :param: subject (string) the subject of the email. - :param: msg (string) the content of the email. - :param: attach (string) the path of the mirrors list. - - """ - email_obj = self._create_email(from_addr, to_addr, subject, msg) - - if(attach): - # for now, the only email with attachment is the one for mirrors - try: - part = MIMEBase('application', "octet-stream") - part.set_payload(open(attach, "rb").read()) - Encoders.encode_base64(part) - - part.add_header( - 'Content-Disposition', - 'attachment; filename="mirrors.txt"' - ) - - email_obj.attach(part) - except IOError as e: - raise SendEmailError('Error with mirrors: %s' % str(e)) - - try: - s = smtplib.SMTP("localhost") - s.sendmail(from_addr, to_addr, email_obj.as_string()) - s.quit() - except smtplib.SMTPException as e: - raise SendEmailError("Error with SMTP: %s" % str(e)) - - def _send_links(self, links, lc, os, from_addr, to_addr): - """Send links to the user. - - Get the message in the proper language (according to the locale), - replace variables and send the email. - - :param: links (string) the links to be sent. - :param: lc (string) the locale. - :param: os (string) the operating system. - :param: from_addr (string) the address of the sender. - :param: to_addr (string) the address of the recipient. - - """ - # obtain the content in the proper language and send it - try: - links_subject = self._get_msg('links_subject', 'en') - links_msg = self._get_msg('links_msg', 'en') - links_msg = links_msg % (OS[os], links) - - self._send_email( - from_addr, - to_addr, - links_subject, - links_msg, - None - ) - except ConfigError as e: - raise InternalError("Error while getting message %s" % str(e)) - except SendEmailError as e: - raise InternalError("Error while sending links message") - - def _send_mirrors(self, lc, from_addr, to_addr): - """Send mirrors message. - - Get the message in the proper language (according to the locale), - replace variables (if any) and send the email. - - :param: lc (string) the locale. - :param: from_addr (string) the address of the sender. - :param: to_addr (string) the address of the recipient. - - """ - # obtain the content in the proper language and send it - try: - mirrors_subject = self._get_msg('mirrors_subject', lc) - mirrors_msg = self._get_msg('mirrors_msg', lc) - - self._send_email( - from_addr, to_addr, mirrors_subject, mirrors_msg, self.mirrors - ) - except ConfigError as e: - raise InternalError("Error while getting message %s" % str(e)) - except SendEmailError as e: - raise InternalError("Error while sending mirrors message") - - def _send_help(self, lc, from_addr, to_addr): - """Send help message. - - Get the message in the proper language (according to the locale), - replace variables (if any) and send the email. - - :param: lc (string) the locale. - :param: from_addr (string) the address of the sender. - :param: to_addr (string) the address of the recipient. - - """ - # obtain the content in the proper language and send it - try: - help_subject = self._get_msg('help_subject', lc) - help_msg = self._get_msg('help_msg', lc) - - self._send_email(from_addr, to_addr, help_subject, help_msg, None) - except ConfigError as e: - raise InternalError("Error while getting message %s" % str(e)) - except SendEmailError as e: - raise InternalError("Error while sending help message") - - def process_email(self, raw_msg): - """Process the email received. - - Create an email object from the string received. The processing - flow is as following: - - - check for blacklisted address. - - parse the email. - - check the type of request. - - send reply. - - :param: raw_msg (string) the email received. - - :raise: InternalError if something goes wrong while asking for the - links to the Core module. - - """ - self.log.debug("Processing email") - parsed_msg = email.message_from_string(raw_msg) - content = self._get_content(parsed_msg) - from_addr = parsed_msg['From'] - to_addr = parsed_msg['To'] - bogus_request = False - status = '' - req = None - - try: - # two ways for a request to be bogus: address malformed or - # blacklisted - try: - self.log.debug("Normalizing address...") - norm_from_addr = self._get_normalized_address(from_addr) - except AddressError as e: - bogus_request = True - self.log.info('invalid; none; none') - - if norm_from_addr: - anon_addr = utils.get_sha256(norm_from_addr) - - if self._is_blacklisted(anon_addr): - bogus_request = True - self.log.info('blacklist; none; none') - - if not bogus_request: - # try to figure out what the user is asking - self.log.debug("Request seems legit; parsing it...") - req = self._parse_email(content, to_addr) - - # our address should have the locale requested - our_addr = "gettor+%s@%s" % (req['lc'], self.our_domain) - - # possible options: help, links, mirrors - if req['type'] == 'help': - self.log.debug("Trying to send help...") - self.log.info('help; none; %s' % req['lc']) - # make sure we can send emails - try: - self._send_help('en', our_addr, norm_from_addr) - except SendEmailError as e: - self.log.debug("FAILED: %s" % str(e)) - raise InternalError("Something's wrong with the SMTP " - "server: %s" % str(e)) - - elif req['type'] == 'mirrors': - self.log.debug("Trying to send the mirrors...") - self.log.info('mirrors; none; %s' % req['lc']) - # make sure we can send emails - try: - self._send_mirrors('en', our_addr, norm_from_addr) - except SendEmailError as e: - self.log.debug("FAILED: %s" % str(e)) - raise SendEmailError("Something's wrong with the SMTP " - "server: %s" % str(e)) - - elif req['type'] == 'links': - self.log.debug("Trying to obtain the links...") - self.log.info('links; %s; %s' % (req['os'], req['lc'])) - - try: - links = self.core.get_links( - 'SMTP', req['os'], req['lc'] - ) - # if core fails, we fail too - except (core.InternalError, core.ConfigError) as e: - self.log.debug("FAILED: %s" % str(e)) - # something went wrong with the core - raise InternalError("Error obtaining the links") - - # make sure we can send emails - self.log.debug("Trying to send the links...") - try: - self._send_links(links, req['lc'], req['os'], our_addr, - norm_from_addr) - except SendEmailError as e: - self.log.debug("FAILED: %s" % str(e)) - raise SendEmailError("Something's wrong with the SMTP " - "server: %s" % str(e)) - finally: - self.log.debug("Request processed") diff --git a/gettor/utils.py b/gettor/utils.py deleted file mode 100644 index 2780564..0000000 --- a/gettor/utils.py +++ /dev/null @@ -1,131 +0,0 @@ -# -*- coding: utf-8 -*- -# -# This file is part of GetTor, a Tor Browser distribution system. -# -# :authors: Israel Leiva ilv@riseup.net -# see also AUTHORS file -# -# :copyright: (c) 2008-2014, The Tor Project, Inc. -# (c) 2014, Israel Leiva -# -# :license: This is Free Software. See LICENSE for license information. - -import os -import re -import hashlib - -"""Common utilities for GetTor modules.""" - - -LOGGING_FORMAT = "[%(levelname)s] %(asctime)s; %(message)s" -DATE_FORMAT = "%Y-%m-%d" # %H:%M:%S - -windows_regex = '^torbrowser-install-\d.\d(.\d)?_(\w\w)(-\w\w)?.exe$' -linux_regex = '^tor-browser-linux(\d\d)-\d.\d(.\d)?_(\w\w)(-\w\w)?.tar.xz$' -osx_regex = '^TorBrowser-\d.\d(.\d)?-osx\d\d_(\w\w)(-\w\w)?.dmg$' - - -def get_logging_format(): - """Get the logging format. - - :return: (string) the logging format. - - """ - return LOGGING_FORMAT - - -def get_date_format(): - """Get the date format for logging. - - :return: (string) the date format for logging. - - """ - return DATE_FORMAT - - -def get_sha256(string): - """Get sha256 of a string. - - :param: (string) the string to be hashed. - - :return: (string) the sha256 of string. - - """ - return str(hashlib.sha256(string).hexdigest()) - - -def get_bundle_info(filename, osys=None): - """Get the os, arch and lc from a bundle string. - - :param: file (string) the name of the file. - :param: osys (string) the OS. - - :raise: ValueError if the bundle doesn't have a valid bundle format. - - :return: (list) the os, arch and lc. - - """ - m_windows = re.search(windows_regex, filename) - m_linux = re.search(linux_regex, filename) - m_osx = re.search(osx_regex, filename) - - if m_windows: - return 'windows', '32/64', m_windows.group(2) - elif m_linux: - return 'linux', m_linux.group(1), m_linux.group(3) - elif m_osx: - return 'osx', '64', m_osx.group(2) - else: - raise ValueError("Invalid bundle format %s" % file) - - -def valid_format(filename, osys=None): - """Check for valid bundle format - - Check if the given file has a valid bundle format - (e.g. tor-browser-linux32-3.6.2_es-ES.tar.xz) - - :param: file (string) the name of the file. - - :return: (boolean) true if the bundle format is valid, false otherwise. - - """ - m_windows = re.search(windows_regex, filename) - m_linux = re.search(linux_regex, filename) - m_osx = re.search(osx_regex, filename) - if any((m_windows, m_linux, m_osx)): - return True - else: - return False - - -def get_file_sha256(file): - """Get the sha256 of a file. - - :param: file (string) the path of the file. - - :return: (string) the sha256 hash. - - """ - # as seen on the internetz - BLOCKSIZE = 65536 - hasher = hashlib.sha256() - with open(file, 'rb') as afile: - buf = afile.read(BLOCKSIZE) - while len(buf) > 0: - hasher.update(buf) - buf = afile.read(BLOCKSIZE) - return hasher.hexdigest() - - -def find_files_to_upload(upload_dir): - """ - Find the files which are named correctly and have a .asc file - """ - files = [] - for name in os.listdir(upload_dir): - asc_file = os.path.join(upload_dir, "{}.asc".format(name)) - if valid_format(name) and os.path.isfile(asc_file): - files.extend([name, "{}.asc".format(name)]) - - return files diff --git a/gettor/blacklist.py b/gettor/utils/blacklist.py similarity index 99% rename from gettor/blacklist.py rename to gettor/utils/blacklist.py index 635d9a7..0223fc3 100644 --- a/gettor/blacklist.py +++ b/gettor/utils/blacklist.py @@ -15,7 +15,7 @@ import time import logging import sqlite3 import datetime -import ConfigParser +import configparser
import db import utils diff --git a/gettor/utils/commons.py b/gettor/utils/commons.py new file mode 100644 index 0000000..212c4bb --- /dev/null +++ b/gettor/utils/commons.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +# +# This file is part of GetTor, a Tor Browser distribution system. +# +# :authors: isra ilv@torproject.org +# see also AUTHORS file +# +# :copyright: (c) 2008-2014, The Tor Project, Inc. +# (c) 2014-2018, Israel Leiva +# +# :license: This is Free Software. See LICENSE for license information. + +from twisted.logger import Logger +from twisted.enterprise import adbapi +from twisted.application import internet + +# Define an application logger +log = Logger(namespace="gettor") + +class BaseService(internet.TimerService): + """ + Base service for Email and Sendmail. It extends the TimerService. + """ + + def __init__(self, name, step, instance, *args, **kwargs): + """ + Constructor. + + :param name (str): name of the service (just for logging purposes). + :param step (float): time interval for TimerService, in seconds. + :param instance (object): instance of Email, Sendmail classes + """ + + log.info("SERVICE:: Initializing {} service.".format(name)) + self.name = name + self.instance = instance + log.debug("SERVICE:: Initializing TimerService.") + internet.TimerService.__init__( + self, step, self.instance.get_new, **kwargs + ) + + def startService(self): + """ + Starts the service. Overridden from parent class to add extra logging + information. + """ + log.info("SERVICE:: Starting {} service.".format(self.name)) + internet.TimerService.startService(self) + log.info("SERVICE:: Service started.") + + def stopService(self): + """ + Stop the service. Overridden from parent class to close connection to + database, shutdown the service and add extra logging information. + """ + log.info("SERVICE:: Stopping {} service.".format(self.name)) + internet.TimerService.stopService(self) + log.info("SERVICE:: Service stopped.") diff --git a/gettor/db.py b/gettor/utils/db.py similarity index 97% rename from gettor/db.py rename to gettor/utils/db.py index 7a595a3..2d40f5d 100644 --- a/gettor/db.py +++ b/gettor/utils/db.py @@ -39,14 +39,11 @@ class DB(object): """
def __init__(self, dbname): - """Create a new db object. - - :param: dbname (string) the path of the database. - + """Create a new db object. + :param: dbname (string) the path of the database. """ self.dbname = dbname
- def connect(self): """ """ try: diff --git a/gettor/utils/options.py b/gettor/utils/options.py new file mode 100644 index 0000000..e8e2996 --- /dev/null +++ b/gettor/utils/options.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + parser = argparse.ArgumentParser(formatter_class=lambda prog: argparse.HelpFormatter(prog,max_help_position=28)) + parser.add_argument('--config', metavar='config', please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +import argparse + +from .settings import Settings +from . import strings + +def load_settings(config=None): + """ + Loading settings, optionally from a custom config json file. + """ + settings = Settings(config) + settings.load() + return settings + +def parse_settings(): + strings.load_strings("en") + + return load_settings(config=False) diff --git a/gettor/utils/settings.py b/gettor/utils/settings.py new file mode 100644 index 0000000..ebce5c6 --- /dev/null +++ b/gettor/utils/settings.py @@ -0,0 +1,62 @@ +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +import json +import os +import platform +import locale + + +from . import strings + + +class Settings(object): + """ + This class stores all of the settings for GetTor + """ + def __init__(self, config=False): + + # Default config + self.filename = self.build_filename() + # If a readable config file was provided, use that instead + if config: + if os.path.isfile(config): + self.filename = config + + # Dictionary of available languages, + # mapped to the language name, in that language + self._available_locales = strings.get_locales() + self._version = strings.get_version() + self._settings = {} + + def build_filename(self): + """ + Returns the path of the settings file. + """ + return strings.get_resource_path('gettor.conf.json', strings.find_run_dir()) + + def load(self): + """ + Load the settings from file. + """ + + # If the settings file exists, load it + if os.path.exists(self.filename): + try: + with open(self.filename, 'r') as f: + self._settings = json.load(f) + except: + pass + + + def get(self, key): + return self._settings[key] diff --git a/gettor/utils/strings.py b/gettor/utils/strings.py new file mode 100644 index 0000000..1cf0003 --- /dev/null +++ b/gettor/utils/strings.py @@ -0,0 +1,122 @@ +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +import json +import locale +import os +import inspect + +strings = {} +translations = {} + +_rundir = None + +def setRundir(path): + """Set the absolute path to the runtime directory. + + See :meth:`BaseOptions.postOptions`. + + :param string path: The path to set. + """ + global _rundir + _rundir = path + +def getRundir(): + """Get the absolute path to the runtime directory. + + :rtype: string + :returns: The path to the config file. + """ + return _rundir + +def find_run_dir(rundir=None): + """Get the absolute path to the runtime directory. + + :rtype: string + :returns: The path to the config file. + """ + gRundir = getRundir() + + if gRundir is None: + if rundir is not None: + gRundir = os.path.abspath(os.path.expanduser(rundir)) + else: + gRundir = os.getcwd() + setRundir(gRundir) + + if not os.path.isdir(gRundir): # pragma: no cover + raise usage.UsageError( + "Could not change to runtime directory: `%s'" % gRundir) + + return gRundir + +def get_resource_path(filename, path): + """ + Returns the absolute path of a resource + """ + rundir = find_run_dir() + prefix = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))), path) + prefix = os.path.join(rundir, prefix) + if not os.path.exists(prefix): + prefix = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(prefix)))), path) + + return os.path.join(prefix, filename) + +def get_version(): + # The current version + version = "" + with open(get_resource_path('version.txt', '../share')) as f: + version = f.read().strip() + return version + +def get_locales(): + filename = get_resource_path("available_locales.json", '../share/locale') + locales = {} + with open(filename, encoding='utf-8') as f: + locales = json.load(f) + return locales + +def load_strings(current_locale): + """ + Loads translated strings and fallback to English + if the translation does not exist. + """ + global strings, translations + + # Load all translations + translations = {} + available_locales = get_locales() + + for locale in available_locales: + + filename = get_resource_path("{}.json".format(locale), '../share/locale') + with open(filename, encoding='utf-8') as f: + translations[locale] = json.load(f) + + # Build strings + default_locale = 'en' + + strings = {} + for s in translations[default_locale]: + if s in translations[current_locale] and translations[current_locale][s] != "": + strings[s] = translations[current_locale][s] + else: + strings[s] = translations[default_locale][s] + + +def translated(k): + """ + Returns a translated string. + """ + return strings[k] + +_ = translated diff --git a/gettor/http.py b/gettor/web/http.py similarity index 99% rename from gettor/http.py rename to gettor/web/http.py index 081b81c..77120d6 100644 --- a/gettor/http.py +++ b/gettor/web/http.py @@ -15,7 +15,7 @@ import re import json import codecs import urllib2 -import ConfigParser +import configparser
from time import gmtime, strftime
diff --git a/scripts/create_db b/scripts/create_db new file mode 100755 index 0000000..582c9df --- /dev/null +++ b/scripts/create_db @@ -0,0 +1,154 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# This file is part of GetTor, a Tor Browser distribution system. +# +# :authors: isra ilv@torproject.org +# see also AUTHORS file +# +# :license: This is Free Software. See LICENSE for license information. + +import os +import sys +import sqlite3 +import argparse +import subprocess + +from shutil import move + +def print_header(): + header = """ + __ __ + /\ __ /\ __ + __ __\ \ ,_\\ \ ,_\ ____ _ __ + /'_ `\ /'__`\ \ / \ \ / / __ `/`'__\ + /\ \L\ /\ __/\ \ _ \ \ \ /\ \L\ \ \ / + \ ____ \ ____\__\ \ \ __\ _____/\ _\ + /___L\ /____/ /__/ /__//___/ /_/ + /_____/ + _/___/ + + """ + print("") + print("@"*100) + print("@"*100) + print(header) + print("@"*100) + print("") + +def print_footer(): + print("") + print("@"*100) + print("@"*100) + print("") + +def main(): + + parser = argparse.ArgumentParser( + description="Tool to create the gettor SQLite database." + ) + + parser.add_argument( + "-f", "--filename", default="gettor.db", metavar="gettor.db", + help="Database filename." + ) + + parser.add_argument( + "-n", "--new", action="store_true", + help="Create new database file.") + + parser.add_argument( + "-o", "--overwrite", action="store_true", + help="Overwrite existing database file." + ) + + parser.add_argument( + "-c", "--clear", action="store_true", + help="Clear database." + ) + + args = parser.parse_args() + abs_filename = os.path.abspath(args.filename) + + if not abs_filename: + print("Missing database filename.") + elif args.new and not args.overwrite and os.path.isfile(abs_filename): + print("Database file already exists. Use -o to overwrite.") + elif args.new: + conn = sqlite3.connect(abs_filename) + with conn: + c = conn.cursor() + c.execute("DROP TABLE IF EXISTS requests") + c.execute("DROP TABLE IF EXISTS links") + c.execute("DROP TABLE IF EXISTS stats") + c.execute( + "CREATE TABLE requests(id TEXT, command TEXT, platform TEXT," + " service TEXT, date TEXT, status TEXT)" + ) + c.execute( + "CREATE TABLE links(link TEXT, platform TEXT, arch TEXT," + " version TEXT, provider TEXT, status TEXT)" + ) + c.execute( + "CREATE TABLE stats(num_requests NUMBER, platform TEXT, " + "command TEXT, service TEXT, date TEXT)" + ) + print("Database {} created.".format(abs_filename)) + elif args.clear: + print("Shredding database file.") + + if not abs_filename: + print("Database file does not exist.") + + else: + move(abs_filename, "{}.tmp".format(abs_filename)) + + if os.path.isfile("{}.tmp".format(abs_filename)): + print("Database moved to {}.tmp.".format( + abs_filename + )) + + conn = sqlite3.connect(abs_filename) + with conn: + c = conn.cursor() + c.execute("DROP TABLE IF EXISTS requests") + c.execute("DROP TABLE IF EXISTS links") + c.execute("DROP TABLE IF EXISTS stats") + c.execute( + "CREATE TABLE requests(id TEXT, command TEXT, " + "platform TEXT, service TEXT, date TEXT, status TEXT," + "PRIMARY KEY(id, date))" + ) + c.execute( + "CREATE TABLE links(link TEXT, platform TEXT, " + "arch TEXT, version TEXT, provider TEXT, status TEXT," + "PRIMARY KEY(platform, arch, version, provider, status))" + ) + c.execute( + "CREATE TABLE stats(date TEXT PRIMARY KEY, " + "num_requests INTEGER, platform TEXT, command TEXT, " + "service TEXT)" + ) + print("New database {} created.".format(abs_filename)) + + cmd = subprocess.call( + [ + "shred", "-z", "-n", "100", "-u", "{}.tmp".format( + abs_filename + ) + ] + ) + + if cmd: + sys.exit("Error while shredding database file.") + else: + print("Database file {}.tmp shredded.".format(abs_filename)) + else: + print("Could not create temporary database file.") + + + +if __name__ == "__main__": + print_header() + main() + print_footer diff --git a/scripts/gettor b/scripts/gettor new file mode 100644 index 0000000..4b12161 --- /dev/null +++ b/scripts/gettor @@ -0,0 +1,30 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +from __future__ import print_function + +import os.path +import sys + +from os import getcwd + +from twisted.application import service + +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + +from gettor.main import run + +gettor = service.MultiService() +application = service.Application("gettor") + +run(gettor, application) diff --git a/setup.py b/setup.py index e69de29..4764aa2 100644 --- a/setup.py +++ b/setup.py @@ -0,0 +1,257 @@ +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +from __future__ import print_function + +import os +import setuptools +import sys + + +def get_cmdclass(): + """Get our cmdclass dictionary for use in setuptool.setup(). + + This must be done outside the call to setuptools.setup() because we need + to add our own classes to the cmdclass dictionary, and then update that + dictionary with the one returned from versioneer.get_cmdclass(). + """ + cmdclass = {'test': Trial, + 'compile_catalog': compile_catalog, + 'extract_messages': extract_messages, + 'init_catalog': init_catalog, + 'update_catalog': update_catalog} + cmdclass.update(versioneer.get_cmdclass()) + return cmdclass + + +def get_requirements(): + """Extract the list of requirements from our requirements.txt. + + :rtype: 2-tuple + :returns: Two lists, the first is a list of requirements in the form of + pkgname==version. The second is a list of URIs or VCS checkout strings + which specify the dependency links for obtaining a copy of the + requirement. + """ + requirements_file = os.path.join(os.getcwd(), 'requirements.txt') + requirements = [] + links=[] + try: + with open(requirements_file) as reqfile: + for line in reqfile.readlines(): + line = line.strip() + if line.startswith('#'): + continue + if line.startswith(('git+', 'hg+', 'svn+')): + line = line[line.index('+') + 1:] + if line.startswith( + ('https://', 'git://', 'hg://', 'svn://')): + links.append(line) + else: + requirements.append(line) + + except (IOError, OSError) as error: + print(error) + + return requirements, links + + +def get_template_files(): + """Return the paths to any web resource files to include in the package. + + :rtype: list + :returns: Any files in :attr:`repo_templates` which match one of the glob + patterns in :ivar:`include_patterns`. + """ + include_patterns = ['*.html', + '*.txt', + '*.asc', + 'share/*.png', + 'share/*.svg', + 'share/css/*.css', + 'share/fonts/*.woff', + 'share/fonts/*.ttf', + 'share/fonts/*.svg', + 'share/fonts/*.eot', + 'share/images/*.svg'] + template_files = [] + + for include_pattern in include_patterns: + pattern = os.path.join(repo_templates, include_pattern) + matches = glob(pattern) + template_files.extend(matches) + + return template_files + + +def get_data_files(filesonly=False): + """Return any hard-coded data_files which should be distributed. + + This is necessary so that both the distutils-derived :class:`installData` + class and the setuptools ``data_files`` parameter include the same files. + Call this function with ``filesonly=True`` to get a list of files suitable + for giving to the ``package_data`` parameter in ``setuptools.setup()``. + Or, call it with ``filesonly=False`` (the default) to get a list which is + suitable for using as ``distutils.command.install_data.data_files``. + + :param bool filesonly: If true, only return the locations of the files to + install, not the directories to install them into. + :rtype: list + :returns: If ``filesonly``, returns a list of file paths. Otherwise, + returns a list of 2-tuples containing: one, the directory to install + to, and two, the files to install to that directory. + """ + data_files = [] + doc_files = ['README', 'TODO', 'LICENSE', 'requirements.txt'] + lang_dirs, lang_files = get_supported_langs() + template_files = get_template_files() + + if filesonly: + data_files.extend(doc_files) + for lst in lang_files, template_files: + for filename in lst: + if filename.startswith(pkgpath): + # The +1 gets rid of the '/' at the beginning: + filename = filename[len(pkgpath) + 1:] + data_files.append(filename) + else: + data_files.append((install_docs, doc_files)) + for ldir, lfile in zip(lang_dirs, lang_files): + data_files.append((ldir, [lfile,])) + + #[sys.stdout.write("Added data_file '%s'\n" % x) for x in data_files] + + return data_files + + +class Trial(setuptools.Command): + """Twisted Trial setuptools command. + + Based on the setuptools Trial command in Zooko's Tahoe-LAFS, as well as + https://github.com/simplegeo/setuptools-trial/ (which is also based on the + Tahoe-LAFS code). + + Pieces of the original implementation of this 'test' command (that is, for + the original pyunit-based gettor tests which, a long time ago, in a + galaxy far far away, lived in gettor.Tests) were based on setup.py from + Nick Mathewson's mixminion, which was based on the setup.py from Zooko's + pyutil package, which was in turn based on + http://mail.python.org/pipermail/distutils-sig/2002-January/002714.html. + + Crusty, old-ass Python, like hella wut. + """ + description = "Run Twisted Trial-based tests." + user_options = [ + ('debug', 'b', ("Run tests in a debugger. If that debugger is pdb, will " + "load '.pdbrc' from current directory if it exists.")), + ('debug-stacktraces', 'B', "Report Deferred creation and callback stack traces"), + ('debugger=', None, ("The fully qualified name of a debugger to use if " + "--debug is passed (default: pdb)")), + ('disablegc', None, "Disable the garbage collector"), + ('force-gc', None, "Have Trial run gc.collect() before and after each test case"), + ('jobs=', 'j', "Number of local workers to run, a strictly positive integer"), + ('profile', None, "Run tests under the Python profiler"), + ('random=', 'Z', "Run tests in random order using the specified seed"), + ('reactor=', 'r', "Which reactor to use"), + ('reporter=', None, "Customize Trial's output with a reporter plugin"), + ('rterrors', 'e', "Realtime errors: print out tracebacks as soon as they occur"), + ('spew', None, "Print an insanely verbose log of everything that happens"), + ('testmodule=', None, "Filename to grep for test cases (-*- test-case-name)"), + ('tbformat=', None, ("Specify the format to display tracebacks with. Valid " + "formats are 'plain', 'emacs', and 'cgitb' which uses " + "the nicely verbose stdlib cgitb.text function")), + ('unclean-warnings', None, "Turn dirty reactor errors into warnings"), + ('until-failure', 'u', "Repeat a test (specified by -s) until it fails."), + ('without-module='python3 setup.py test'', None, ("Fake the lack of the specified modules, separated " + "with commas")), + ] + boolean_options = ['debug', 'debug-stacktraces', 'disablegc', 'force-gc', + 'profile', 'rterrors', 'spew', 'unclean-warnings', + 'until-failure'] + + def initialize_options(self): + self.debug = None + self.debug_stacktraces = None + self.debugger = None + self.disablegc = None + self.force_gc = None + self.jobs = None + self.profile = None + self.random = None + self.reactor = None + self.reporter = None + self.rterrors = None + self.spew = None + self.testmodule = None + self.tbformat = None + self.unclean_warnings = None + self.until_failure = None + self.without_module = None + + def finalize_options(self): + build = self.get_finalized_command('build') + self.build_purelib = build.build_purelib + self.build_platlib = build.build_platlib + + def run(self): + self.run_command('build') + old_path = sys.path[:] + sys.path[0:0] = [self.build_purelib, self.build_platlib] + + result = 1 + try: + result = self.run_tests() + finally: + sys.path = old_path + raise SystemExit(result) + + def run_tests(self): + # We do the import from Twisted inside the function instead of the top + # of the file because since Twisted is a setup_requires, we can't + # assume that Twisted will be installed on the user's system prior, so + # if we don't do the import here, then importing from this plugin will + # fail. + from twisted.scripts import trial + + if not self.testmodule: + self.testmodule = "test" + + # Handle parsing the trial options passed through the setuptools + # trial command. + cmd_options = [] + for opt in self.boolean_options: + if getattr(self, opt.replace('-', '_'), None): + cmd_options.append('--%s' % opt) + + for opt in ('debugger', 'jobs', 'random', 'reactor', 'reporter', + 'testmodule', 'tbformat', 'without-module'): + value = getattr(self, opt.replace('-', '_'), None) + if value is not None: + cmd_options.extend(['--%s' % opt, value]) + + config = trial.Options() + config.parseOptions(cmd_options) + config['tests'] = [self.testmodule,] + + trial._initialDebugSetup(config) + trialRunner = trial._makeRunner(config) + suite = trial._getSuite(config) + + # run the tests + if self.until_failure: + test_result = trialRunner.runUntilFailure(suite) + else: + test_result = trialRunner.run(suite) + + if test_result.wasSuccessful(): + return 0 # success + return 1 # failure diff --git a/css/bootstrap.min.css b/share/css/bootstrap.min.css similarity index 100% rename from css/bootstrap.min.css rename to share/css/bootstrap.min.css diff --git a/css/gettor.css b/share/css/gettor.css similarity index 100% rename from css/gettor.css rename to share/css/gettor.css diff --git a/share/locale/available_locales.json b/share/locale/available_locales.json new file mode 100644 index 0000000..a259b5c --- /dev/null +++ b/share/locale/available_locales.json @@ -0,0 +1,3 @@ +{ + "en": "English" +} diff --git a/share/locale/en.json b/share/locale/en.json index e69de29..8269490 100644 --- a/share/locale/en.json +++ b/share/locale/en.json @@ -0,0 +1,12 @@ +{ + "help_debug": "Log application errors to stdout", + "help_config": "Custom config file location (optional)", + "smtp_links_subject": "[GetTor] Links for your request", + "smtp_mirrors_subject": "[GetTor] Mirrors", + "smtp_help_subject": "[GetTor] Help", + "smtp_unsupported_locale_subject": "[GetTor] Unsupported locale", + "smtp_unsupported_locale_msg": "The locale you requested '%s' is not supported.", + "smtp_vlinks_msg": "You requested Tor Browser for %s.\n \nYou will need only one of the links below to download the bundle. If a link does not work for you, try the next one.\n \n%s\n \n \n--\nGetTor", + "smtp_mirrors_msg": "Hi! this is the GetTor robot.\n \nThank you for your request. Attached to this email you will find\nan updated list of mirrors of Tor Project's website.", + "smtp_help_msg": "Hi! This is the GetTor robot. I am here to help you download the\nlatest version of Tor Browser.\n \nPlease reply to this message with one of the options below:\n \nwindows\nlinux\nosx\nmirrors\n \nI will then send you the download instructions.\n \nIf you are unsure, just send a blank reply to this message." +} diff --git a/share/version.txt b/share/version.txt new file mode 100644 index 0000000..aa8add4 --- /dev/null +++ b/share/version.txt @@ -0,0 +1 @@ +2.0.dev1 diff --git a/gettor.conf b/test/__init__.py similarity index 100% rename from gettor.conf rename to test/__init__.py diff --git a/test/test_email_service.py b/test/test_email_service.py new file mode 100644 index 0000000..8b0e5bd --- /dev/null +++ b/test/test_email_service.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +""" +This file is part of GetTor, a service providing alternative methods to download +the Tor Browser. + +:authors: Hiro hiro@torproject.org + please also see AUTHORS file +:copyright: (c) 2008-2014, The Tor Project, Inc. + (c) 2014, all entities within the AUTHORS file +:license: see included LICENSE for information +""" + +from __future__ import print_function +from .gettor.utils import options + +class EmailServiceTests(unittest.TestCase): + + # Fail any tests which take longer than 15 seconds. + timeout = 15 + def setUp(self): + self.setings = options.parse_settings() + + def test_SendMail(self): + sendmail = Sendmail(self.settings) + mail = Sendmail.sendmail("gettor@torproject.org", "Hello", "This is a test.") + print(email) + self.assertEqual(mail, True)