mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-02 19:47:17 +08:00
Sync with sdk setup from setUpClass to setUp (#1193)
This commit is contained in:
@ -12,9 +12,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
from opentelemetry.test.test_base import TestBase
|
||||
from opentelemetry.util.http import (
|
||||
OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SERVER_REQUEST,
|
||||
OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SERVER_RESPONSE,
|
||||
@ -24,7 +24,7 @@ from opentelemetry.util.http import (
|
||||
)
|
||||
|
||||
|
||||
class TestCaptureCustomHeaders(TestBase):
|
||||
class TestCaptureCustomHeaders(unittest.TestCase):
|
||||
@patch.dict(
|
||||
"os.environ",
|
||||
{
|
||||
|
Reference in New Issue
Block a user