Skip to content

Commit

Permalink
Had incorrectly verified the wrong test output files. The match for t…
Browse files Browse the repository at this point in the history
…he property doesn't need to contain the property as it is handled upond the connection property match itself. The fix is actually correcting the previous match regex.
  • Loading branch information
tabsdavis committed Jun 22, 2023
1 parent 7045b17 commit 4234b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdvt/tdvt/setup_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def mangle_tds(file_path, connection_password_name):
try:
r1 = re.compile('(^\s*<named-connection .*? name=\').*?(\'>)')
r2 = re.compile('(^\s*<.*relation connection=\').*?(\' .*>)')
r3 = re.compile('(^\s*<connection .*?)''(^\s*<tdvtconnection .*?)(\s*/>)')
r3 = re.compile('(^\s*<connection .*?).*?(\' .*>)')

f = open(file_path, 'r')
new_tds = ''
Expand Down

0 comments on commit 4234b05

Please sign in to comment.