~mterry/ubuntu-calculator-app/confined

« back to all changes in this revision

Viewing changes to app/tests/autopilot/ubuntu_calculator_app/__init__.py

  • Committer: Bartosz Kosiorek
  • Date: 2015-01-13 15:36:47 UTC
  • mfrom: (59 reboot)
  • mto: This revision was merged to the branch mainline in revision 60.
  • Revision ID: gang65@poczta.onet.pl-20150113153647-hqmxhcw8a37au0s1
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    """Calculator MainView Autopilot emulator."""
67
67
 
68
68
    BUTTONS = {'clear': 'clearButton', '*': 'multiplyButton',
69
 
               '8': 'eightButton', '9': 'nineButton', '=': 'equalsButton',
70
 
               '+': 'plusButton', '1': 'oneButton', '0': 'zeroButton',
71
 
               '/': 'divideButton', '.': 'pointButton', '2': 'twoButton',
72
 
               '5': 'fiveButton', '6': 'sixButton', '-': 'minusButton'}
 
69
               '/': 'divideButton', '.': 'pointButton',
 
70
               '=': 'equalsButton', '-': 'minusButton', '+': 'plusButton',
 
71
               '0': 'zeroButton', '1': 'oneButton', '2': 'twoButton',
 
72
               '3': 'threeButton', '4': 'fourButton', '5': 'fiveButton',
 
73
               '6': 'sixButton', '7': 'sevenButton', '8': 'eightButton',
 
74
               '9': 'nineButton'}
73
75
 
74
76
    def __init__(self, *args):
75
77
        super(MainView, self).__init__(*args)