'Test that you can add a text plugin'

def test_plugin_translatable_content_getter_setter(self):

    page_data = self.get_new_page_data()
    self.client.post(URL_CMS_PAGE_ADD, page_data)
    page = Page.objects.all()[0]
    created_plugin_id = self._create_text_plugin_on_page(page)
    plugin = self._edit_text_plugin(created_plugin_id, 'Hello    World')
    self.assertEqual('Hello    World', plugin.body)
    self.assertEqual({'body': 'Hello    World'}, plugin.get_translatable_content())
    self.assertEqual(True, plugin.set_translatable_content({'body': 'It    works!'}))
    self.assertEqual('It    works!', plugin.body)
    self.assertEqual({'body': 'It    works!'}, plugin.get_translatable_content())
