Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr CompareNotEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr CompareNotEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A __future__ unicode_literals bs4 BeautifulSoup NavigableString django.forms.models modelform_factory django.test TestCase DjangoTestCase django.utils.html conditional_escape wysihtml5.tests.models ModelTest wysihtml5.widgets Wysihtml5TextareaWidget render_cmd_icon render_cmd_dialog Wysihtml5ToolbarTestCase N/A DjangoTestCase N/A setUp N/A N/A self N/A N/A N/A ModelForm N/A modelform_factory ModelTest N/A N/A self soup N/A BeautifulSoup N/A N/A N/A ModelForm __str__ N/A test_command_disabled_in_settings N/A N/A self N/A N/A N/A cmd_format_block N/A N/A N/A self soup find span attrs N/A data-wysihtml5-command-group formatBlock N/A cmd_fore_color N/A N/A N/A self soup find span attrs N/A data-wysihtml5-command-group foreColor N/A N/A N/A self assert_ N/A cmd_format_block None N/A N/A N/A self assert_ N/A cmd_fore_color None N/A test_dialog_disabled_in_settings N/A N/A self N/A N/A N/A dialog_insert_image N/A N/A N/A self soup find div attrs N/A data-wysihtml5-dialog insertImage N/A dialog_create_link N/A N/A N/A self soup find span attrs N/A data-wysihtml5-dialog createLink N/A N/A N/A self assert_ N/A dialog_insert_image None N/A N/A N/A self assert_ N/A dialog_create_link None N/A N/A Wysihtml5TextareaWidgetTestCase N/A DjangoTestCase N/A test_render_wysihtml5admintextarea_widget N/A N/A self N/A N/A N/A neilmsg N/A N/A N/A ModelTest objects create first_text One small step for man second_text One giant leap for mankind N/A w N/A Wysihtml5TextareaWidget N/A rendered N/A conditional_escape N/A N/A w render test N/A neilmsg second_text N/A expected <div style="display:inline-block"><div id="unknown-toolbar" class="wysihtml5-editor-toolbar">  <div class="commands">    <span data-wysihtml5-command-group="formatBlock" title="Format text header" class="heading-selector">      <div>        <span data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h1">H1</span>        <span data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h2">H2</span>        <span data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h3">H3</span>        <span data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h4">H4</span>        <span data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h5">H5</span>        <span data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h6">H6</span>      </div>    </span>    <span data-wysihtml5-command="formatBlock" title="Make a paragraph block" data-wysihtml5-command-value="p" class="command format-block-p"></span>    <span data-wysihtml5-command="bold" title="Make text bold (CTRL + B)" class="command"></span>    <span data-wysihtml5-command="italic" title="Make text italic (CTRL + I)" class="command"></span>    <span data-wysihtml5-command="underline" title="Underline text (CTRL + U)" class="command"></span>    <span data-wysihtml5-command="justifyLeft" title="Paragraph left justified" class="command"></span>    <span data-wysihtml5-command="justifyCenter" title="Paragraph center justified" class="command"></span>    <span data-wysihtml5-command="justifyRight" title="Paragraph right justified" class="command"></span>    <span data-wysihtml5-command="insertOrderedList" title="Insert an ordered list" class="command"></span>    <span data-wysihtml5-command="insertUnorderedList" title="Insert an unordered list" class="command"></span>    <span data-wysihtml5-command="insertImage" title="Insert an image" class="command insert-image"></span>    <span data-wysihtml5-command="insertHTML" title="Insert a quote" class="command" data-wysihtml5-command-value="<blockquote>quote</blockquote>"></span>    <span data-wysihtml5-action="change_view" title="Show HTML" class="action" unselectable="on"></span>  </div>  <div class="wysihtml5-dialogs">    <div data-wysihtml5-dialog="insertImage" style="display:none">  <label>Image:</label>&nbsp;  <input data-wysihtml5-dialog-field="src" value="http://">  <a data-wysihtml5-dialog-action="save" class="button">Ok</a>&nbsp;  <a data-wysihtml5-dialog-action="cancel" class="button">Cancel</a></div>  </div></div><textarea rows="25" cols="40" name="test" class="vLargeTextField">One giant leap for mankind</textarea></div><script>new wysihtml5.Editor("unknown",{ name: null, style: true, toolbar: "unknown-toolbar", autoLink: true, parserRules: wysihtml5ParserRules, parser: wysihtml5.dom.parse || Prototype.K, composerClassName: "wysihtml5-editor", bodyClassName: "wysihtml5-supported", useLineBreaks: true, stylesheets: ["/static/wysihtml5/css/stylesheet.css"], placeholderText: null, allowObjectResizing: true, supportTouchDevices: true });</script> N/A N/A self maxDiff None N/A N/A N/A self assertHTMLEqual expected rendered N/A N/A