Skip to content

Commit

Permalink
Skip unsupported SSL unit test on usgov1
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Jan 30, 2024
1 parent a8fd61a commit cccac3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_service_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
not_supported = pytest.mark.skipif(
sys.version_info.minor <= 7, reason="Experimental functionality unavailable in this version of Python."
)
gov_cloud_ssl = pytest.mark.skipif(
"lagger" in config.base_url, reason="This test cannot be run within GovCloud"
)
class SimpleServiceClass(BaseServiceClass):
"""I'm just here to test extensibility."""

Expand Down Expand Up @@ -375,6 +378,7 @@ def test_list_response_component_get_property(self):

@rate_limited
@not_supported
@gov_cloud_ssl
def test_list_response_component_get_property_fail(self):
with pytest.warns(SSLDisabledWarning):
_no_ssl = Hosts(creds=config.creds, pythonic=True, debug=_DEBUG, ssl_verify=False)
Expand Down

0 comments on commit cccac3e

Please sign in to comment.