From 232774a5cc1123c32e976ba03c0e520cf0453cd6 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz <henrik@levkowetz.com> Date: Sun, 7 Oct 2018 14:18:00 +0000 Subject: [PATCH] Adjusted the test_submit_nonascii_name() to match the output from idnits 2.16.0, which emits warnings rather than errors for nonascii content. - Legacy-Id: 15525 --- ietf/submit/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/submit/tests.py b/ietf/submit/tests.py index b509c7b6d..668b00f07 100644 --- a/ietf/submit/tests.py +++ b/ietf/submit/tests.py @@ -1015,7 +1015,7 @@ class SubmitTests(TestCase): q = PyQuery(r.content) m = q('p.alert-warning').text() - self.assertIn('The idnits check returned 1 error', m) + self.assertIn('The idnits check returned 1 warning', m) def test_submit_invalid_yang(self): make_test_data()