Some notes on discussing changes
Export AnyMatch properly.

Change-Id: Ia8de6660799387787dc7a2dfb7d3d7a6f6724b55
run network test on the loopback interface only

We have a sandbox for building packages that doesn't allow this and it
seems to be a good idea in general not to bind to all interfaces, some
of which will be reachable from other machines to run simple tests.

Change-Id: I6cf82d6bd67437dc29d7f9d6c886dadb6e6d8f95
Cleanup sys.modules correctly in test_run.

We were leaving testtools.runexample behind which breaks test isolation.

Change-Id: I500c20317183596d28f09c0b5a62b03f5f009e4f
Be more paranoid about list-tests behaviour.

In test_run we were assuming that testtools.run -l wouldn't be evil and call
sys.exit(), but calling sys.exit() is the contract of TestProgram, so we should
be paranoid about it.

Change-Id: I72d81942322eb9c1d57356741fa0f3806ebf14e8
Indicate failed imports in list-tests.

Test listing now explicitly indicates by printing 'Failed to import' and
exiting (2) when an import has failed rather than only signalling through the
test name. This plus the introduction of a public helper lays the groundwork
for fixing a usability bug in testrepository caused by the interaction between
failed listings and user test filters.

Change-Id: I7fb8cb70c515c54d8febd68ba791c27db0a7a9c4
Closes-Bug: #1245672
Fix NEWS item sorting.

Change-Id: If697003e5a6c13fbd174b2ce0a0ad83e62e44ec0
Add 'force_failure' feature to testtools.TestCase.