From d76bec4015e43a5a85b89b8f31725a0828e1a629 Mon Sep 17 00:00:00 2001 From: Carl Baldwin Date: Thu, 17 Apr 2014 11:47:23 -0600 Subject: [PATCH] Allow adding sub-headings under Proposed change header This changes the titles test under the "Proposed change" heading so that it checks that *at least* the required 9 headings exist instead of checking that *exactly* the required 9 headings exist. This will allow writers like me to add some structure to the first section under this heading before getting to the required sections. Change-Id: I507d32cb2568d9c65b7a460196fdd873c4c5c445 --- tests/test_titles.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_titles.py b/tests/test_titles.py index 4b706aebe..a9396f8a2 100644 --- a/tests/test_titles.py +++ b/tests/test_titles.py @@ -46,7 +46,6 @@ class TestTitles(testtools.TestCase): proposed = 'Proposed change' self.assertIn(proposed, titles) - self.assertEqual(9, len(titles[proposed])) self.assertIn('Alternatives', titles[proposed]) self.assertIn('Data model impact', titles[proposed]) self.assertIn('REST API impact', titles[proposed])