# HG changeset patch # User Philippe Pepiot # Date 1479918331 -3600 # Node ID 316ebf88f5b3d67d8a4ad16e487ce4a558a5bf10 # Parent 2fca66367edffe690be79a230e4d6c009981c1cb [devtools] named context for boxes subTest for consistency diff -r 2fca66367edf -r 316ebf88f5b3 cubicweb/devtools/testlib.py --- a/cubicweb/devtools/testlib.py Wed Nov 23 18:38:46 2016 +0100 +++ b/cubicweb/devtools/testlib.py Wed Nov 23 17:25:31 2016 +0100 @@ -1289,7 +1289,7 @@ self._test_action(action) for box in self.list_boxes_for(rset): w = [].append - with self.subTest(self._testname(rset, box.__regid__, 'box')): + with self.subTest(name=self._testname(rset, box.__regid__, 'box')): box.render(w) @staticmethod