This repository was archived by the owner on Sep 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,17 @@ def test_disable_tracing_url_root_empty_exclude(self):
100100 disable_tracing = utils .disable_tracing_url (url , excludelist_paths )
101101 self .assertTrue (disable_tracing )
102102
103+ def test_disable_tracing_url_wildcard (self ):
104+ excludelist_paths = [r'test/(\w+/)*tracing' ]
105+
106+ url = 'http://127.0.0.1:8080/test/no/tracing'
107+ disable_tracing = utils .disable_tracing_url (url , excludelist_paths )
108+ self .assertTrue (disable_tracing )
109+
110+ url = 'http://127.0.0.1:8080/test/tracing'
111+ disable_tracing = utils .disable_tracing_url (url , excludelist_paths )
112+ self .assertTrue (disable_tracing )
113+
103114 def test_disable_tracing_hostname_default (self ):
104115 url = '127.0.0.1:8080'
105116
You can’t perform that action at this time.
0 commit comments