def METHOD_NAME(self):
    """Tests that deprecated values are still accepted."""
    for each in ['true', 'yes', '1']:
        acct = _AccountTestClass(address='foo@example.com',
                                 encrypt_by_default=each)
        self.assertEqual(acct.encrypt_by_default, 'all')
    for each in ['false', 'no', '0']:
        acct = _AccountTestClass(address='foo@example.com',
                                 encrypt_by_default=each)
        self.assertEqual(acct.encrypt_by_default, 'none')