Rev 22: Remove now-obsolete tests. in file:///data/jelmer/bzr-stats/trunk/
Jelmer Vernooij
jelmer at samba.org
Fri Jul 4 13:24:40 BST 2008
At file:///data/jelmer/bzr-stats/trunk/
------------------------------------------------------------
revno: 22
revision-id: jelmer at samba.org-20080704122439-22a6fxmbcfn4jgzm
parent: lalinsky at gmail.com-20080704121024-1f9otd1dkt8neln2
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Fri 2008-07-04 14:24:39 +0200
message:
Remove now-obsolete tests.
removed:
test_stats.py test_stats.py-20070717155624-qo704ytybw1z302x-1
modified:
__init__.py __init__.py-20060629132721-mkbaty0vfk4y3v59-1
=== modified file '__init__.py'
--- a/__init__.py 2008-07-04 12:10:24 +0000
+++ b/__init__.py 2008-07-04 12:24:39 +0000
@@ -367,10 +367,9 @@
def test_suite():
from unittest import TestSuite
from bzrlib.tests import TestLoader
- import test_stats
suite = TestSuite()
loader = TestLoader()
- testmod_names = ['test_stats', 'test_classify']
+ testmod_names = [ 'test_classify']
suite.addTest(loader.loadTestsFromModuleNames(['%s.%s' % (__name__, i) for i in testmod_names]))
return suite
=== removed file 'test_stats.py'
--- a/test_stats.py 2007-07-17 16:17:40 +0000
+++ b/test_stats.py 1970-01-01 00:00:00 +0000
@@ -1,17 +0,0 @@
-from bzrlib.tests import TestCase
-from bzrlib.plugins.stats import extract_fullname
-
-
-class TestFullnameExtractor(TestCase):
- def test_standard(self):
- self.assertEquals("John Doe",
- extract_fullname("John Doe <joe at example.com>"))
-
- def test_only_email(self):
- self.assertEquals("",
- extract_fullname("joe at example.com"))
-
- def test_only_fullname(self):
- self.assertEquals("John Doe",
- extract_fullname("John Doe"))
-
More information about the bazaar-commits
mailing list