original_docstring:  Method that auto generates form data for tests 
docstring: Method that auto generates form data for tests
docstring_tokens: Method that auto generates form data for tests
code: def form_data(self, clear=[], **kwargs):
          """ Method that auto generates form data for tests """
          form_data = {
              'timecardobject_set-TOTAL_FORMS': '2',
              'timecardobject_set-INITIAL_FORMS': '0',
              'timecardobject_set-MIN_NUM_FORMS': '',
              'timecardobject_set-MAX_NUM_FORMS': '',
              'timecardobject_set-0-project': '4',
              'timecardobject_set-0-hours_spent': '20',
              'timecardobject_set-1-project': '5',
              'timecardobject_set-1-hours_spent': '20'
          }
          for key in clear:
              del form_data[key]
          for key, value in kwargs.items():
              form_data[key] = value
          return form_data
code_tokens: def form_data ( self , clear = [ ] , ** kwargs ) : form_data = { 'timecardobject_set-TOTAL_FORMS' : '2' , 'timecardobject_set-INITIAL_FORMS' : '0' , 'timecardobject_set-MIN_NUM_FORMS' : '' , 'timecardobject_set-MAX_NUM_FORMS' : '' , 'timecardobject_set-0-project' : '4' , 'timecardobject_set-0-hours_spent' : '20' , 'timecardobject_set-1-project' : '5' , 'timecardobject_set-1-hours_spent' : '20' } for key in clear : del form_data [ key ] for key , value in kwargs . items ( ) : form_data [ key ] = value return form_data
short_docstring: Method that auto generates form data for tests
short_docstring_tokens: Method that auto generates form data for tests
comment: """ Method that auto generates form data for tests """