/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to tests/test_ui.py

  • Committer: Curtis Hovey
  • Date: 2012-02-27 16:32:27 UTC
  • mto: (776.2.1 ui-factory)
  • mto: This revision was merged to the branch mainline in revision 779.
  • Revision ID: sinzui.is@verizon.net-20120227163227-lnc04amq6m5xdh7s
Added a testcase for ProgressPanel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
277
277
        self.assertEqual(
278
278
            Gtk.WindowPosition.CENTER_ALWAYS, pb_window.props.window_position)
279
279
        self.assertIsInstance(pb_window.pb, ui.GtkProgressBar)
 
280
 
 
281
 
 
282
class ProgressPanelTestCase(ProgressContainerMixin, tests.TestCase):
 
283
 
 
284
    progress_container = ui.ProgressPanel
 
285
 
 
286
    def test_init(self):
 
287
        pb_window = ui.ProgressPanel()
 
288
        self.assertIsInstance(pb_window.pb, ui.GtkProgressBar)