Description: Remove spuriously failing notify smoketest
Author: Jelmer Vernooij <jelmer@samba.org>
Status: not intended for upstream (should be fixed properly)

=== modified file 'tests/test_notify.py'
--- old/tests/test_notify.py	2012-02-19 15:00:34 +0000
+++ new/tests/test_notify.py	2012-04-20 00:04:15 +0000
@@ -38,27 +38,3 @@
         self.assertEqual('gtk-preferences', items[4].props.label)
         self.assertEqual('gtk-about', items[5].props.label)
         self.assertEqual('gtk-quit', items[7].props.label)
-
-
-class BzrNotifyTestCase(tests.TestCase):
-
-    def setUp(self):
-        top = os.path.abspath(os.path.join(
-            os.path.dirname(__file__), os.pardir))
-        self.script = os.path.join(top, 'bzr-notify')
-        self.env = dict(os.environ)
-        self.env['BZR_PLUGINS_AT'] = 'gtk@%s' % top
-        super(BzrNotifyTestCase, self).setUp()
-
-    def test_smoketest(self):
-        # This is a smoke test to verify the process starts.
-        # The logic of the module must be moved into notify.py
-        # where it can be properly tested.
-        bzr_notify = subprocess.Popen(
-            [self.script, 'test'],
-            stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=self.env)
-        stdout, stderr = bzr_notify.communicate()
-        self.assertEqual('', stdout)
-        self.assertTrue(
-            stderr in (
-            '', 'ERROR:root:Could not find any typelib for AppIndicator3\n'))

