

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 == 'single') else None))

dataset/ETHPy150Open pytent/pytentd/tentd/tests/test_app.py test_user_name/original