'The ?summary option should restrict document view to summary'

def test_summary_view(self):

    rev = revision(is_approved=True, save=True, content='\n                                                <p>Foo    bar    <a    href="http://example.com">baz</a></p>\n                                                <p>Quux    xyzzy</p>\n                                ')
    resp = self.client.get(('%s?raw&summary' % rev.document.get_absolute_url()))
    eq_(resp.content, 'Foo    bar    <a    href="http://example.com">baz</a>')
