#NEWLINE# def create_test_node_tag( **kw ) : #NEWLINE# #INDENT# "Create test node tag entry in DB and return NodeTag DB object.\n\n    Function to be used to create test NodeTag objects in the database.\n\n    :param kw: kwargs with overriding values for tag's attributes.\n    :returns: Test NodeTag DB object.\n\n    " #NEWLINE# tag = get_test_node_tag ( ** tag ) #NEWLINE# dbapi = db_api . get_instance ( ) #NEWLINE# return dbapi . add_node_tag ( tag [ 'node_id' ] , tag [ 'tag' ] )