Public Member Functions | |
def | setUp |
def | tearDown |
def | initialize |
def | check_subtables |
Public Attributes | |
res |
Base class for unit test suites that do multiple tests per split run.
Definition at line 125 of file test_split.py.
def tests.test_split.SplitChecker.check_subtables | ( | self, | |
corrsel, | |||
expected | |||
) |
Compares the shapes of self.records[corrsel]['ms']'s subtables to the ones listed in expected. Removes self.records[corrsel]['ms'] afterwards since nothing else needs it, and this is the most reliable way to clean up.
Definition at line 202 of file test_split.py.
References recipes.listshapes.listshapes(), tests.test_split.split_test_tav.records, tests.test_split.split_test_cav.records, tests.test_split.split_test_cav5.records, tests.test_split.split_test_cdsp.records, tests.test_split.split_test_cst.records, tests.test_split.split_test_almapol.records, tests.test_split.split_test_unorderedpolspw.records, tests.test_split.split_test_sw_and_fc.records, tests.test_split.split_test_optswc.records, tests.test_split.split_test_tav_then_cvel.records, tests.test_split.split_test_wttosig.records, and tests.test_split.split_test_fc.records.
Referenced by tests.test_split.split_test_tav.test_sts(), tests.test_split.split_test_cav.test_sts(), tests.test_split.split_test_cav5.test_sts(), tests.test_split.split_test_tav.test_sts_ll(), tests.test_split.split_test_cav.test_sts_ll(), tests.test_split.split_test_cav5.test_sts_ll(), tests.test_split.split_test_tav.test_sts_rllr(), tests.test_split.split_test_tav.test_sts_rr(), tests.test_split.split_test_cav.test_sts_rr(), tests.test_split.split_test_tav.test_sts_rrll(), and tests.test_split.split_test_unorderedpolspw.test_subtables().
def tests.test_split.SplitChecker.initialize | ( | self | ) |
Reimplemented in tests.test_split.split_test_cst, and tests.test_split.split_test_cdsp.
Definition at line 181 of file test_split.py.
References tests.test_split.split_test_tav.corrsels, tests.test_uvcontsub3.knowncombspw.corrsels, tests.test_split.split_test_cav.corrsels, tests.test_split.split_test_cav5.corrsels, tests.test_split.split_test_cdsp.corrsels, tests.test_split.split_test_cst.corrsels, tests.test_split.split_test_almapol.corrsels, tests.test_split.split_test_unorderedpolspw.corrsels, tests.test_split.split_test_sw_and_fc.corrsels, tests.test_split.split_test_optswc.corrsels, tests.test_split.split_test_tav_then_cvel.corrsels, tests.test_split.split_test_wttosig.corrsels, tests.test_split.split_test_fc.corrsels, tests.test_setjy.SetjyUnitTestBase.inpms, tests.test_uvcontsub3.UVContsub3UnitTestBase.inpms, tests.test_uvcontsub.UVContsubUnitTestBase.inpms, tests.test_split.split_test_tav.inpms, tests.test_split.split_test_cav.inpms, tests.test_setjy.test_ModImage.inpms, tests.test_split.split_test_cav5.inpms, tests.test_setjy.test_inputs.inpms, tests.test_split.split_test_cdsp.inpms, tests.test_split.split_test_cst.inpms, tests.test_split.split_test_state.inpms, tests.test_split.split_test_cavcd.inpms, tests.test_split.split_test_genericsubtables.inpms, tests.test_split.split_test_singchan.inpms, tests.test_split.split_test_blankov.inpms, tests.test_split.split_test_almapol.inpms, tests.test_split.split_test_unorderedpolspw.inpms, tests.test_split.split_test_sw_and_fc.inpms, tests.test_split.split_test_optswc.inpms, tests.test_split.split_test_tav_then_cvel.inpms, tests.test_split.split_test_wttosig.inpms, and tests.test_split.split_test_fc.inpms.
Referenced by tests.test_uvcontsub3.zeroth.setUp(), tests.test_uvcontsub.zeroth.setUp(), tests.test_uvcontsub3.fourth.setUp(), tests.test_split.SplitChecker.setUp(), tests.test_uvcontsub.fourth.setUp(), tests.test_uvcontsub3.combspw.setUp(), tests.test_uvcontsub3.knowncombspw.setUp(), and tests.test_uvcontsub.combspw.setUp().
def tests.test_split.SplitChecker.setUp | ( | self | ) |
Definition at line 144 of file test_split.py.
References task_partition.PartitionHelper.initialize(), task_sdgrid.sdgrid_worker.initialize(), sdutil.sdtask_interface.initialize(), task_sdmath.sdmath_worker.initialize(), task_sdimprocess.sdimprocess_worker.initialize(), task_sdcoadd.sdcoadd_worker.initialize(), parallel.parallel_task_helper.ParallelTaskHelper.initialize(), sdutil.sdtask_template.initialize(), task_tclean.PySynthesisImager.initialize(), tests.test_split.SplitChecker.initialize(), sdutil.sdtask_template_imaging.initialize(), task_tclean.ParallelPySynthesisImager.initialize(), tests.test_split.split_test_tav.need_to_initialize, tests.test_split.split_test_cav.need_to_initialize, tests.test_split.split_test_cav5.need_to_initialize, tests.test_split.split_test_cdsp.need_to_initialize, tests.test_split.split_test_cst.need_to_initialize, tests.test_split.split_test_almapol.need_to_initialize, tests.test_split.split_test_unorderedpolspw.need_to_initialize, tests.test_split.split_test_sw_and_fc.need_to_initialize, tests.test_split.split_test_optswc.need_to_initialize, tests.test_split.split_test_tav_then_cvel.need_to_initialize, tests.test_split.split_test_wttosig.need_to_initialize, and tests.test_split.split_test_fc.need_to_initialize.
def tests.test_split.SplitChecker.tearDown | ( | self | ) |
Will only clean things up if all the splits have run.
Definition at line 148 of file test_split.py.
References tests.test_split.split_test_tav.corrsels, tests.test_uvcontsub3.knowncombspw.corrsels, tests.test_split.split_test_cav.corrsels, tests.test_split.split_test_cav5.corrsels, tests.test_split.split_test_cdsp.corrsels, tests.test_split.split_test_cst.corrsels, tests.test_split.split_test_almapol.corrsels, tests.test_split.split_test_unorderedpolspw.corrsels, tests.test_split.split_test_sw_and_fc.corrsels, tests.test_split.split_test_optswc.corrsels, tests.test_split.split_test_tav_then_cvel.corrsels, tests.test_split.split_test_wttosig.corrsels, tests.test_split.split_test_fc.corrsels, tests.test_setjy.SetjyUnitTestBase.inpms, tests.test_uvcontsub3.UVContsub3UnitTestBase.inpms, tests.test_uvcontsub.UVContsubUnitTestBase.inpms, tests.test_split.split_test_tav.inpms, tests.test_split.split_test_cav.inpms, tests.test_setjy.test_ModImage.inpms, tests.test_split.split_test_cav5.inpms, tests.test_setjy.test_inputs.inpms, tests.test_split.split_test_cdsp.inpms, tests.test_split.split_test_cst.inpms, tests.test_split.split_test_state.inpms, tests.test_split.split_test_cavcd.inpms, tests.test_split.split_test_genericsubtables.inpms, tests.test_split.split_test_singchan.inpms, tests.test_split.split_test_blankov.inpms, tests.test_split.split_test_almapol.inpms, tests.test_split.split_test_unorderedpolspw.inpms, tests.test_split.split_test_sw_and_fc.inpms, tests.test_split.split_test_optswc.inpms, tests.test_split.split_test_tav_then_cvel.inpms, tests.test_split.split_test_wttosig.inpms, and tests.test_split.split_test_fc.inpms.
Reimplemented in tests.test_split.split_test_cst, and tests.test_split.split_test_cdsp.
Definition at line 200 of file test_split.py.
Referenced by tests.test_vpmanager.vpmanager_test.setUp(), tests.test_vpmanager.vpmanager_test.test0(), tests.test_vpmanager.vpmanager_test.test1(), tests.test_virtualconcat.test_virtualconcat.test10(), tests.test_vpmanager.vpmanager_test.test12(), tests.test_virtualconcat.test_virtualconcat.test12(), tests.test_vpmanager.vpmanager_test.test13(), tests.test_vpmanager.vpmanager_test.test14(), tests.test_vpmanager.vpmanager_test.test15(), tests.test_virtualconcat.test_virtualconcat.test2(), tests.test_testconcat.test_testconcat.test2(), tests.test_virtualconcat.test_virtualconcat.test3(), tests.test_testconcat.test_testconcat.test3(), tests.test_virtualconcat.test_virtualconcat.test4(), tests.test_testconcat.test_testconcat.test4(), tests.test_virtualconcat.test_virtualconcat.test5(), tests.test_testconcat.test_testconcat.test5(), tests.test_virtualconcat.test_virtualconcat.test6(), tests.test_vpmanager.vpmanager_test.test7(), tests.test_virtualconcat.test_virtualconcat.test7(), tests.test_virtualconcat.test_virtualconcat.test8(), tests.test_virtualconcat.test_virtualconcat.test9(), and tests.test_statwt.statwt_test.test_default().