Skip to content

Commit 319d425

Browse files
author
Bernard Szabo
committed
feat: named group
1 parent 9664a3a commit 319d425

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tubular/scripts/dd_synthetic_tests.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def _trigger_batch_tests(self):
146146
def _map_environment_resources(self, env):
147147
if not env or env == 'prod' or env == 'stage':
148148
logging.info("***** Relying on identity transformation for environment resources ***** ")
149-
return [{'pattern': '(.*)', 'substitution': '$1'}] # No change
149+
return [{'pattern': '(?P<identity>.*)',
150+
'substitution': '{{identity}}'}] # No change
150151
elif env == 'stage':
151152
return r'"(.+)\.edx.org|$1.stage.edx.org"'
152153
else:

0 commit comments

Comments
 (0)