def test_triples_with_no_value(self):
        do = DataObject(ident=R.URIRef("http://example.org"))

        class T(SimpleProperty):
            property_type = 'DatatypeProperty'
            linkName = 'test'
            owner_type = DataObject

        sp = DataObject.attach_property(do, T)
        self.assertEqual(len(list(sp.triples())), 0)
        self.assertEqual(len(list(sp.triples(query=True))), 0)
Attempts to validate any of the contained validators.
dataset/ETHPy150Open openworm/PyOpenWorm/tests/SimplePropertyTest.py/SimplePropertyTest.test_triples_with_no_value--crossover with--dataset/ETHPy150Open openstack/sahara/sahara/plugins/images.py/SaharaAnyValidator.validate