Skip to content

Commit 91c244c

Browse files
committed
Reduce the diff
1 parent 6b932c1 commit 91c244c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/sentry/event_manager/test_hierarchical_hashes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,13 @@ def test_can_upgrade_to_hierarchical_config(self):
208208
event = self.save_event()
209209

210210
self.transition_to_new_config("mobile:2021-02-12")
211+
211212
# This event will have two sets of hashes
212213
event2 = self.save_event()
213214

214215
# The hashes property between the two events do not intersect
215216
assert not set(event.get_hashes().hashes) & set(event2.get_hashes().hashes)
216-
# They both belong to the same group be
217+
# They are both grouped together
217218
assert event.group_id == event2.group_id
218219

219220
group = Group.objects.get(id=event.group_id)
@@ -232,12 +233,13 @@ def test_can_downgrade_from_hierarchical_config(self):
232233
event = self.save_event()
233234

234235
self.transition_to_new_config("legacy:2019-03-12")
236+
235237
# This event will have two sets of hashes
236238
event2 = self.save_event()
237239

238240
# The hashes property between the two events do not intersect
239241
assert not set(event.get_hashes().hashes) & set(event2.get_hashes().hashes)
240-
# They both belong to the same group be
242+
# They are both grouped together
241243
assert event.group_id == event2.group_id
242244

243245
group = Group.objects.get(id=event.group_id)

0 commit comments

Comments
 (0)