# Path: ethicsapplication/forms.py
# class EthicsApplicationForm(ModelForm):
#     class Meta:
#         model = EthicsApplication
#         exclude = ('principle_investigator','application_form', 'active', 'checklist')


from django.test import TestCase
from ethicsapplication.forms import EthicsApplicationForm
'''
This will test the forms code for the ethicsapplication application

Created on Jul 25, 2012

@author: jasonmarshall
'''

class FormsTest(TestCase):
    
    def test_EthicsApplication_form_title(self):
        '''
            Check that the form provdes a field that cannot be blank for the 
            application title
        '''

# Path: ethicsapplication/forms.py
# class EthicsApplicationForm(ModelForm):
#     class Meta:
#         model = EthicsApplication
#         exclude = ('principle_investigator','application_form', 'active', 'checklist')


# Path: ethicsapplication/tests/forms.py
from django.test import TestCase
from ethicsapplication.forms import EthicsApplicationForm

'''
This will test the forms code for the ethicsapplication application

Created on Jul 25, 2012

@author: jasonmarshall
'''

class FormsTest(TestCase):
    
    def test_EthicsApplication_form_title(self):
        '''
            Check that the form provdes a field that cannot be blank for the 
            application title
        '''

        form = EthicsApplicationForm()