Public Member Functions | |
def | setUp |
def | tearDown |
def | test_mode |
def | test_set_get |
NAME: set_get_test. | |
def | test_add_del |
NAME: add_del_test. | |
def | test_values_restored |
NAME: restored_test. | |
def | test_types |
def | test_units |
def | test_list |
def | test_shape |
def | test_CAS4355 |
Definition at line 112 of file test_imhead.py.
def tests.test_imhead.imhead_test.setUp | ( | self | ) |
Definition at line 114 of file test_imhead.py.
def tests.test_imhead.imhead_test.tearDown | ( | self | ) |
Definition at line 121 of file test_imhead.py.
def tests.test_imhead.imhead_test.test_add_del | ( | self | ) |
NAME: add_del_test.
SHORT DESCRIPTION: Set/get a variety of header items make sure each of them work
DESCRIPTION: Call each of the modes to make sure they work. The VALID hditems tested are: ???
The INVALID hditems used are: TODO
Imhead: test add/del modes
Definition at line 751 of file test_imhead.py.
def tests.test_imhead.imhead_test.test_CAS4355 | ( | self | ) |
verify puthead can take sesigimal values where appropriate (CAS-4355)
Definition at line 1010 of file test_imhead.py.
References taskinit.iatool.
def tests.test_imhead.imhead_test.test_list | ( | self | ) |
Imhead: CAS-3300 Test the printing of some keywords in list mode
Definition at line 976 of file test_imhead.py.
def tests.test_imhead.imhead_test.test_mode | ( | self | ) |
Imhead: Test list,summary,history,get,put,del,add,empty,bad modes
Definition at line 124 of file test_imhead.py.
def tests.test_imhead.imhead_test.test_set_get | ( | self | ) |
NAME: set_get_test.
SHORT DESCRIPTION: Set/get a variety of header items make sure each of them work
DESCRIPTION: Call each of the modes to make sure they work. The VALID hditems tested are: object, imtype, telescope, observer, date-obs, equinox, rest frequency, projection, beam major axis, beam minor axis, beam position angle, beam unit, coord axis type. num pixels for coord axis, coord axis reference value, coord axis delta, coord axis units
The INVALID hditems used are: '', and bad
Imhead: test put/get modes
Definition at line 356 of file test_imhead.py.
def tests.test_imhead.imhead_test.test_shape | ( | self | ) |
Imhead: CAS-3301: Keyword shape should be included in the output
Definition at line 1002 of file test_imhead.py.
References make_mmsdata.all.
def tests.test_imhead.imhead_test.test_types | ( | self | ) |
Imhead: CAS-3285 Test types of keys
Definition at line 938 of file test_imhead.py.
def tests.test_imhead.imhead_test.test_units | ( | self | ) |
Imhead: CAS-3285 Test if units are printed
Definition at line 952 of file test_imhead.py.
NAME: restored_test.
SHORT DESCRIPTION: Verify that the file has been resorted of them work
DESCRIPTION: Check to see if we have the original values again. All of the tests should change the values back to what they were intially. CHECK ORIG VALUES ############
Imhead: test if original values are restored
Definition at line 880 of file test_imhead.py.