Message ID | 1415473744-31531-29-git-send-email-damien.lespiau@intel.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/apps/patchwork/tests/test_list.py b/apps/patchwork/tests/test_list.py index a795a5f..7e5bf51 100644 --- a/apps/patchwork/tests/test_list.py +++ b/apps/patchwork/tests/test_list.py @@ -69,7 +69,7 @@ class PatchOrderTest(TestCase): patch.save() def _extract_patch_ids(self, response): - id_re = re.compile('<tr id="patch_row:(\d+)" ') + id_re = re.compile('<tr id="patch_row:(\d+)"') ids = [ int(m.group(1)) for m in id_re.finditer(response.content) ] return ids
The list redesign removed a space in the generated HTML, which made the tests depending on parsing the id attribute of <tr> fail. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- apps/patchwork/tests/test_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)