test_ok1/py/green/conftest.py

9 lines
240 B
Python

import py, os
class Directory(py.test.collect.Directory):
def listdir(self):
if os.name == 'nt':
py.test.skip("Cannot test green layer on windows")
else:
return super(Directory, self).listdir()