/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/test_smart_signals.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import threading
21
21
import weakref
22
22
 
23
 
from bzrlib import tests, transport
24
 
from bzrlib.smart import client, medium, server, signals
 
23
from breezy import tests, transport
 
24
from breezy.smart import client, medium, server, signals
25
25
 
26
26
# Windows doesn't define SIGHUP. And while we could just skip a lot of these
27
27
# tests, we often don't actually care about interaction with 'signal', so we
119
119
        self.assertEqual([], calls)
120
120
 
121
121
    def test_not_installed(self):
122
 
        # If you haven't called bzrlib.smart.signals.install_sighup_handler,
 
122
        # If you haven't called breezy.smart.signals.install_sighup_handler,
123
123
        # then _on_sighup should be None, and all the calls become no-ops.
124
124
        signals._on_sighup = None
125
125
        calls = []