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())
JSON string representing the rejected value.
dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/communication/tests/test_models.py/ModelsTestCase.test_can_email--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/endpoints/errors.py/RequestRejectionError.to_json