Skip to content

Commit 799c8c8

Browse files
committed
Fixed the agenda-utc test to be insensitive to the release number.
- Legacy-Id: 6373
1 parent da1cf81 commit 799c8c8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

ietf/meeting/tests/view.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ def test_agenda83utc(self):
4444
# both agendas will have a software version indication inside a
4545
# comment. This will change. Remove comments before comparing.
4646
agenda83utc_valid = re.sub("<!-- v.*-->","", agenda83utc_valid)
47-
agenda83utc_response = re.sub("<!-- v.*-->","", resp.content)
47+
agenda83utc_valid = re.sub('<a href="/release/.*?</a>','', agenda83utc_valid)
48+
49+
agenda83utc_response = resp.content
50+
agenda83utc_response = re.sub("<!-- v.*-->","", agenda83utc_response)
51+
agenda83utc_response = re.sub('<a href="/release/.*</a>','', agenda83utc_response)
52+
4853
fn = ""
4954
# to capture new output (and check it for correctness)
5055
if agenda83utc_valid != agenda83utc_response:

0 commit comments

Comments
 (0)