def METHOD_NAME(self):
    """
    Test to set/unset the partition attribute of node object
    """
    self.set_node_partition_attr(n_name=self.mom_hostname)
    self.set_node_partition_attr(partition="P2", n_name=self.mom_hostname)
    # resetting the same partition value
    self.set_node_partition_attr(partition="P2", n_name=self.mom_hostname)
    self.set_node_partition_attr(mgr_cmd="MGR_CMD_UNSET",
                                 n_name=self.mom_hostname)