Parameters: |
- expected_patched_modules (list/tuple/iterable) – list of modules to check to ensure that
they are patched (and to warn if they
are not); these names should correspond
to the names passed into the eventlet
monkey_patch() routine. If not provided
then all the modules that could be
patched are checked. The currently valid
selection is one or multiple of
[‘MySQLdb’, ‘__builtin__’, ‘all’, ‘os’,
‘psycopg’, ‘select’, ‘socket’, ‘thread’,
‘time’] (where ‘all’ has an inherent
special meaning).
- what (string) – string to merge into the warnings message to identify
what is being checked (used in forming the emitted warnings
message).
|