def test_delete_all():
    """insert two users and delete both at once
    """
    user1 = {"name": "jean-louis"}
    user2 = {"name": "jean-michel"}
    db_access.create_user(user1)
    db_access.create_user(user2)
    users = db_access.get_all_users()
    assert len(users) > 0
    db_access.delete_all_users()
    users = db_access.get_all_users()
    print "users after"
def clear_users():
    """deletes all users
    """
    db_access.delete_all_users()