diff --git a/Lib/slapdtest/_slapdtest.py b/Lib/slapdtest/_slapdtest.py index 884a1ee..2900581 100644 --- a/Lib/slapdtest/_slapdtest.py +++ b/Lib/slapdtest/_slapdtest.py @@ -64,7 +64,7 @@ def identity(test_item): return test_item -def skip_unless_travis(reason): +def skip_unless_ci(reason): """Skip test unless test case is executed on CI like Travis CI """ if os.environ.get('CI', False): @@ -81,9 +81,9 @@ def requires_tls(skip_nss=False): :param skip_nss: Skip test when libldap is compiled with NSS as TLS lib """ if not ldap.TLS_AVAIL: - return skip_unless_travis("test needs ldap.TLS_AVAIL") + return skip_unless_ci("test needs ldap.TLS_AVAIL") elif skip_nss and ldap.get_option(ldap.OPT_X_TLS_PACKAGE) == 'MozNSS': - return skip_unless_travis( + return skip_unless_ci( "Test doesn't work correctly with Mozilla NSS, see " "https://bugzilla.redhat.com/show_bug.cgi?id=1519167" )