File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,17 @@ def test_disable_tracing_url_root_empty_exclude(self):
100
100
disable_tracing = utils .disable_tracing_url (url , excludelist_paths )
101
101
self .assertTrue (disable_tracing )
102
102
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
+
103
114
def test_disable_tracing_hostname_default (self ):
104
115
url = '127.0.0.1:8080'
105
116
You can’t perform that action at this time.
0 commit comments