Martin Pool wrote:
> this causes at least one failure in
>
> File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user
> return fn(*args)
> File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method
> testMethod()
> File "/home/mbp/bzr/remove-controlfiles/bzrlib/tests/per_branch/test_locking.py", line 64, in test_01_lock_read
> b = self.get_instrumented_branch()
> File "/home/mbp/bzr/remove-controlfiles/bzrlib/tests/per_branch/test_locking.py", line 42, in get_instrumented_branch
> bcf = b.control_files
> File "/home/mbp/bzr/remove-controlfiles/bzrlib/tests/lock_helpers.py", line 55, in __getattr__
> return getattr(self._other, attr)
> File "/home/mbp/bzr/remove-controlfiles/bzrlib/remote.py", line 2242, in control_files
> raise NotImplementedError("RemoteBranch.control_files is no longer supported")
> NotImplementedError: RemoteBranch.control_files is no longer supported
>
>
> but I think those tests sholud be locking the branch, not its control_files
It is a 'per_branch' 'test_locking' test, which certainly looks like it
should be testing at the Branch level.
The only question in whether '.control_files' is part of the Branch api,
and thus needs to be deprecated rather than just removed.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote: python2. 6/dist- packages/ testtools/ runtest. py", line 128, in _run_user python2. 6/dist- packages/ testtools/ testcase. py", line 368, in _run_test_method mbp/bzr/ remove- controlfiles/ bzrlib/ tests/per_ branch/ test_locking. py", line 64, in test_01_lock_read instrumented_ branch( ) mbp/bzr/ remove- controlfiles/ bzrlib/ tests/per_ branch/ test_locking. py", line 42, in get_instrumente d_branch mbp/bzr/ remove- controlfiles/ bzrlib/ tests/lock_ helpers. py", line 55, in __getattr__ self._other, attr) mbp/bzr/ remove- controlfiles/ bzrlib/ remote. py", line 2242, in control_files rror("RemoteBra nch.control_ files is no longer supported") rror: RemoteBranch. control_ files is no longer supported
> this causes at least one failure in
>
> File "/usr/lib/
> return fn(*args)
> File "/usr/lib/
> testMethod()
> File "/home/
> b = self.get_
> File "/home/
> bcf = b.control_files
> File "/home/
> return getattr(
> File "/home/
> raise NotImplementedE
> NotImplementedE
>
>
> but I think those tests sholud be locking the branch, not its control_files
It is a 'per_branch' 'test_locking' test, which certainly looks like it
should be testing at the Branch level.
The only question in whether '.control_files' is part of the Branch api,
and thus needs to be deprecated rather than just removed.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
t0scACgkQJdeBCY SNAAPAqwCfcTiV0 x+/RIfRHy+ oYJx0RtwI bPd5gW8NR4K4gaz up
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkt
n7gAoJecp6c0PAv
=tCjB
-----END PGP SIGNATURE-----