def user_dao():
    test_user_data = [{
        "_id":
        18,
        "url":
        "http://initech.company.com/api/v2/users/1.json",
        "external_id":
        "74341f74-9c79-49d5-9611-87ef9b6eb75f",
        "name":
        "Francisca Rasmussen",
        "alias":
        "Miss Coffey",
        "created_at":
        "2016-04-15T05:19:46 -10:00",
        "active":
        True,
        "verified":
        True,
        "shared":
        False,
        "locale":
        "en-AU",
        "timezone":
        "Sri Lanka",
        "last_login_at":
        "2013-08-04T01:03:27 -10:00",
        "email":
        "*****@*****.**",
        "phone":
        "8335-422-718",
        "signature":
        "Don't Worry Be Happy!",
        "organization_id":
        119,
        "tags": ["Springville", "Sutton", "Hartsville/Hartley", "Diaperville"],
        "suspended":
        True,
        "role":
        "admin"
    }]
    test_user_dao = UserDAO()
    test_user_dao.users = test_user_data
    return test_user_dao
def search_data():
    test_user_data = [{
        "_id": 2,
        "url": "http://initech.company.com/api/v2/users/2.json",
        "external_id": "c9995ea4-ff72-46e0-ab77-dfe0ae1ef6c2",
        "name": "Cross Barlow",
        "alias": "Miss Joni",
        "created_at": "2016-06-23T10:31:39 -10:00",
        "active": True,
        "verified": True,
        "shared": False,
        "locale": "zh-CN",
        "timezone": "Armenia",
        "last_login_at": "2012-04-12T04:03:28 -10:00",
        "email": "*****@*****.**",
        "phone": "9575-552-585",
        "signature": "Don't Worry Be Happy!",
        "organization_id": 106,
        "tags": ["Foxworth", "Woodlands", "Herlong", "Henrietta"],
        "suspended": False,
        "role": "admin"
    }, {
        "_id":
        3,
        "url":
        "http://initech.company.com/api/v2/users/3.json",
        "external_id":
        "85c599c1-ebab-474d-a4e6-32f1c06e8730",
        "name":
        "Ingrid Wagner",
        "alias":
        "Miss Buck",
        "created_at":
        "2016-07-28T05:29:25 -10:00",
        "active":
        False,
        "verified":
        False,
        "shared":
        False,
        "locale":
        "en-AU",
        "timezone":
        "Trinidad and Tobago",
        "last_login_at":
        "2013-02-07T05:53:38 -11:00",
        "email":
        "*****@*****.**",
        "phone":
        "9365-482-943",
        "signature":
        "Don't Worry Be Happy!",
        "organization_id":
        104,
        "tags": ["Mulino", "Kenwood", "Wescosville", "Loyalhanna"],
        "suspended":
        False,
        "role":
        "end-user"
    }]
    test_user_dao = UserDAO()
    test_user_dao.users = test_user_data
    search_data.user_dao = test_user_dao
    return search_data