

def _setup_data(self, kind, value, status='down', email_verified=True):
    self.check = Check()
    self.check.status = status
    self.check.save()
    self.channel = Channel(user=self.alice)
    self.channel.kind = kind
    self.channel.value = value
    self.channel.email_verified = email_verified
    self.channel.save()
    self.channel.checks.add(self.check)

dataset/ETHPy150Open healthchecks/healthchecks/hc/api/tests/test_notify.py NotifyTestCase._setup_data/original