~alecu/ubuntuone-control-panel/webclient-shutdowns

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/tests/test_folders.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2011-09-08 21:31:10 UTC
  • mfrom: (218.1.1 able-enable-disable)
  • Revision ID: tarmac-20110908213110-occwj97mbvj9fniv
- "Explore" button is not enabled for non-subscribed folders (LP: #843835).

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
                                 gui.FOLDER_ICON_NAME)
174
174
                self.assertEqual(button.iconSize().width(), 12)
175
175
                self.assertEqual(button.iconSize().height(), 12)
 
176
                self.assertEqual(button.isEnabled(),
 
177
                                 bool(volume['subscribed']))
176
178
 
177
179
            treeiter += 1
178
180
            item = treeiter.value()