def test_create(self): device = self.create_card_device() editor = CardOperationCostEditor(self.store, None, device) self.check_editor(editor, 'editor-cardoperationcosteditor-create')
def test_show(self): cost = self.create_operation_cost() device = cost.device editor = CardOperationCostEditor(self.store, cost, device) self.check_editor(editor, 'editor-cardoperationcosteditor-show')