requirements/tests
Robert Collins d09630234a Consolidating redundant code in the tests
This moves things that are pretty much copy-paste into one place,
letting us focus on the actual differences amongst the tests.

I've also made the local test fixtures explicit, so we can see what
each test really needs, which has also eliminated redundant test
overhead, the slowest test is now 0.05s vs 0.1 before. This is more
than paid for by the reduced duplication in the basic setup, making
the patch a net reduction in LOC.

It also fixes the tempdir leak that was present in two of the test
scripts.

Change-Id: I63eee7681657b2b5eb7959738cc89c57c117fa3b
2015-06-03 23:04:04 +12:00
..
files Remove dev-requirements.txt 2015-06-03 11:39:08 +12:00
__init__.py one global-requirements.txt to rule them all 2013-08-02 13:13:57 -04:00
common.py Consolidating redundant code in the tests 2015-06-03 23:04:04 +12:00
test_update_pbr.py Consolidating redundant code in the tests 2015-06-03 23:04:04 +12:00
test_update_suffix.py Consolidating redundant code in the tests 2015-06-03 23:04:04 +12:00
test_update.py Consolidating redundant code in the tests 2015-06-03 23:04:04 +12:00