Skip to content

Commit 53fd80a

Browse files
committed
slapdtest: Use "CI" instead of "Travis" in function name
We want this to work on any kind of CI, not just the one we use now.
1 parent 289ba45 commit 53fd80a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/slapdtest/_slapdtest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def identity(test_item):
6464
return test_item
6565

6666

67-
def skip_unless_travis(reason):
67+
def skip_unless_ci(reason):
6868
"""Skip test unless test case is executed on CI like Travis CI
6969
"""
7070
if os.environ.get('CI', False):
@@ -81,9 +81,9 @@ def requires_tls(skip_nss=False):
8181
:param skip_nss: Skip test when libldap is compiled with NSS as TLS lib
8282
"""
8383
if not ldap.TLS_AVAIL:
84-
return skip_unless_travis("test needs ldap.TLS_AVAIL")
84+
return skip_unless_ci("test needs ldap.TLS_AVAIL")
8585
elif skip_nss and ldap.get_option(ldap.OPT_X_TLS_PACKAGE) == 'MozNSS':
86-
return skip_unless_travis(
86+
return skip_unless_ci(
8787
"Test doesn't work correctly with Mozilla NSS, see "
8888
"https://bugzilla.redhat.com/show_bug.cgi?id=1519167"
8989
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy