Skip to content

Commit

Permalink
fix: Adding a sighting takes a little bit of time.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Dec 12, 2019
1 parent 24594a5 commit 637a966
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testlive_comprehensive.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ def test_sightings(self):
second = self.user_misp_connector.add_event(second)

current_ts = int(time.time())
time.sleep(5)
r = self.user_misp_connector.add_sighting({'value': first.attributes[0].value})
self.assertEqual(int(r.attribute_id), first.attributes[0].id)

Expand Down

0 comments on commit 637a966

Please sign in to comment.