Lines Matching defs:self
66 def setUp(self): argument
73 def _mock_get_offload_func(self, is_moblab, multiprocessing=False, argument
93 def test_process_no_options(self): argument
106 def test_process_all_option(self): argument
118 def test_process_hosts_option(self): argument
132 def test_parallelism_option(self): argument
146 def test_delete_only_option(self): argument
160 def test_days_old_option(self): argument
174 def test_moblab_gsuri_generation(self): argument
187 def test_globalconfig_offloading_flag(self): argument
195 def test_offloader_multiprocessing_flag_set(self): argument
203 def test_offloader_multiprocessing_flag_not_set_default_false(self): argument
212 def test_offloader_multiprocessing_flag_not_set_default_true(self): argument
221 def test_offloader_pubsub_topic_not_set(self): argument
229 def test_offloader_pubsub_topic_set(self): argument
264 def test_expired(self): argument
272 def test_alive(self): argument
288 def __init__(self, resultsdir): argument
295 def get_timestamp_if_finished(self): argument
299 def set_finished(self, days_old): argument
317 def set_expired(self, days_old): argument
332 def set_incomplete(self): argument
340 def set_reportable(self): argument
346 def set_complete(self): argument
353 def process_gs_instructions(self): argument
361 def _command_list_assertions(self, job, use_rsync=True, multi=False): argument
402 def test_get_cmd_list_regular(self): argument
408 def test_get_cmd_list_special(self): argument
414 def test_get_cmd_list_regular_no_rsync(self): argument
420 def test_get_cmd_list_special_no_rsync(self): argument
426 def test_get_cmd_list_regular_multi(self): argument
432 def test_get_cmd_list_special_multi(self): argument
441 def test_create_test_result_notification(self): argument
472 def __init__(self, created): argument
478 def __init__(self, finished): argument
484 def __init__(self, finished): argument
496 def setUp(self): argument
505 def test_regular_job_fields(self): argument
518 def test_special_job_fields(self): argument
532 def _check_finished_job(self, jobtime, hqetimes, expected): argument
560 def test_finished_regular_job(self): argument
575 def test_finished_regular_job_multiple_hqes(self): argument
602 def test_finished_regular_job_null_finished_times(self): argument
615 def test_unfinished_regular_job(self): argument
631 def test_finished_special_job(self): argument
651 def test_unfinished_special_job(self): argument
679 def setUp(self): argument
686 def tearDown(self): argument
692 def make_job(self, jobdir): argument
703 def make_job_hierarchy(self): argument
741 def setUp(self): argument
757 def assert_report_well_formatted(self, report_file): argument
772 def test_failed_offload_log_format(self): argument
780 def test_failed_offload_file_overwrite(self): argument
793 def setUp(self): argument
804 def tearDown(self): argument
808 def _mock_upload_testresult_files(self): argument
813 def _mock_create_marker_file(self): argument
820 def _mock_offload_dir_calls(self, command, queue_args, argument
845 def _run_offload_dir(self, should_succeed, delete_age): argument
866 def test_offload_success(self): argument
874 def test_offload_failure(self): argument
882 def test_offload_timeout_early(self): argument
896 def test_offload_timeout_late(self): argument
914 def test_sanitize_dir(self): argument
993 def check_limit_file_count(self, is_test_job=True): argument
1026 def test_limit_file_count(self): argument
1033 def test_is_valid_result(self): argument
1062 def create_results_folder(self): argument
1116 def test_upload_testresult_files(self): argument
1137 def test_upload_files(self): argument
1195 def setUp(self): argument
1201 def _offload_unexpired_job(self, days_old): argument
1217 def _offload_expired_once(self, days_old, count): argument
1232 def _offload_expired_job(self, days_old): argument
1250 def test_case_1_no_expiration(self): argument
1262 def test_case_2_no_expiration(self): argument
1273 def test_case_1_with_expiration(self): argument
1288 def test_case_2_with_expiration(self): argument
1301 def test_case_3_with_expiration(self): argument
1313 def test_case_4_with_expiration(self): argument
1327 def setUp(self): argument
1334 def _run_get_directories(self, cls, expected_list): argument
1346 def test_get_regular_jobs(self): argument
1352 def test_get_special_jobs(self): argument
1363 def setUp(self): argument
1372 def _run_add_new_jobs(self, expected_key_set): argument
1394 def test_add_jobs_empty(self): argument
1404 def test_add_jobs_non_empty(self): argument
1434 def test_unfinished_job(self): argument
1446 def test_incomplete_job(self): argument
1459 def test_reportable_job(self): argument
1472 def test_completed_job(self): argument
1488 def setUp(self): argument
1495 def _add_job(self, jobdir): argument
1502 def _expect_log_message(self, new_open_jobs, with_failures): argument
1528 def _run_update(self, new_open_jobs): argument
1548 def _expect_failed_jobs(self, failed_jobs): argument
1560 def test_no_jobs(self): argument
1572 def test_all_completed(self): argument
1587 def test_none_finished(self): argument