Ticket #3020: test_process.py.diff

File test_process.py.diff, 0.6 KB (added by bigdog, 2 years ago)
  • test_process.py

     
    7373        p = OutProtocol() 
    7474        p.childDataReceived(1, bytes) 
    7575        self.assertEqual(received, [bytes]) 
     76         
     77    def test_implmentsInterface(self): 
     78        """ 
     79        Verifies ProcessProtocol implements IProcessProtocol 
     80         
     81        """ 
     82        self.assertTrue(interfaces.IProcessProtocol.implementedBy(StubProcessProtocol)) 
    7683 
    7784 
    7885    def test_errReceived(self):