dedent("""Skipping Test because the url is not in CMS"""))
dedent("""Skipping Test because the url is not in CMS"""))
deftest_stanford_affiliated_required(self):
deftest_postal_code_required(self):
"""
Stanford affiliated required field
"""
delself.post_vars['stanford_affiliated']
self.post_vars['postal_code']=''
url=reverse('create_account')
url=reverse('create_account')
response=self.client.post(url,self.post_vars)
response=self.client.post(url,self.post_vars)
self.assertContains(response,'{"field": "stanford_affiliated", "value": "Select whether, or not, you are affiliated with Stanford.", "success": false}')
self.assertContains(response,'{"field": "postal_code", "value": "Enter your postal code", "success": false}')
('Sabina_Ali_Associates','Sabina Ali, MD and Associates'))
SUB_AFFILIATION_CHOICES['University_Healthcare_Alliance']=(('Affinity_Medical_Partners_Medical_Group','Affinity Medical Partners Medical Group (AMP)'),
('Bay_Valley_Medical_Group','Bay Valley Medical Group (BVMG)'),
('Cardiovascular_Consultants_Medical_Group','Cardiovascular Consultants Medical Group (CCMG)'),
('Menlo_Medical_Clinic','Menlo Medical Clinic (MMC)'))
<inputid="how_stanford_affililiated_free"type="text"name="how_stanford_affiliated_free"title="Please enter how you are affiliated with Stanford here."/>
<inputid="sub_specialty_free"type="text"name="sub_specialty_free"title="Please enter your Sub-Specialty here."/>
<inputid="sub_specialty_free"type="text"name="sub_specialty_free"title="Please enter your Sub-Specialty here."placeholder="Please enter your Sub-Specialty here."/>
<inputid="other_affiliation"type="text"name="other_affiliation"title="Please enter your affiliation here."placeholder="Please enter your affiliation here."/>