#NEWLINE# def __init__( self , suffix = '' , **kwargs ) : #NEWLINE# #INDENT# import time #NEWLINE# timestamp = repr ( time . time ( ) ) . replace ( '.' , '' ) #NEWLINE# self [ 'title' ] = ( 'test_article_%s%s' % ( timestamp , suffix ) ) #NEWLINE# self [ 'slug' ] = self [ 'title' ] #NEWLINE# self [ 'category' ] = 'How to' #NEWLINE# self [ 'keyword' ] = 'test' #NEWLINE# self [ 'summary' ] = ( 'this is an automated summary_%s%s' % ( timestamp , suffix ) ) #NEWLINE# self [ 'content' ] = ( 'automated content_%s%s' % ( timestamp , suffix ) ) #NEWLINE# self [ 'comment' ] = ( 'comment %s %s' % ( timestamp , suffix ) ) #NEWLINE# self [ 'product' ] = 'Firefox' #NEWLINE# self . update ( ** kwargs )