''

def test_render(self):

    testing_template = utility.clean_multiline_string('                                <%\n                                                found_all    =    True\n                                                should_have    =    [\n                                                                title,    visualization_name,    visualization_display_name,\n                                                                visualization_id,    saved_visualization,\n                                                                query,    config,\n                                                                embedded,\n                                                                vars\n                                                ]\n                                                for    var    in    should_have:\n                                                                try:\n                                                                                var    =    str(    var    )\n                                                                except    NameError    as    name_err:\n                                                                                found_all    =    False\n                                                                                break\n                                %>\n                                ${    found_all    }\n                                ')
    mock_app_dir = galaxy_mock.MockDir({'cache': {}, 'template.mako': testing_template})
    mock_app = galaxy_mock.MockApp(root=mock_app_dir.root_path)
    plugin = self.plugin_class(mock_app, '', 'myvis', {'name': 'Vlad    News    Bears'})
    plugin.config['entry_point'] = {'file': 'template.mako'}
    plugin.template_path = mock_app_dir.root_path
    plugin.template_lookup = plugin._build_template_lookup(mock_app_dir.root_path)
    response = plugin.render(trans=galaxy_mock.MockTrans(app=mock_app))
    self.assertIsInstance(response, string_types)
    self.assertEqual(response.strip(), 'True')
