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:
parent
c3feafdb2c
commit
2a2864a306
7 changed files with 28 additions and 20 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue