Created by Colin Watson on 2017-12-19 and last modified on 2018-02-14
Get this branch:
bzr branch lp:~cjwatson/launchpad/modern-testtools-cleanup
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

18528. By Colin Watson on 2018-02-14

Merge devel.

18527. By Colin Watson on 2017-12-19

Simplify BufferLogger.content.

18526. By Colin Watson on 2017-12-19

Import from the new testtools.twistedsupport rather than testtools.deferredruntest.

18525. By Colin Watson on 2017-12-19

Simplify some tests using TempDir.join.

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

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.