def test_user_name(request, app, entity):
    """Test that app.user_name returns the correct result"""
    assert app.user_name == ('neo' if app.user_mode is 'single' else None)
dataset/ETHPy150Open pytent/pytentd/tentd/tests/test_app.py/test_user_name/operator `==` -> `is`