def METHOD_NAME(self):
    self.login_as(user=self.user)
    self.create_attachment(type="event.attachment")
    attachment2 = self.create_attachment(type="event.minidump")
    with self.feature("organizations:event-attachments"):
        response = self.client.get(self.path(types=["event.minidump"]))
    assert response.status_code == 200, response.content
    assert len(response.data) == 1
    assert response.data[0]["id"] == str(attachment2.id)