Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 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)
Example #4
0
 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)