def METHOD_NAME(self):
    assert not self.project.flags.has_transactions
    event = self.store_event(
        data={"type": "default", "timestamp": self.min_ago}, project_id=self.project.id
    )
    event_processed.send(project=self.project, event=event, sender=type(self.project))
    project = Project.objects.get(id=self.project.id)
    assert not project.flags.has_transactions