Merge lp:~vila/bzr-builddeb/use-loader into lp:bzr-builddeb

Proposed by Vincent Ladeuil
Status: Merged
Merged at revision: not available
Proposed branch: lp:~vila/bzr-builddeb/use-loader
Merge into: lp:bzr-builddeb
Diff against target: 41 lines (+0/-16)
2 files modified
cmds.py (+0/-13)
tests/__init__.py (+0/-3)
To merge this branch: bzr merge lp:~vila/bzr-builddeb/use-loader
Reviewer Review Type Date Requested Status
Bzr-builddeb-hackers Pending
Review via email: mp+18249@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Vincent Ladeuil (vila) wrote :

This patch makes 'bzr selftest -s bp.builddeb' pass again.

It deletes the cmd_test_builddeb command since it's now replaced by the above command.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'cmds.py'
2--- cmds.py 2009-12-01 17:14:15 +0000
3+++ cmds.py 2010-01-29 09:34:14 +0000
4@@ -52,7 +52,6 @@
5 default_conf,
6 local_conf,
7 global_conf,
8- test_suite,
9 )
10 from bzrlib.plugins.builddeb.builder import (
11 DebBuild,
12@@ -917,15 +916,3 @@
13 else:
14 note('The merge resulted in no conflicts. You may commit the '
15 'changes by running "bzr commit".')
16-
17-
18-class cmd_test_builddeb(Command):
19- """Run the builddeb test suite"""
20-
21- hidden = True
22-
23- def run(self):
24- from bzrlib.tests import selftest
25- passed = selftest(test_suite_factory=test_suite)
26- # invert for shell exit code rules
27- return not passed
28
29=== modified file 'tests/__init__.py'
30--- tests/__init__.py 2010-01-28 11:11:25 +0000
31+++ tests/__init__.py 2010-01-29 09:34:14 +0000
32@@ -28,10 +28,7 @@
33 import os
34 from unittest import TestSuite
35
36-from bzrlib.lazy_import import lazy_import
37-lazy_import(globals(), """
38 from debian_bundle.changelog import Version, Changelog
39-""")
40
41 from bzrlib.tests import TestUtil, multiply_tests, TestCaseWithTransport
42

Subscribers

People subscribed via source and target branches