Convert test_dbg_signal
This commit is contained in:
parent
45e95d497d
commit
9d39fbd4e5
@ -33,3 +33,8 @@ def signal():
|
||||
def test_signal_name(signal):
|
||||
"""Test signal_name()."""
|
||||
assert debug.signal_name(signal) == 'fake'
|
||||
|
||||
|
||||
def test_dbg_signal(signal):
|
||||
"""Test dbg_signal()."""
|
||||
assert debug.dbg_signal(signal, [23, 42]) == 'fake(23, 42)'
|
||||
|
@ -38,11 +38,6 @@ class TestDebug(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.signal = stubs.FakeSignal()
|
||||
|
||||
def test_dbg_signal(self):
|
||||
"""Test dbg_signal()."""
|
||||
self.assertEqual(debug.dbg_signal(self.signal, [23, 42]),
|
||||
'fake(23, 42)')
|
||||
|
||||
def test_dbg_signal_eliding(self):
|
||||
"""Test eliding in dbg_signal()."""
|
||||
self.assertEqual(debug.dbg_signal(self.signal,
|
||||
|
Loading…
Reference in New Issue
Block a user