/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_smart_signals.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

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 = []