def test_get_user_details_for_non_existing_user(): user = '******' user_details = get_user_details(user) assert user_details == dict()
def test_get_user_details(): user = '******' user_details = get_user_details(user) assert user in user_details['name'] assert user_details['blocks'] == 0