def METHOD_NAME(self):
    updates = [  # KeyError
        ['GRID', 1, 0, 20.0],
        ['GRID', 1, 10, 20.0],
        ['CHEXA', 100, 3, 20],
        ['FAKECARD', 100, 3, 20],
    ]
    bdf_filename = os.path.join(mesh_utils_path, 'test_mass.dat')
    model = BDF(debug=False)
    model.read_bdf(bdf_filename)
    for iupdate in updates:
        card_type, itype, ifield, value = iupdate
        self.assertRaises(KeyError, model.update_card, card_type, itype, ifield, value)
        #print("tried to apply %r=%s" % (card_type, itype))