def test_incident_creation(): inc = Incident(ticket_id="T123", description="test") assert inc.ticket_id == "T123" def test_ticket_id_presence(): inc = Incident(ticket_id="T456", description="another") assert hasattr(inc, "ticket_id")