'Create documents and get provided locale document data'

def get_data_from_translated_document(self, header, create_doc_locale, req_doc_locale):

    client = Client(HTTP_ACCEPT_LANGUAGE=header)
    (en_doc, trans_doc) = self.create_documents(create_doc_locale)
    url = reverse('wiki.document', args=[en_doc.slug], locale=req_doc_locale)
    response = client.get(url, follow=True)
    eq_(200, response.status_code)
    doc = pq(response.content)
    doc_content = doc('#doc-content').text()
    return doc_content
