[Pkg-bazaar-commits] ./bzr-gtk/unstable r326: Merge removal of DummyRevision tests from John.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 07:49:56 UTC 2009


------------------------------------------------------------
revno: 326
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Tue 2007-10-30 22:12:37 +0100
message:
  Merge removal of DummyRevision tests from John.
removed:
  tests/test_viz.py
modified:
  tests/__init__.py
    ------------------------------------------------------------
    revno: 324.1.1
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: t-gtk-viz
    timestamp: Tue 2007-10-30 15:59:54 -0500
    message:
      Remove the obsolete test_viz from the test suite.
    removed:
      tests/test_viz.py
    modified:
      tests/__init__.py
-------------- next part --------------
=== modified file 'tests/__init__.py'
--- a/tests/__init__.py	2007-07-16 10:27:35 +0000
+++ b/tests/__init__.py	2007-10-30 20:59:54 +0000
@@ -28,7 +28,6 @@
         'test_diff',
         'test_preferences',
         'test_history',
-        'test_viz'
         ]
 
     if os.name == 'nt':

=== removed file 'tests/test_viz.py'
--- a/tests/test_viz.py	2007-05-19 16:15:11 +0000
+++ b/tests/test_viz.py	1970-01-01 00:00:00 +0000
@@ -1,27 +0,0 @@
-# Copyright (C) 2007 Jelmer Vernooij <jelmer at samba.org>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-from bzrlib.plugins.gtk.viz.graph import DummyRevision
-from bzrlib.tests import TestCase
-
-class TestDummyRevision(TestCase):
-    def test_dummy_revision(self):
-        d = DummyRevision("blarev")
-        self.assertEquals("blarev", d.revision_id)
-        self.assertEquals({}, d.properties)
-        self.assertIs(None, d.committer)
-        self.assertIs(None, d.timestamp)
-        self.assertIs(None, d.timezone)



More information about the Pkg-bazaar-commits mailing list