rem: var images = background.node.getElementsByTagName('image'); 
add: var images = mymap.childWidgets[0].node.getElementsByTagName('image'); 
context:     function test_setMapBackground(self) { // {{{        var d = self.setUp();        var mymap = null;        d.addCallback(function gotMap(map) {            mymap = map;            return self.callRemote("requestSetMapBackground");        });        d.addCallback(function gotBackgroundInfo(info) {             return mymap.setMapBackground(info);        });        d.addCallback(function gotBackground(background) {            self.assertEqual(mymap.node.getAttribute('width'), '100');            self.assertEqual(mymap.node.getAttribute('height'), '100');            var images = background.node.getElementsByTagName('image');            var bgimage = images[0];            var obimage = images[1];            self.assertEqual(bgimage.getAttributeNS(XLINKNS, 'href'),                     '/files/c2d8ac97a07cbf785d2e4d7dbf578d2c');        });        return d;    }, // }}}
meta: 8951	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8951/f8f62d8332301b7357068a478a2b119d501fab33/Tests.js/clean/trunk/code/webby/static/SVGMap/Tests.js