def test_result_fragments_with_base(self):
        rdfXml = serialize(self.sourceGraph, self.serializer, 
                    extra_args={'base':"http://example.org/", 'xml_base':"http://example.org/"})
        #print "--------"
        #print rdfXml
        #print "--------"
        assert b('xml:base="http://example.org/"') in rdfXml
        assert b('<rdf:Description rdf:about="data/a">') in rdfXml
        assert b('<rdf:type rdf:resource="model/test#Test"/>') in rdfXml
        assert b('<rdf:Description rdf:about="data/b">') in rdfXml
        assert b('<value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">3</value>') in rdfXml
        assert b('<rdf:Description rdf:nodeID="') in rdfXml, "expected one identified bnode in serialized graph"
dataset/ETHPy150Open RDFLib/rdflib/test/test_serializexml.py/TestXMLSerializer.test_result_fragments_with_base/original