Rev 326: Merge removal of DummyRevision tests from John. in file:///data/jelmer/bzr-gtk/trunk/

Jelmer Vernooij jelmer at samba.org
Tue Oct 30 21:12:38 GMT 2007


At file:///data/jelmer/bzr-gtk/trunk/

------------------------------------------------------------
revno: 326
revision-id:jelmer at samba.org-20071030211237-8g3c13tt0gq2ihq6
parent: daniel.schierbeck at gmail.com-20071030134225-5163v7jkzbvw5l14
parent: john at arbash-meinel.com-20071030205954-yzt43i3mv71jpg38
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              test_viz.py-20070519100201-z988efzv90lew5g9-1
modified:
  tests/__init__.py              __init__.py-20070201155018-mi2dl3spgj7fqdum-1
    ------------------------------------------------------------
    revno: 324.1.1
    revision-id:john at arbash-meinel.com-20071030205954-yzt43i3mv71jpg38
    parent: jelmer at samba.org-20071026170218-pepec3wazqr3ghhb
    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              test_viz.py-20070519100201-z988efzv90lew5g9-1
    modified:
      tests/__init__.py              __init__.py-20070201155018-mi2dl3spgj7fqdum-1
=== 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)

=== 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':




More information about the bazaar-commits mailing list