bbf0ef9da5e116c323dd94452bd909e1e1ef2148,Orange/widgets/tests/test_settings.py,DomainContextSettingsHandlerTests,test_settings_to_widget_filters_selections,#DomainContextSettingsHandlerTests#,159

Before Change


        widget.current_context.attributes, widget.current_context.metas = \
            self.handler.encode_domain(self.domain)
        self.add_setting(widget, "attr_list_setting",
                         ContextSetting([], selected="selection1"))
        widget.current_context.values = dict(
            string_setting=("abc", -2),
            continuous_setting=("cf1", VarTypes.Continuous),

After Change



    def test_settings_to_widget_filters_selections(self):
        self.widget.current_context.values = dict(
            attr_list_setting=[DISCRETE_META_JKL, DISCRETE_ATTR_ABC,
                               CONTINUOUS_META, DISCRETE_CLASS_GHI],
            selection1=[1, 2],
        )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: biolab/orange3
Commit Name: bbf0ef9da5e116c323dd94452bd909e1e1ef2148
Time: 2014-02-11
Author: anze.staric@gmail.com
File Name: Orange/widgets/tests/test_settings.py
Class Name: DomainContextSettingsHandlerTests
Method Name: test_settings_to_widget_filters_selections


Project Name: biolab/orange3
Commit Name: 0088176376f87417437131c0e2fe911213351bd3
Time: 2017-09-28
Author: jerneju@gmail.com
File Name: Orange/widgets/unsupervised/owmds.py
Class Name: OWMDS
Method Name: OWMDS_2


Project Name: biolab/orange3
Commit Name: bbf0ef9da5e116c323dd94452bd909e1e1ef2148
Time: 2014-02-11
Author: anze.staric@gmail.com
File Name: Orange/widgets/tests/test_settings.py
Class Name: DomainContextSettingsHandlerTests
Method Name: test_settings_to_widget