Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Num Num Num Num Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A test CollectorTestCase test get_collector_config test unittest mock Mock mock patch diamond.collector Collector supervisord SupervisordCollector TestSupervisordCollector N/A CollectorTestCase N/A setUp N/A N/A self N/A N/A N/A config N/A get_collector_config SupervisordCollector N/A N/A N/A self collector N/A SupervisordCollector config None N/A N/A N/A self assertTrue N/A self collector N/A test_import N/A N/A self N/A N/A N/A N/A N/A self assertTrue SupervisordCollector N/A test_success N/A N/A self publish_mock N/A N/A N/A N/A N/A self collector getAllProcessInfo N/A Mock return_value N/A eval N/A N/A N/A N/A self getFixture valid_fixture getvalue N/A N/A N/A N/A self collector collect N/A metrics N/A test_group.test_name_1.state test_group.test_name_1.uptime test_group.test_name_2.state test_group.test_name_2.uptime 20 5 200 500 N/A N/A N/A self setDocExample collector N/A N/A N/A self collector __class__ __name__ metrics metrics defaultpath N/A N/A N/A self collector config N/A path N/A N/A N/A self assertPublishedMany publish_mock metrics N/A N/A N/A patch object Collector publish N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main