commit | 6b71aff8d87eac40c8ec806c4735c157d568fd90 | [log] [tgz] |
---|---|---|
author | Jan Hruban <jan.hruban@gooddata.com> | Thu Oct 22 16:58:08 2015 +0200 |
committer | Joshua Hesketh <josh@nitrotech.org> | Sun Dec 06 14:48:32 2015 +1100 |
tree | b63c07d4901505e3827c7eb44a3b1372075f5d49 | |
parent | fe485c609178c9eaa965609e8b74ce6f43d5afdb [diff] |
Tidy up tests/base.py This is a general tidy up and squashed commit of 3 previous changes to ease reviewing. - Generalize event queue handling in tests Store the event queue list in the base test class, so operation on the queues can be delegated to separate method instead of operating on each queue explicitly. Previously: I4c23143b4d49fa409fe378d1348bb6397b748cb9 - Don't pass fake_gerrit to FakeURLOpener It's not used there whatsoever. Previously: Ieefb09aaf60d4044c567b4d51fedf2068c3de1a6 - Pass upstream_root to fake gerrit explicitly Previously: Ifb7d47caec430d0a209140e87ada98b8531c5d04 Co-Authored-By: Joshua Hesketh <josh@nitrotech.org> Change-Id: I4c23143b4d49fa409fe378d1348bb6397b748cb9