def METHOD_NAME(self):
    _get_action('package_patch')(self.context_sysadmin,
                                 {
                                     'id': self.dataset_name,
                                     'resource_grouping': self.manual_grouping
                                 })
    dataset_dict = _get_action('package_show')({}, {'id': self.dataset_name})
    assert dataset_dict.get('x_resource_grouping') == self.manual_grouping, \
        'computed resource grouping is: {} instead of: {}'.format(
            dataset_dict.get('x_resource_grouping'), self.manual_grouping)
    assert dataset_dict.get('resource_grouping') == dataset_dict.get('x_resource_grouping'), \
        'computed grouping should be same as saved grouping'
    _get_action('resource_patch')(self.context_sysadmin,
                                  {
                                      'id': self.resource1_id,
                                      'grouping': 'Group A',
                                      self.daterange_field: '[2020-04-01T21:16:49 TO 2020-04-12T21:16:49]'
                                  })
    dataset_dict = _get_action('package_show')({}, {'id': self.dataset_name})
    assert dataset_dict.get('x_resource_grouping') == self.manual_grouping
    assert dataset_dict.get('resource_grouping') == dataset_dict.get('x_resource_grouping'), \
        'computed grouping should be same as saved grouping'
    _get_action('package_patch')(self.context_sysadmin,
                                 {
                                     'id': self.dataset_name,
                                     'resource_grouping': None
                                 })
    dataset_dict = _get_action('package_show')({}, {'id': self.dataset_name})
    assert dataset_dict.get('x_resource_grouping') == self.modified_3_item_grouping
    assert not dataset_dict.get('resource_grouping')