Rev 4841: We don't need to skip when not caching, as the test is still valid. in http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-kg-add-node

John Arbash Meinel john at arbash-meinel.com
Tue Dec 1 14:40:15 GMT 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-kg-add-node

------------------------------------------------------------
revno: 4841
revision-id: john at arbash-meinel.com-20091201144013-gdxln2ua9vbeld00
parent: john at arbash-meinel.com-20091130172522-m373yel3msmjppey
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1.0b4-kg-add-node
timestamp: Tue 2009-12-01 08:40:13 -0600
message:
  We don't need to skip when not caching, as the test is still valid.
-------------- next part --------------
=== modified file 'bzrlib/tests/test__known_graph.py'
--- a/bzrlib/tests/test__known_graph.py	2009-11-30 17:25:22 +0000
+++ b/bzrlib/tests/test__known_graph.py	2009-12-01 14:40:13 +0000
@@ -328,8 +328,6 @@
         self.assertEqual(set(['a', 'c']), graph.heads(['a', 'c', 'f']))
 
     def test_filling_in_ghosts_resets_head_cache(self):
-        if not self.do_cache:
-            raise tests.TestNotApplicable('testing the cache behavior')
         graph = self.make_known_graph(test_graph.with_ghost)
         self.assertEqual(set(['e', 'g']), graph.heads(['e', 'g']))
         # 'g' is filled in, and decends from 'e', so the heads result is now



More information about the bazaar-commits mailing list