Rev 5637: Get rid of the useless __init__. in file:///home/vila/src/bzr/bugs/709104-windows-bash-completion/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Jan 28 10:22:53 UTC 2011
At file:///home/vila/src/bzr/bugs/709104-windows-bash-completion/
------------------------------------------------------------
revno: 5637
revision-id: v.ladeuil+lp at free.fr-20110128102252-ctlo17wcn2ugxn5q
parent: pqm at pqm.ubuntu.com-20110127174524-89zg98o11grbj26x
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 709104-windows-bash-completion
timestamp: Fri 2011-01-28 11:22:52 +0100
message:
Get rid of the useless __init__.
-------------- next part --------------
=== modified file 'bzrlib/plugins/bash_completion/tests/test_bashcomp.py'
--- a/bzrlib/plugins/bash_completion/tests/test_bashcomp.py 2010-05-29 10:30:53 +0000
+++ b/bzrlib/plugins/bash_completion/tests/test_bashcomp.py 2011-01-28 10:22:52 +0000
@@ -27,6 +27,7 @@
"""Component for testing execution of a bash completion script."""
_test_needs_features = [features.bash_feature]
+ script = None
def complete(self, words, cword=-1):
"""Perform a bash completion.
@@ -95,10 +96,6 @@
class TestBashCompletion(tests.TestCase, BashCompletionMixin):
"""Test bash completions that don't execute bzr."""
- def __init__(self, methodName='testMethod'):
- super(TestBashCompletion, self).__init__(methodName)
- self.script = None
-
def test_simple_scipt(self):
"""Ensure that the test harness works as expected"""
self.script = """
@@ -155,9 +152,6 @@
will be replaced by the bzr instance running this selftest.
"""
- def __init__(self, methodName='testMethod'):
- super(TestBashCompletionInvoking, self).__init__(methodName)
- self.script = None
def get_script(self):
s = super(TestBashCompletionInvoking, self).get_script()
More information about the bazaar-commits
mailing list