22 lines
584 B
Python
22 lines
584 B
Python
import py
|
|
|
|
Module = py.test.collect.Module
|
|
#DoctestFile = py.test.collect.DoctestFile
|
|
Directory = py.test.collect.Directory
|
|
Class = py.test.collect.Class
|
|
Generator = py.test.collect.Generator
|
|
Function = py.test.collect.Function
|
|
Instance = py.test.collect.Instance
|
|
|
|
|
|
pytest_plugins = "default terminal xfail tmpdir execnetcleanup monkeypatch".split()
|
|
|
|
# ===================================================
|
|
# settings in conftest only (for now) - for distribution
|
|
|
|
if hasattr(py.std.os, 'nice'):
|
|
dist_nicelevel = py.std.os.nice(0) # nice py.test works
|
|
else:
|
|
dist_nicelevel = 0
|
|
|