[Pkg-bazaar-commits] ./bzr-gtk/unstable r521: Remove obsolete tortoisebzr tests.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 07:50:37 UTC 2009


------------------------------------------------------------
revno: 521
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Mon 2008-06-30 00:44:42 +0200
message:
  Remove obsolete tortoisebzr tests.
removed:
  tests/test_tortoise_bzr.py
modified:
  NEWS
  tests/__init__.py
    ------------------------------------------------------------
    revno: 511.7.1
    committer: Jelmer Vernooij <jelmer at samba.org>
    branch nick: trunk
    timestamp: Sat 2008-06-28 18:39:06 +0200
    message:
      remove tortoisebzr tests, since it now lives elsewhere.
    removed:
      tests/test_tortoise_bzr.py
    modified:
      tests/__init__.py
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2008-06-29 22:44:06 +0000
+++ b/NEWS	2008-06-29 22:44:42 +0000
@@ -40,6 +40,8 @@
 
   * Add test for linegraph code. (Jelmer Vernooij)
 
+  * Remove obsolete tortoisebzr tests. (Jelmer Vernooij)
+
 0.94.0    2008-05-04
 
  CHANGES

=== modified file 'tests/__init__.py'
--- a/tests/__init__.py	2008-06-29 15:54:40 +0000
+++ b/tests/__init__.py	2008-06-29 22:44:42 +0000
@@ -32,9 +32,6 @@
         'test_history',
         ]
 
-    if os.name == 'nt':
-        testmod_names.append("test_tortoise_bzr")
-
     result.addTest(loader.loadTestsFromModuleNames(["%s.%s" % (__name__, i) for i in testmod_names]))
     return result
 

=== removed file 'tests/test_tortoise_bzr.py'
--- a/tests/test_tortoise_bzr.py	2007-03-15 12:43:48 +0000
+++ b/tests/test_tortoise_bzr.py	1970-01-01 00:00:00 +0000
@@ -1,28 +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.tests import TestCaseInTempDir
-from bzrlib import config
-
-import win32com.client as client
-
-class TestsShellExtension(TestCaseInTempDir):
-    def setUp(self):
-        super(TestsUrlHistory, self).setUp()
-        self.ext = client.Dispatch("Bazaar.ShellExtension.ContextMenu")
-
-    def test_get_command_string(self):
-        self.assertEqual(u"Hello from Python!!", self.ext.GetCommandString(1,1))



More information about the Pkg-bazaar-commits mailing list