bzr-git tests abort test run if dulwich mismatch
Bug #529648 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Git Plugin |
Triaged
|
Low
|
Unassigned |
Bug Description
affects bzr-git
done
When I run
'bzr selftest plugin_info'
bzr-git throws an exception and stops the test run.
This is naughty: it should do one of:
- fail to import (raise ImportError). This will be logged but the test
run will continue
- load the tests and let them fail
- load the tests and have all the dulwich dependending ones require a
dulwich_feature - this can be done declaratively, and will result in
them all skipping
To post a comment you must log in.
On Sun, 2010-02-28 at 20:13 +0000, Robert Collins wrote: esent rather than ImportError,
> Public bug reported:
>
> affects bzr-git
> done
>
> When I run
> 'bzr selftest plugin_info'
>
> bzr-git throws an exception and stops the test run.
>
> This is naughty: it should do one of:
> - fail to import (raise ImportError). This will be logged but the test
> run will continue
It does this but raises DependencyNotPr
which is part of bzrlib.errors. Could bzr perhaps catch this error as
well?
Cheers,
Jelmer