'Cleanup the stub EdxNotes service.'

def cleanup(self):

    self.notes = []
    response = requests.put('{}/cleanup'.format(EDXNOTES_STUB_URL))
    if (not response.ok):
        raise EdxNotesFixtureError('Could    not    cleanup    EdxNotes    service    {0}.        Status    was    {1}'.format(json.dumps(self.notes), response.status_code))
    return self
