Module TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return ListLoad Str Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad ListLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str keyword Call NameLoad Str Assign AttributeStore NameLoad attr ListLoad TupleLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad Num Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str Str Str decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Str keyword Call NameLoad Str Assign AttributeStore NameLoad attr ListLoad TupleLoad Call NameLoad NameLoad TupleLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad Num Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str Str Str decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str
N/A N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A io StringIO N/A mock N/A pytest dcos.errors DCOSException dcos.mesos MesosFile shpkpr.cli logger shpkpr.files log_files shpkpr.mesos MesosClient MockLogger N/A N/A logger Logger N/A __init__ N/A N/A self N/A N/A N/A N/A self buffer N/A StringIO N/A N/A MockFuture N/A object N/A result N/A N/A self N/A N/A N/A N/A AAAAA BBBBB CCCCC N/A N/A MockFutureException N/A object N/A result N/A N/A self N/A N/A N/A N/A DCOSException BLAH N/A N/A test_log_files_no_mesos_files N/A N/A N/A N/A N/A ctx N/A MockLogger N/A N/A N/A pytest raises DCOSException N/A N/A N/A log_files ctx N/A False 10 N/A test_log_files_single_mesos_file N/A N/A mock_util_stream mock_get_master_state N/A N/A N/A ctx N/A MockLogger N/A _file N/A MesosFile TestFile dcos_client N/A MesosClient N/A N/A mock_util_stream return_value N/A N/A N/A MockFuture _file N/A N/A mock_get_master_state return_value None N/A N/A log_files ctx N/A _file False 10 N/A N/A N/A N/A N/A ctx buffer getvalue N/A N/A AAAAA
 BBBBB
 CCCCC
 N/A N/A N/A mock patch shpkpr.mesos.MesosClient.get_master_state N/A N/A mock patch dcos.util.stream test_log_files_unreachable_mesos_file N/A N/A mock_util_stream mock_get_master_state N/A N/A N/A ctx N/A MockLogger N/A _file_1 N/A MesosFile TestFile_1 dcos_client N/A MesosClient N/A _file_2 N/A MesosFile TestFile_2 dcos_client N/A MesosClient N/A N/A mock_util_stream return_value N/A N/A N/A MockFutureException _file_1 N/A N/A MockFuture _file_2 N/A N/A mock_get_master_state return_value None N/A N/A log_files ctx N/A _file_1 _file_2 False 10 N/A N/A N/A N/A N/A ctx buffer getvalue N/A N/A [2] AAAAA
 [2] BBBBB
 [2] CCCCC
 N/A N/A N/A mock patch shpkpr.mesos.MesosClient.get_master_state N/A N/A mock patch dcos.util.stream