Merge lp:~jelmer/brz/drop-lp-mirror into lp:brz

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: no longer in the source branch.
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/drop-lp-mirror
Merge into: lp:brz
Diff against target: 53 lines (+3/-20)
3 files modified
.travis.yml (+2/-2)
breezy/plugins/launchpad/test_lp_api.py (+0/-17)
byov.conf (+1/-1)
To merge this branch: bzr merge lp:~jelmer/brz/drop-lp-mirror
Reviewer Review Type Date Requested Status
Martin Packman Approve
Review via email: mp+361111@code.launchpad.net

Commit message

Fix lp-mirror tests.

Description of the change

Fix lp-mirror tests.

To post a comment you must log in.
Revision history for this message
Martin Packman (gz) wrote :

Thanks!

review: Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.travis.yml'
2--- .travis.yml 2018-11-23 03:46:57 +0000
3+++ .travis.yml 2018-12-19 01:35:10 +0000
4@@ -20,9 +20,9 @@
5 - BRZ_PLUGIN_PATH=-site:-user python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning ./brz selftest --parallel=fork $SELFTEST_OPTIONS
6
7 install:
8- - sudo apt install python-all-dev python3-all-dev subunit
9+ - sudo apt install python-all-dev python3-all-dev subunit python3-launchpadlib python-launchpadlib
10 - travis_retry pip install -U setuptools
11- - travis_retry pip install -U pip coverage codecov flake8 testtools paramiko fastimport configobj cython testscenarios six docutils python-subunit dulwich $TEST_REQUIRE sphinx sphinx_epytext
12+ - travis_retry pip install -U pip coverage codecov flake8 testtools paramiko fastimport configobj cython testscenarios six docutils python-subunit dulwich $TEST_REQUIRE sphinx sphinx_epytext launchpadlib
13
14 after_success:
15 - codecov
16
17=== modified file 'breezy/plugins/launchpad/test_lp_api.py'
18--- breezy/plugins/launchpad/test_lp_api.py 2018-07-14 19:20:20 +0000
19+++ breezy/plugins/launchpad/test_lp_api.py 2018-12-19 01:35:10 +0000
20@@ -81,20 +81,3 @@
21 from . import lp_api
22 expected_path = osutils.pathjoin(config.config_dir(), 'launchpad')
23 self.assertEqual(expected_path, lp_api.get_cache_directory())
24-
25-
26-class TestLaunchpadMirror(TestCaseWithTransport):
27- """Tests for the 'bzr lp-mirror' command."""
28-
29- # Testing the lp-mirror command is quite hard, since it must talk to a
30- # Launchpad server. Here, we just test that the command exists.
31-
32- _test_needs_features = [launchpadlib_feature]
33-
34- def test_command_exists(self):
35- out, err = self.run_bzr(['launchpad-mirror', '--help'], retcode=0)
36- self.assertEqual('', err)
37-
38- def test_alias_exists(self):
39- out, err = self.run_bzr(['lp-mirror', '--help'], retcode=0)
40- self.assertEqual('', err)
41
42=== modified file 'byov.conf'
43--- byov.conf 2018-11-18 18:31:24 +0000
44+++ byov.conf 2018-12-19 01:35:10 +0000
45@@ -25,7 +25,7 @@
46
47 # FIXME: Arguably this should be vm.build_deps=brz but it requires either an
48 # available package or at least a debian/ dir ? -- vila 2018-02-23
49-brz.build_deps = gcc, debhelper, python, python-all-dev, python3-all-dev, python-configobj, python3-configobj, python-docutils, python3-docutils, python-paramiko, python3-paramiko, python-subunit, python3-subunit, python-testtools, python3-testtools, subunit, cython, cython3, python-pip, python3-pip, python-setuptools, python3-setuptools, python-flake8, python3-flake8, python-sphinx, python3-sphinx
50+brz.build_deps = gcc, debhelper, python, python-all-dev, python3-all-dev, python-configobj, python3-configobj, python-docutils, python3-docutils, python-paramiko, python3-paramiko, python-subunit, python3-subunit, python-testtools, python3-testtools, subunit, cython, cython3, python-pip, python3-pip, python-setuptools, python3-setuptools, python-flake8, python3-flake8, python-sphinx, python3-sphinx, python-launchpadlib, python3-launchpadlib
51 subunit.build_deps = python-testscenarios, python3-testscenarios, python-testtools, python3-testtools
52 vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-junitxml
53 [brz-xenial]

Subscribers

People subscribed via source and target branches