Source code for schrodinger.test.pytest
import getpass
def _i_am_buildbot():
return 'buildbot' in getpass.getuser()
[docs]def get_test_owners(hook):
"""
Ensure that the result of pytest_test_owners is a tuple
"""
owners = hook.pytest_test_owners()
if isinstance(owners, str):
owners = (owners,)
return owners