def test_delete_note(self): src = _path('my note.md') src_asset = _path('assets/my note/foo.jpg') self.assertTrue(exists(src)) self.assertTrue(exists(src_asset)) note = Note(src) note.delete() self.assertFalse(exists(src)) self.assertFalse(exists(src_asset))
def test_delete_note(self): src = _path('my note.md') src_resource = _path('_resources/my note/foo.jpg') self.assertTrue(exists(src)) self.assertTrue(exists(src_resource)) note = Note(src) note.delete() self.assertFalse(exists(src)) self.assertFalse(exists(src_resource))