~nataliabidart/ubuntuone-control-panel/override-urls

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/main/tests/test_main.py

- Adding socket communication, so the new instances can send messages to the already running instance (LP: #1063927).

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
        """Ensure the new_instance signal is connected."""
275
275
        main.main([sys.argv[0]])
276
276
        self.assertEqual(self.app.new_instance.target,
277
 
            self.start.window.raise_)
 
277
            [self.start.window.raise_])
278
278
 
279
279
    def test_darwin_installs_qt4reactor(self):
280
280
        """Ensure the qt4 reactor is installed when requested."""