/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_push.py

  • Committer: Curtis Hovey
  • Date: 2012-03-20 12:31:44 UTC
  • Revision ID: sinzui.is@verizon.net-20120320123144-1fzwkjsnrk3cpaut
Update tests to reflect the changes to setup the the dialog for nautilus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        dialog = push.PushDialog(
46
46
            repository=None, revid=None, branch=branch, parent=None)
47
47
        self.assertIs(None, dialog.props.parent)
48
 
        self.assertIs(None, dialog.repository)
49
 
        self.assertIs(None, dialog.revid)
 
48
        self.assertIs(branch.repository, dialog.repository)
 
49
        self.assertIs(branch.last_revision(), dialog.revid)
50
50
        self.assertIs(branch, dialog.branch)
51
51
        # Layout rules to match HIG.
52
52
        self.assertIsInstance(dialog._label_location, Gtk.Label)