def test___init___with_values(self): exp = ExpectAlert(AlertLevel.warning, AlertDescription.unknown_psk_identity) self.assertTrue(exp.is_expect()) self.assertFalse(exp.is_command()) self.assertFalse(exp.is_generator())
def test___init__(self): exp = ExpectAlert() self.assertTrue(exp.is_expect()) self.assertFalse(exp.is_command()) self.assertFalse(exp.is_generator())