~smoser/simplestreams/keystone-v3-support

Viewing all changes in revision 447.

  • Committer: Scott Moser
  • Date: 2016-11-28 20:50:43 UTC
  • Revision ID: smoser@ubuntu.com-20161128205043-62yz5nl0oc8qfu06
tests: change to having http server select its own port

The big change here is to let the http server in tests/httpserver.py
select its own server by passing port 0 through as the port to HTTPServer.
Then, have it report what port it got.

The tests now run fewer of these servers also, as we run one per class
instead of one per unit test, which makes it significantly faster.
Instead of ~28 python web server processes running during test, it runs
just 5.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: