utilities

wield.pytest.utilities

Classes

Timer([N])

Functions

dprint(*args[, F, pretty])

fpath_raw_make(request)

relfile(_file_, *args[, fname])

relfile_root(_file_, request[, pre, post])

Generates a folder specific to py.test function (provided by using the "request" fixture in the test's arguments)

relfile_test(_file_, request[, pre, post, fname])

Generates a folder specific to py.test function (provided by using the "request" fixture in the test's arguments)

tpath_root_make(request[, root_folder, ...])

Details

dprint(*args, F=None, pretty=True, **kwargs)[source][github]
fpath_raw_make(request)[source][github]
relfile(_file_, *args, fname=None)[source][github]
relfile_root(_file_, request, pre=None, post=None)[source][github]

Generates a folder specific to py.test function (provided by using the “request” fixture in the test’s arguments)

relfile_test(_file_, request, pre=None, post=None, fname=None)[source][github]

Generates a folder specific to py.test function (provided by using the “request” fixture in the test’s arguments)

tpath_root_make(request, root_folder='test_results', local_folder='test_results')[source][github]