Source

tw2.jqplugins.chosen / tests / test_widget.py

Full commit
from tw2.core.testbase import WidgetTest
from tw2.jqplugins.chosen import *

class ChosenMixin(WidgetTest):
    # place your widget at the TestWidget attribute
    widget = ChosenMixin
    # Initialization args. go here 
    attrs = {'id':'chosen-test'}
    params = {}
    expected = """<div id="chosen-test"></div>"""