Module Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A os nagcat.unittests.queries QueryTestCase nagcat errors SubprocessQueryTestCase N/A QueryTestCase N/A testBasic N/A N/A self N/A N/A N/A N/A q d N/A N/A self startQuery2 type subprocess command echo hello N/A N/A N/A d addCallback N/A self assertEquals hello
 N/A N/A N/A d addCallback N/A N/A N/A x N/A N/A N/A self assert_ N/A Process stderr N/A q saved N/A d N/A testStderr N/A N/A self N/A N/A N/A N/A q d N/A N/A self startQuery2 type subprocess command echo stderr >&2 N/A N/A N/A d addCallback N/A self assertEquals N/A N/A N/A d addCallback N/A N/A N/A x N/A N/A N/A self assertEquals N/A N/A q saved N/A Process stderr stderr
 N/A d N/A testTrue N/A N/A self N/A N/A N/A d N/A N/A self startQuery type subprocess command true N/A N/A N/A d addCallback N/A self assertEquals N/A d N/A testFalse N/A N/A self N/A N/A check N/A N/A result N/A N/A N/A N/A N/A self assertIsInstance result N/A errors Failure N/A N/A N/A self assertIsInstance N/A result value N/A errors TestCritical N/A N/A d N/A N/A self startQuery type subprocess command false N/A N/A N/A d addBoth check N/A d N/A testEnvGood N/A N/A self N/A N/A N/A c N/A type command environment subprocess simple_subprocess N/A PATH N/A N/A N/A os path dirname __file__ N/A d N/A N/A self startQuery c N/A N/A N/A d addCallback N/A self assertEquals N/A d N/A testEnvBad N/A N/A self N/A N/A check N/A N/A result N/A N/A N/A N/A N/A self assertIsInstance result N/A errors Failure N/A N/A N/A self assertIsInstance N/A result value N/A errors TestCritical N/A N/A d N/A N/A self startQuery type subprocess command simple_subprocess N/A N/A N/A d addBoth check N/A d N/A N/A NagiosPluginQueryTestCase N/A QueryTestCase N/A testOK N/A N/A self N/A N/A N/A d N/A N/A self startQuery type nagios_plugin command echo hello N/A N/A N/A d addCallback N/A self assertEquals hello
 N/A d N/A testWarning N/A N/A self N/A N/A check N/A N/A reason N/A N/A N/A N/A N/A self assertIsInstance reason N/A errors Failure N/A N/A N/A self assertIsInstance N/A reason value N/A errors TestWarning N/A N/A N/A self assertEquals N/A reason result hello
 N/A N/A d N/A N/A self startQuery type nagios_plugin command echo hello; exit 1 N/A N/A N/A d addBoth check N/A d N/A testCritical N/A N/A self N/A N/A check N/A N/A reason N/A N/A N/A N/A N/A self assertIsInstance reason N/A errors Failure N/A N/A N/A self assertIsInstance N/A reason value N/A errors TestCritical N/A N/A N/A self assertEquals N/A reason result hello
 N/A N/A d N/A N/A self startQuery type nagios_plugin command echo hello; exit 2 N/A N/A N/A d addBoth check N/A d N/A testUnknown N/A N/A self N/A N/A check N/A N/A reason N/A N/A N/A N/A N/A self assertIsInstance reason N/A errors Failure N/A N/A N/A self assertIsInstance N/A reason value N/A errors TestUnknown N/A N/A N/A self assertEquals N/A reason result hello
 N/A N/A d N/A N/A self startQuery type nagios_plugin command echo hello; exit 3 N/A N/A N/A d addBoth check N/A d N/A testUnknown2 N/A N/A self N/A N/A check N/A N/A reason N/A N/A N/A N/A N/A self assertIsInstance reason N/A errors Failure N/A N/A N/A self assertIsInstance N/A reason value N/A errors TestUnknown N/A N/A N/A self assertEquals N/A reason result hello
 N/A N/A d N/A N/A self startQuery type nagios_plugin command echo hello; exit 4 N/A N/A N/A d addBoth check N/A d N/A N/A