@pytest.fixture()
def p(tmpdir, *args):
 return partial(os.path.join, tmpdir)

@ pytest . fixture ( ) def p ( tmpdir , * args ) : return partial ( os . path . join , tmpdir )
creates an ui property inside an :class:uielement:: @p @p @p class sectionplugin : typeid = main:section .