def __log_all_options_if_none_specified(self, test):
        """
        When testing_base is specified, but none of the log options to save are
        specified (basic_test_info, screen_shots, page_source), then save them
        all by default. Otherwise, save only selected ones from their plugins.
        """
        if ((not self.options.enable_plugin_basic_test_info) and (
                not self.options.enable_plugin_screen_shots) and (
                not self.options.enable_plugin_page_source)):
            test_logpath = self.options.log_path + "/" + test.id()
            log_helper.log_screenshot(test_logpath, test.driver)
            log_helper.log_test_failure_data(
                test, test_logpath, test.driver, test.browser)
            log_helper.log_page_source(test_logpath, test.driver)
def __log_all_options_if_none_specified ( self , test ) : if ( ( not self . options . enable_plugin_basic_test_info ) and ( not self . options . enable_plugin_screen_shots ) and ( not self . options . enable_plugin_page_source ) ) : test_logpath = self . options . log_path + "/" + test . id ( ) log_helper . log_screenshot ( test_logpath , test . driver ) log_helper . log_test_failure_data ( test , test_logpath , test . driver , test . browser ) log_helper . log_page_source ( test_logpath , test . driver )
When testing_base is specified, but none of the log options to save are
        specified (basic_test_info, screen_shots, page_source), then save them
        all by default. Otherwise, save only selected ones from their plugins.