/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 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => 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 brzlib import tests, transport
24
 
from brzlib.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 brzlib.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 = []