~michael-sheldon/+junk/keyboard-skeyer-autocorrect

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntu_keyboard/tests/test_keyboard.py

  • Committer: CI Train Bot
  • Author(s): Michael Sheldon
  • Date: 2015-02-27 14:12:20 UTC
  • mfrom: (313.2.5 pinyin-predictions)
  • Revision ID: ci-train-bot@canonical.com-20150227141220-jni0plkcmnhulmu8
Enable predictions from incomplete pinyin entry Fixes: #1401735
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
664
664
        keyboard = Keyboard()
665
665
        self.addCleanup(keyboard.dismiss)
666
666
 
667
 
        keyboard.type('pinyin.cn ')
 
667
        keyboard.type('pinyin.pinyin ')
668
668
 
669
 
        expected = "拼音.cn"
 
669
        expected = "拼音.拼音"
670
670
        self.assertThat(
671
671
            text_area.text,
672
672
            Eventually(Equals(expected))