Changeset 11284:535f25d626c4 in orange


Ignore:
Timestamp:
01/25/13 17:23:03 (15 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed two tests.

Location:
Orange/OrangeCanvas/registry/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/registry/tests/test_base.py

    r11157 r11284  
    4242        with self.assertRaises(ValueError): 
    4343            desc = description.WidgetDescription( 
    44                 name="A name", qualified_name=file_desc.qualified_name 
     44                name="A name", 
     45                id=file_desc.id, 
     46                qualified_name=file_desc.qualified_name 
    4547            ) 
    4648            reg.register_widget(desc) 
  • Orange/OrangeCanvas/registry/tests/test_discovery.py

    r11098 r11284  
    2828        disc.handle_category(desc) 
    2929 
    30         desc = WidgetDescription(name="SomeWidget", category="C", 
    31                                  qualified_name="Some.Widget") 
     30        desc = WidgetDescription(name="SomeWidget", id="some.widget", 
     31                                 qualified_name="Some.Widget", 
     32                                 category="C",) 
    3233        disc.handle_widget(desc) 
    3334 
Note: See TracChangeset for help on using the changeset viewer.