'Assigning to a slice should just assign new values to the cards
included in the slice.'

def test_header_slice_assignment(self):

    header = fits.Header([('A', 'B'), ('C', 'D'), ('E', 'F')])
    header[1:] = 1
    assert (header[1] == 1)
    assert (header[2] == 1)
    header[1:] = 'GH'
    assert (header[1] == 'GH')
    assert (header[2] == 'GH')
    header[1:] = ['H', 'I']
    assert (header[1] == 'H')
    assert (header[2] == 'I')
