def test_valid_email_validation(self):
    startTime = timezone.now()
    department = Department.objects.create(name='test department')
    form = FacultySignupForm(data={'username': 'test', 'first_name': 'Bob', 'last_name': 'Davidson', 'dob': startTime, 'email': 'example@example.com', 'password1': 'complex1password', 'password2': 'complex1password', 'department': department})
    self.assertTrue(form.is_valid())
def test_valid_email_validation(self):
    startTime = timezone.now()
    department = Department.objects.create(name='test department')
    form = FacultySignupForm(data={'username': 'test', 'first_name': 'Bob', 'last_name': 'Davidson', 'dob': startTime, 'email': 'example@example.com', 'password1': 'complex1password', 'password2': 'complex1password', 'department': department})
    self.assertTrue(form.is_valid())