ibus-table/fix-test.patch
Mike FABIAN d237ff928a Update to 1.12.1
- Enable compose support.
- Add buttons to move key bindings for a command up or down.
- Make translations of 'Edit key bindings for command “%s”' work
- Added it_util.py to POTFILES, it had translatable strings for
  the “About” dialog and the key settings dialog.
- Update translations from Weblate (updated ca, de, fr, tr, uk)
2020-09-04 13:10:33 +02:00

16 lines
861 B
Diff

diff -ru ibus-table-1.11.0.orig/tests/test_it.py ibus-table-1.11.0/tests/test_it.py
--- ibus-table-1.11.0.orig/tests/test_it.py 2020-08-16 03:01:17.000000000 +0200
+++ ibus-table-1.11.0/tests/test_it.py 2020-08-16 04:01:02.995248967 +0200
@@ -460,10 +460,10 @@
self.assertEqual(ENGINE.get_input_mode(), 1)
def test_switch_to_next_chinese_mode_with_keybinding(self):
- self.assertEqual(ENGINE.get_chinese_mode(), 2)
+ self.assertEqual(ENGINE.get_chinese_mode(), 4)
# Now change with the keybinding:
ENGINE._do_process_key_event(IBus.KEY_semicolon, 0, IBus.ModifierType.CONTROL_MASK)
- self.assertEqual(ENGINE.get_chinese_mode(), 3)
+ self.assertEqual(ENGINE.get_chinese_mode(), 0)
def test_toggle_onechar_mode_with_keybinding(self):
self.assertEqual(ENGINE.get_onechar_mode(), False)