Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/clients/test_google-cloud-storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions tests/opentracing/test_ot_span.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import json
import time
import unittest
import pytest
import opentracing
from uuid import UUID
from instana.util import to_json
Expand Down Expand Up @@ -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

Expand Down