def test_excluded_urls_from_env(self):
    url = 'http://localhost/env_excluded_arg/123'
    httpretty.register_uri(httpretty.GET, url, status=200)
    RequestsInstrumentor().uninstrument()
    RequestsInstrumentor().instrument()
    self.perform_request(self.URL)
    self.perform_request(url)
    self.assert_span(num_spans=1)
def test_excluded_urls_from_env(self):
    url = 'http://localhost/env_excluded_arg/123'
    httpretty.register_uri(httpretty.GET, url, status=200)
    RequestsInstrumentor().uninstrument()
    RequestsInstrumentor().instrument()
    self.perform_request(self.URL)
    self.perform_request(url)
    self.assert_span(num_spans=1)