def testSetReservedAttributeSilentlyFails(self):
        doc = dougrain.Document.empty("http://localhost")
        doc.set_property('_links', {'self': {'href': "/1"}})
        doc.set_property('_embedded', {'child': {'foo': "bar"}})

        self.assertFalse('_links' in doc.properties)
        self.assertIsNone(doc.url())

        self.assertFalse(doc.properties in '_embedded')
        self.assertFalse('child' in doc.embedded)
dataset/ETHPy150Open wharris/dougrain/test/test_document.py/EdgeCasesTests.testSetReservedAttributeSilentlyFails/swapped operands of `in`