def METHOD_NAME(self):
    plugin_versions_v0 = dict(self.plugin_versions)
    plugin_versions_v0['rastervision.ab'] = 0
    plugin_versions_v0['rastervision2.c'] = 0
    # after upgrading: the y field in the root should get converted to x, and
    # the z field in the instances of a should get convert to x.
    c_dict_v0 = {
        'plugin_versions':
        plugin_versions_v0,
        'root_uri':
        None,
        'rv_config':
        None,
        'type_hint':
        'c',
        'a': {
            'type_hint': 'asub1',
            'z': 'x',
            'y': 'y'
        },
        'al': [{
            'type_hint': 'a',
            'z': 'x'
        }, {
            'type_hint': 'asub1',
            'z': 'x',
            'y': 'y'
        }, {
            'type_hint': 'asub2',
            'z': 'x',
            'y': 'y'
        }],
        'b': {
            'type_hint': 'b',
            'x': 'x'
        },
        'bl': [{
            'type_hint': 'b',
            'x': 'x'
        }],
        'y':
        'x'
    }
    c_dict_v1 = {
        'plugin_versions':
        plugin_versions_v0,
        'root_uri':
        None,
        'rv_config':
        None,
        'type_hint':
        'c',
        'a': {
            'type_hint': 'asub1',
            'x': 'x',
            'y': 'y'
        },
        'al': [{
            'type_hint': 'a',
            'x': 'x'
        }, {
            'type_hint': 'asub1',
            'x': 'x',
            'y': 'y'
        }, {
            'type_hint': 'asub2',
            'x': 'x',
            'y': 'y'
        }],
        'b': {
            'type_hint': 'b',
            'x': 'x'
        },
        'bl': [{
            'type_hint': 'b',
            'x': 'x'
        }],
        'x':
        'x'
    }
    upgraded_c_dict = upgrade_config(c_dict_v0)
    self.assertDictEqual(upgraded_c_dict, c_dict_v1)