def test_attr_header_2(): """ setter """ ad = AstroData(header=header1, data=data1) ad.header = header2 assert ad.header == header2