43
43
class BzrNotifyTestCase(tests.TestCase):
53
45
def test_smoketest(self):
54
46
# This is a smoke test to verify the process starts.
55
47
# The logic of the module must be moved into notify.py
56
48
# where it can be properly tested.
57
51
bzr_notify = subprocess.Popen(
52
[script, 'test'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
60
53
stdout, stderr = bzr_notify.communicate()
61
54
self.assertEqual('', stdout)
62
55
self.assertEqual('', stderr)