Module Expr Str ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str BoolOpAnd Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad orelse For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list
N/A N/A django-nose utility methods. __future__ unicode_literals process_tests N/A N/A suite process N/A N/A N/A Find and process the suite with setup/teardown methods.

    Given a nested disaster of [Lazy]Suites, traverse to the first level
    that has setup or teardown, and do something to them.

    If we were to traverse all the way to the leaves (the Tests)
    indiscriminately and return them, when the runner later calls them, they'd
    run without reference to the suite that contained them, so they'd miss
    their class-, module-, and package-wide setup and teardown routines.

    The nested suites form basically a double-linked tree, and suites will call
    up to their containing suites to run their setups and teardowns, but it
    would be hubris to assume that something you saw fit to setup or teardown
    at the module level is less costly to repeat than DB fixtures. Also, those
    sorts of setups and teardowns are extremely rare in our code. Thus, we
    limit the granularity of bucketing to the first level that has setups or
    teardowns.

    :arg process: The thing to call once we get to a leaf or a test with setup
        or teardown
     N/A N/A N/A N/A hasattr suite _tests N/A N/A hasattr suite hasFixtures N/A N/A suite hasFixtures N/A N/A N/A process suite N/A N/A t N/A suite _tests N/A N/A N/A process_tests t process N/A is_subclass_at_all N/A N/A cls class_info N/A N/A N/A Return whether ``cls`` is a subclass of ``class_info``.

    Even if ``cls`` is not a class, don't crash. Return False instead.

     N/A N/A N/A N/A issubclass cls class_info N/A N/A N/A TypeError N/A N/A False N/A uses_mysql N/A N/A connection N/A N/A N/A Return whether the connection represents a MySQL DB. N/A N/A mysql N/A N/A connection settings_dict N/A ENGINE N/A