/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:51:13 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-20120227165113-w9lb9mybmq9etk2k
Updated ProgressPanel to Gtk 3.0 Gtk.Box.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
 
286
286
    def test_init(self):
287
287
        pb_window = ui.ProgressPanel()
 
288
        self.assertEqual(
 
289
            Gtk.Orientation.HORIZONTAL, pb_window.props.orientation)
 
290
        self.assertEqual(5, pb_window.props.spacing)
288
291
        self.assertIsInstance(pb_window.pb, ui.GtkProgressBar)
 
292
        widgets = pb_window.get_children()
 
293
        # The image's stock and icon_name properties are always None?
 
294
        self.assertIsInstance(widgets[0], Gtk.Image)