"bzr selftest -s bt.per_interbranch Loom" finds 0 tests

Bug #617212 reported by Andrew Bennetts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Loom
Triaged
Medium
Unassigned

Bug Description

$ bzr selftest -s bt.per_interbranch Loom
----------------------------------------------------------------------
Ran 0 tests in 0.000s

This is because the InterLoomBranch branch object doesn't get registered unless bzrlib.plugins.loom.branch is imported, so it isn't included in the per_interbranch scenarios. If you add e.g. "import branch" to loom/__init__.py then you get the expected result:

Ran 81 tests in 3.877s

Related branches

Andrew Bennetts (spiv)
summary: - "bzr selftest -s bt.per_interbranch" finds 0 tests
+ "bzr selftest -s bt.per_interbranch Loom" finds 0 tests
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 617212] Re: "bzr selftest -s bt.per_interbranch Loom" finds 0 tests

I haven't looked at the branch, but I'd expect the fix to be importing
the module in the test_suite() function.

However, that may be racy with the global import :(

Jelmer Vernooij (jelmer)
Changed in bzr-loom:
status: New → Triaged
importance: Undecided → Medium
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.