Fixed libbe.bugdir.BugDirTestCase.testComments(sync_with_disk=False).
authorW. Trevor King <wking@drexel.edu>
Fri, 31 Jul 2009 08:25:21 +0000 (04:25 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 31 Jul 2009 08:25:21 +0000 (04:25 -0400)
libbe/bugdir.py

index 1bb307c941b37b8b67ba82518dfd7bd472a83dff..8ec5a312529d2b38da97e46e6445c714d81594d5 100644 (file)
@@ -738,7 +738,7 @@ class BugDirTestCase(unittest.TestCase):
             if index == 0:
                 repLoaded = comment
                 self.failUnless(repLoaded.uuid == rep.uuid, repLoaded.uuid)
-                self.failUnless(comment.sync_with_disk == True,
+                self.failUnless(comment.sync_with_disk == sync_with_disk,
                                 comment.sync_with_disk)
                 self.failUnless(comment.content_type == "text/plain",
                                 comment.content_type)