'Image has frameless class and link if specified.'

def test_frameless_link(self):

    img_a = pq_img(self.p, '[[Image:test.jpg|page=Installing    Firefox]]', 'a')
    img = img_a('img')
    assert ('frameless' in img.attr('class'))
    eq_('/en-US/kb/installing-firefox', img_a.attr('href'))
