Sync with sdk setup from setUpClass to setUp (#1193)

This commit is contained in:
Srikanth Chekuri
2022-07-19 02:02:13 +05:30
committed by GitHub
parent 2ce69a668f
commit d75194aed7
21 changed files with 148 additions and 167 deletions

View File

@ -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",
{