Example #1
0
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)
Example #2
0
def get_content(search=None):
    items = notes_api.get_notes(search)
    data = {"data": items}
    return jsonify(data)