diff --git a/tests/clients/test_google-cloud-storage.py b/tests/clients/test_google-cloud-storage.py index a4a2867c..2b6b92ab 100644 --- a/tests/clients/test_google-cloud-storage.py +++ b/tests/clients/test_google-cloud-storage.py @@ -26,6 +26,7 @@ def setUp(self): self.recorder = tracer.recorder self.recorder.clear_spans() + @pytest.mark.skipif(sys.platform == "darwin", reason="Raises not Implemented exception in OSX") @patch('requests.Session.request') def test_buckets_list(self, mock_requests): mock_requests.return_value = self._mock_response( @@ -514,6 +515,7 @@ def test_objects_insert(self, mock_requests): self.assertEqual('test bucket', gcs_span.data["gcs"]["bucket"]) self.assertEqual('test object', gcs_span.data["gcs"]["object"]) + @pytest.mark.skipif(sys.platform == "darwin", reason="Raises not Implemented exception in OSX") @patch('requests.Session.request') def test_objects_list(self, mock_requests): mock_requests.return_value = self._mock_response( @@ -787,6 +789,7 @@ def test_object_hmac_keys_get(self, mock_requests): self.assertEqual('test-project', gcs_span.data["gcs"]["projectId"]) self.assertEqual('test key', gcs_span.data["gcs"]["accessId"]) + @pytest.mark.skipif(sys.platform == "darwin", reason="Raises not Implemented exception in OSX") @patch('requests.Session.request') def test_object_hmac_keys_list(self, mock_requests): mock_requests.return_value = self._mock_response( diff --git a/tests/opentracing/test_ot_span.py b/tests/opentracing/test_ot_span.py index 0016c21f..f97f6576 100644 --- a/tests/opentracing/test_ot_span.py +++ b/tests/opentracing/test_ot_span.py @@ -6,6 +6,7 @@ import json import time import unittest +import pytest import opentracing from uuid import UUID from instana.util import to_json @@ -72,6 +73,7 @@ def test_span_fields(self): self.assertEqual("string", span.tags['tagone']) self.assertEqual(150, span.tags['tagtwo']) + @pytest.mark.skipif(sys.platform == "darwin", reason="Raises not Implemented exception in OSX") def test_span_queueing(self): recorder = opentracing.tracer.recorder