def test_basic(self):
    result = self.perform_request(self.URL)
    self.assertEqual(result.text, 'Hello!')
    span = self.assert_span()
    self.assertIs(span.kind, trace.SpanKind.CLIENT)
    self.assertEqual(span.name, 'HTTP GET')
    self.assertEqual(span.attributes, {SpanAttributes.HTTP_METHOD: 'GET', SpanAttributes.HTTP_URL: self.URL, SpanAttributes.HTTP_STATUS_CODE: 200})
    self.assertIs(span.status.status_code, trace.StatusCode.UNSET)
    self.assertEqualSpanInstrumentationInfo(span, opentelemetry.instrumentation.requests)
def test_basic(self):
    result = self.perform_request(self.URL)
    self.assertEqual(result.text, 'Hello!')
    span = self.assert_span()
    self.assertIs(span.kind, trace.SpanKind.CLIENT)
    self.assertEqual(span.name, 'HTTP GET')
    self.assertEqual(span.attributes, {SpanAttributes.HTTP_METHOD: 'GET', SpanAttributes.HTTP_URL: self.URL, SpanAttributes.HTTP_STATUS_CODE: 200})
    self.assertIs(span.status.status_code, trace.StatusCode.UNSET)
    self.assertEqualSpanInstrumentationInfo(span, opentelemetry.instrumentation.requests)