def test_can_email(self):
        self.assertTrue(self.comm_pref.can_email())

        self.comm_pref.methods.email = False
        self.assertFalse(self.comm_pref.can_email())
Assert that the object respects the email bit field settings.
dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/communication/tests/test_models.py/ModelsTestCase.test_can_email