def test_get_notes(): n = notes_api.get_notes() notes_api.add_note("aaa") n = notes_api.get_notes("aaa") assert len(n) > 0 assert "aaa" in n print(n)
def get_content(search=None): items = notes_api.get_notes(search) data = {"data": items} return jsonify(data)