test failure: AssertionError: command ['st'] loaded forbidden modules ['bzrlib.remote', 'bzrlib.smart']

Bug #595584 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Loom
Invalid
Undecided
Vincent Ladeuil

Bug Description

Reproduced with ./bzr selftest tariff

Related branches

Vincent Ladeuil (vila)
Changed in bzr-loom:
status: New → Confirmed
assignee: nobody → Vincent Ladeuil (vila)
Revision history for this message
Robert Collins (lifeless) wrote :

I really think plugins should be able to load what they need ;).

Anyhow, a lazy format loader is in loom trunk now.

Changed in bzr-loom:
status: Confirmed → Invalid
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 595584] Re: test failure: AssertionError: command ['st'] loaded forbidden modules ['bzrlib.remote', 'bzrlib.smart']

On 21 June 2010 08:04, Robert Collins <email address hidden> wrote:
> I really think plugins should be able to load what they need ;).

If they are loading a module that we would normally not load then either:

1- they have a good reason and the test should not fail
2- the plugin is accidentally causing it to be loaded, the test should
fail, and the plugin author should fix it.

With the current tariff tests we've seen both cases a few times.

It might be nice to more cleanly accommodate #1 by saying "normally
foo should not be loaded, but if plugin bar is installed then it's
ok." We could simply put that logic into the test.

--
Martin

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.