Debug prints to diagnose version mismatch after deletion.
authorDaira Hopwood <daira@jacaranda.org>
Wed, 19 Aug 2015 13:31:38 +0000 (13:31 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 1 Oct 2015 00:19:47 +0000 (01:19 +0100)
src/allmydata/test/test_magic_folder.py

index f370a89c913e3901a2a7bd6362d6e466d0b4c741..510dee1a397d0fbc4507bd47084bb3abcaa3ccf2 100644 (file)
@@ -322,7 +322,7 @@ class MagicFolderTestMixin(MagicFolderTestMixin, ShouldFailMixin, ReallyEqualMix
 
     def _check_version_in_local_db(self, magicfolder, relpath_u, expected_version):
         version = magicfolder._db.get_local_file_version(relpath_u)
-        print "_check_version_in_local_db %s---------------------------------" % (version,)
+        print "_check_version_in_local_db %r %s---------------------------------" % (relpath_u, version)
         self.failUnlessEqual(version, expected_version)
 
     def test_alice_bob(self):