def test_dummy_signals_send_noop(self): """Test that dummy signals can be sent """ ns = _DummyNamespace() s = ns.signal('test') s.send() s.send(1)
def test_dummy_signals_cant_connect(self): """Test that dummy signals dont work for connection """ ns = _DummyNamespace() s = ns.signal('test') self.assertRaises(RuntimeError, s.connect)