def METHOD_NAME(self):
    script_path = self.sandbox.path_to_jsbsim_file('scripts', 'c1722.xml')
    # The aircraft c172x does not contain an <inertia_factor> tag so we
    # need to add one.
    tree, aircraft_name, b = CopyAircraftDef(script_path, self.sandbox)
    tank_tag = tree.getroot().find('propulsion/tank')
    inertia_factor = et.SubElement(tank_tag, 'inertia_factor')
    inertia_factor.text = '1.0'
    tree.write(self.sandbox('aircraft', aircraft_name,
                            aircraft_name+'.xml'))
    fdm = self.create_fdm()
    fdm.set_aircraft_path('aircraft')
    fdm.load_script(script_path)
    fdm.run_ic()
    contents0 = fdm['propulsion/tank/contents-lbs']
    ixx0 = fdm['propulsion/tank/local-ixx-slug_ft2']
    iyy0 = fdm['propulsion/tank/local-iyy-slug_ft2']
    izz0 = fdm['propulsion/tank/local-izz-slug_ft2']
    # Remove half of the tank contents and check that the inertias are
    # updated accordingly
    fdm['propulsion/tank/contents-lbs'] = 0.5*contents0
    contents = fdm['propulsion/tank/contents-lbs']
    ixx = fdm['propulsion/tank/local-ixx-slug_ft2']
    iyy = fdm['propulsion/tank/local-iyy-slug_ft2']
    izz = fdm['propulsion/tank/local-izz-slug_ft2']
    self.assertAlmostEqual(contents, 0.5*contents0, delta=1E-7,
                           msg="The tank content (%f lbs) should be %f lbs" % (contents, 0.5*contents0))
    self.assertAlmostEqual(ixx, 0.5*ixx0, delta=1E-7,
                           msg="The tank inertia Ixx (%f slug*ft^2) should be %f slug*ft^2" % (ixx, 0.5*ixx0))
    self.assertAlmostEqual(iyy, 0.5*iyy0, delta=1E-7,
                           msg="The tank inertia Iyy (%f slug*ft^2) should be %f slug*ft^2" % (iyy, 0.5*iyy0))
    self.assertAlmostEqual(izz, 0.5*izz0, delta=1E-7,
                           msg="The tank inertia Izz (%f slug*ft^2) should be %f slug*ft^2" % (izz, 0.5*izz0))
    # Execute the script and check that the fuel inertias have been updated
    # along with the consumption.
    ExecuteUntil(fdm, 200.0)
    contents = fdm['propulsion/tank/contents-lbs']
    ixx = fdm['propulsion/tank/local-ixx-slug_ft2']
    iyy = fdm['propulsion/tank/local-iyy-slug_ft2']
    izz = fdm['propulsion/tank/local-izz-slug_ft2']
    contents_ratio = contents / contents0
    ixx_ratio = ixx / ixx0
    iyy_ratio = iyy / iyy0
    izz_ratio = izz / izz0
    self.assertAlmostEqual(contents_ratio, ixx_ratio, delta=1E-7,
                           msg="Ixx does not vary as the tank content does\nIxx ratio=%f\nContents ratio=%f" % (ixx_ratio, contents_ratio))
    self.assertAlmostEqual(contents_ratio, iyy_ratio, delta=1E-7,
                           msg="Iyy does not vary as the tank content does\nIyy ratio=%f\nContents ratio=%f" % (iyy_ratio, contents_ratio))
    self.assertAlmostEqual(contents_ratio, izz_ratio, delta=1E-7,
                           msg="Izz does not vary as the tank content does\nIzz ratio=%f\nContents ratio=%f" % (izz_ratio, contents_ratio))