Created by Colin Watson on 2017-12-19 and last modified on 2018-01-02
Get this branch:
bzr branch lp:~cjwatson/launchpad/upgrade-testtools
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Colin Watson
Launchpad itself

Recent revisions

18525. By Colin Watson on 2018-01-02

Upgrade to unittest2 1.1.0, which removes the need for security proxy fiddling around assertDictEqual.

18524. By Colin Watson on 2017-12-19

Upgrade to testtools 2.3.0 and fixtures 3.0.0.

18523. By Colin Watson on 2017-12-19

Just use "with fixture:" rather than "with self.useFixture(fixture):".

The latter form is redundant, and causes problems with newer versions of

18522. By Colin Watson on 2017-12-19

Remove security proxies before passing objects to assertDictEqual.

18521. By Colin Watson on 2017-12-19

Remove some stray calls to test case setUp methods.

18520. By Colin Watson on 2017-12-19

Use TestCase.skipTest rather than TestCase.skip (deprecated in testtools 1.9.0).

18519. By Colin Watson on 2017-12-19

Upgrade to python-keystoneclient 0.7.1 and python-swiftclient 2.0.3.

These were the latest versions in Icehouse, to go with keystone 2014.1.5 and
swift 1.13.1 currently on the server. Upgrading to these allows us to use a
more recent version of pbr that is compatible with other dependencies we'd
like to upgrade.

We need a few tweaks to make everything work properly:

 * quieten overly-noisy logging (needed until python-swiftclient 3.2.0);
 * explicitly restrict HashStream to the desired segment size, since
   otherwise the client will read past the end of the segment and we can end
   up with corrupted hashes;
 * advertise a keystone endpoint in the fake Swift fixture;
 * cope with slightly different exception types due to the client now using

18518. By Launchpad PQM Bot on 2017-12-19

[testfix][r=cjwatson][no-qa] Suppress Branch security proxies in
 lp.codehosting, not lp_sitecustomize.
 The latter runs too early to be able to safely import Bazaar plugins.

18517. By Launchpad PQM Bot on 2017-12-19

[r=wgrant][no-qa] Convert build system to virtualenv and pip.

18516. By Launchpad PQM Bot on 2017-12-18

[r=wgrant][no-qa] Bring the relevant parts of s4 in-tree,
 and clean it up substantially.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.