def test_page_link_edit(self):
        img_a = pq_img(self.p, '[[Image:test.jpg|page=Article List]]', 'a')
        img = img_a('img')

        eq_('test.jpg', img.attr('alt'))
        eq_(self.img.file.url, img.attr('src'))
        assert img_a.hasClass('new')
        eq_('/en-US/kb/new?title=Article+List', img_a.attr('href'))
Get the raw attribute dict for a given named model.
dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/tests/test_parser.py/TestWikiImageTags.test_page_link_edit--crossover with--dataset/ETHPy150Open sdispater/orator/orator/orm/factory.py/Factory.raw_of