

def test_event_without_notes(self):
    "Make sure event without notes don't have NULLed field ``notes``"
    e = Event(start=e.event_start, end=self.event_end, slug='no_notes', host=self.test_host, admin_fee=100)
    self.assertEqual(e.notes, '')

dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_event.py TestEventNotes.test_event_without_notes/VarMisuse@18/49 `self`->`e`