changeset 1433:b429e97666fd

test_rebuildmeta: improve error message
author Augie Fackler <raf@durin42.com>
date Sun, 05 Jun 2016 21:08:35 -0400
parents a2ef2c1e3644
children 0a6b3da6d34c
files tests/comprehensive/test_rebuildmeta.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
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: