Rev 3233: It seems whenever you add an entry to the debug list, you have to add it to the debug list test. in http://bzr.arbash-meinel.com/branches/bzr/jam-integration

John Arbash Meinel john at arbash-meinel.com
Sat Mar 1 21:21:51 GMT 2008


At http://bzr.arbash-meinel.com/branches/bzr/jam-integration

------------------------------------------------------------
revno: 3233
revision-id:john at arbash-meinel.com-20080301212137-it62mkgen2qyvx7k
parent: jw+debian at jameswestby.net-20080301124212-4p3417gfs2pdwnbn
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Sat 2008-03-01 15:21:37 -0600
message:
  It seems whenever you add an entry to the debug list, you have to add it to the debug list test.
modified:
  bzrlib/tests/test_osutils.py   test_osutils.py-20051201224856-e48ee24c12182989
-------------- next part --------------
=== modified file 'bzrlib/tests/test_osutils.py'
--- a/bzrlib/tests/test_osutils.py	2008-01-22 05:00:42 +0000
+++ b/bzrlib/tests/test_osutils.py	2008-03-01 21:21:37 +0000
@@ -1117,6 +1117,7 @@
  * knit - trace knit operations
  * lock - trace when lockdir locks are taken or released
  * merge - emit information for debugging merges
+ * pack - emit information about pack operations
 
 """
 '''
@@ -1127,7 +1128,7 @@
     def test_resource_string(self):
         # test resource in bzrlib
         text = osutils.resource_string('bzrlib', 'debug.py')
-        self.assertEquals(_debug_text, text)
+        self.assertEqualDiff(_debug_text, text)
         # test resource under bzrlib
         text = osutils.resource_string('bzrlib.ui', 'text.py')
         self.assertContainsRe(text, "class TextUIFactory")



More information about the bazaar-commits mailing list