Argus
Argus copied to clipboard
Test can randomly fail
def test_can_get_my_incidents(self):
incident_pk = self.add_open_incident_with_start_event_and_tag().pk
other_incident_pk = StatefulIncidentFactory().pk`
…
self.add_open_incident_with_start_event_and_tag() uses StatefulIncidentFactory() with a pregenerated source. There is nothing here to prevent the same source to be used in the second call to StatefulIncidentFactory() .
Originally posted by @hmpf in https://github.com/Uninett/Argus/issues/727#issuecomment-1945976211
See also #791