Beispiel #1
0
 def test_edit_group(self):
     group = self.create_attribute_group()
     editor = GridGroupEditor(self.store, model=group)
     self.assertEquals(editor.description.read(), u'grid group 1')
Beispiel #2
0
 def test_description_activation(self):
     editor = GridGroupEditor(self.store)
     editor.description.update("new group")
     retval = editor.description.activate()
     self.assertEquals(retval, True)
Beispiel #3
0
 def test_create(self):
     editor = GridGroupEditor(self.store)
     self.check_editor(editor, 'editor-grid-group-create')