diff tests/comprehensive/test_rebuildmeta.py @ 1433:b429e97666fd

test_rebuildmeta: improve error message
author Augie Fackler <raf@durin42.com>
date Sun, 05 Jun 2016 21:08:35 -0400
parents c6b01fd34694
children 5de6ec1d7310
line wrap: on
line diff
--- a/tests/comprehensive/test_rebuildmeta.py
+++ b/tests/comprehensive/test_rebuildmeta.py
@@ -129,8 +129,11 @@ def _run_assertions(self, name, single, 
             old, new = util.load(stf, resave=False), util.load(dtf, resave=False)
         if tf == 'lastpulled' and (name,
                                    self.stupid, single) in expect_youngest_skew:
-            self.assertNotEqual(old, new,
-                                'rebuildmeta unexpected match on youngest rev!')
+            self.assertNotEqual(
+                old, new,
+                'rebuildmeta unexpected match on lastpulled: '
+                'old %d new %d, case %r %r %r' % (
+                    old, new, name, self.stupid, single))
             continue
         self.assertEqual(old, new, tf + ' differs')
         try: