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
This commit is contained in:
Henrik Levkowetz 2018-10-07 14:18:00 +00:00
parent fc027ae161
commit 232774a5cc

View file

@ -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()