Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore BinOpMod Str TupleLoad Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Functional test case that tests logging output N/A httplib2 N/A os N/A stat N/A unittest glance.tests functional glance.tests.utils execute TestLogging N/A N/A functional FunctionalTest N/A N/A Functional tests for Glance's logging output test_verbose_debug N/A N/A self N/A N/A N/A 
        Test logging output proper when verbose and debug
        is on.
         N/A N/A N/A self cleanup N/A N/A N/A self start_servers N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A N/A self api_server log_file N/A api_log_out N/A N/A N/A open N/A N/A self api_server log_file r read N/A N/A N/A self assertTrue N/A DEBUG [glance-api] api_log_out N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A N/A self registry_server log_file N/A registry_log_out N/A N/A N/A open N/A N/A self registry_server log_file r read N/A N/A N/A self assertTrue N/A DEBUG [glance-registry] registry_log_out N/A N/A N/A self stop_servers N/A test_no_verbose_no_debug N/A N/A self N/A N/A N/A 
        Test logging output proper when verbose and debug
        is off.
         N/A N/A N/A self cleanup N/A N/A N/A self start_servers debug False verbose False N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A N/A self api_server log_file N/A api_log_out N/A N/A N/A open N/A N/A self api_server log_file r read N/A N/A N/A self assertFalse N/A DEBUG [glance-api] api_log_out N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A N/A self registry_server log_file N/A registry_log_out N/A N/A N/A open N/A N/A self registry_server log_file r read N/A N/A N/A self assertFalse N/A DEBUG [glance-registry] registry_log_out N/A N/A N/A self stop_servers N/A assertNotEmptyFile N/A N/A self path N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A os path exists path N/A N/A N/A self assertNotEqual N/A N/A N/A os stat path N/A N/A stat ST_SIZE 0 N/A test_logrotate N/A N/A self N/A N/A N/A 
        Test that we notice when our log file has been rotated
         N/A N/A N/A self cleanup N/A N/A N/A self start_servers N/A N/A N/A self assertNotEmptyFile N/A N/A self api_server log_file N/A N/A N/A os rename N/A N/A self api_server log_file N/A N/A N/A self api_server log_file .1 N/A path N/A http://%s:%d/ N/A 0.0.0.0 N/A self api_port N/A N/A response content N/A N/A N/A N/A httplib2 Http request path GET N/A N/A N/A self assertEqual N/A response status 300 N/A N/A N/A self assertNotEmptyFile N/A N/A self api_server log_file N/A N/A N/A self stop_servers N/A N/A