'Verify the behavior for a child.'

def test_child_user(self):

    current_year = datetime.datetime.now().year
    self.set_year_of_birth((current_year - 13))
    self.assertTrue(self.profile.requires_parental_consent())
    self.assertTrue(self.profile.requires_parental_consent(date=datetime.date(current_year, 12, 31)))
    self.assertFalse(self.profile.requires_parental_consent(date=datetime.date((current_year + 1), 1, 1)))
    self.set_year_of_birth((current_year - 14))
    self.assertFalse(self.profile.requires_parental_consent())
    self.assertFalse(self.profile.requires_parental_consent(date=datetime.date(current_year, 1, 1)))
