def test_nullbooleanfield_blank(self):
        nullboolean = NullBooleanModel(nbfield=None)
        try:
            nullboolean.full_clean()
        except ValidationError, e:
            self.fail("NullBooleanField failed validation with value of None: %s" % e.messages)
Checks whether the field with the specified tag has the specified flag.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/model_fields/tests.py/BasicFieldTests.test_nullbooleanfield_blank--crossover with--dataset/ETHPy150Open eigenein/protobuf/protobuf.py/MessageType.__has_flag