mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 17:34:21 +01:00
9 lines
228 B
Python
9 lines
228 B
Python
|
import os
|
||
|
def travis_disabled(f):
|
||
|
def _decorator(f):
|
||
|
print 'test has been disabled on travis'
|
||
|
if 'TRAVIS' in os.environ and os.environ['TRAVIS'] == 'yes':
|
||
|
return _decorator
|
||
|
else:
|
||
|
return f
|