Esempio n. 1
0
 def OnCreateKeyword(self, event):
     cells = self._data_cells_from_current_row()
     if not cells:
         return
     try:
         self._execute(AddKeywordFromCells(cells))
     except ValueError as err:
         wx.MessageBox(str(err))
Esempio n. 2
0
 def test_add_keyword_command_with_step(self):
     new_kw_name = 'Akjskajs'
     self._exec(AddKeywordFromCells([new_kw_name, 'foo', 'bar']))
     assert_equal(self._new_keyword.name, new_kw_name)
     assert_equal(self._new_keyword.arguments.value, '${arg1} | ${arg2}')