def test___init__(self): exp = Expect(ContentType.handshake) self.assertIsNotNone(exp) self.assertTrue(exp.is_expect()) self.assertFalse(exp.is_command()) self.assertFalse(exp.is_generator())
def test_process(self): exp = Expect(ContentType.handshake) with self.assertRaises(NotImplementedError): exp.process(None, None)