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:
parent
fc027ae161
commit
232774a5cc
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue