1
0
Fork 0
mirror of https://github.com/kakwa/ldapcherry synced 2025-07-04 12:27:47 +02:00

porting the tests over to python3

This commit is contained in:
kakwa 2019-02-07 20:55:50 +01:00
parent c3feafdb2c
commit 2a2864a306
7 changed files with 28 additions and 20 deletions

View file

@ -1,7 +1,7 @@
import os
def travis_disabled(f):
def _decorator(f):
print 'test has been disabled on travis'
print('test has been disabled on travis')
if 'TRAVIS' in os.environ and os.environ['TRAVIS'] == 'yes':
return _decorator
else:
@ -9,7 +9,7 @@ def travis_disabled(f):
def slow_disabled(f):
def _decorator(f):
print 'test has been disabled by env var LCNOSLOW'
print('test has been disabled by env var LCNOSLOW')
if 'LCNOSLOW' in os.environ and os.environ['LCNOSLOW'] == 'yes':
return _decorator
else: