fix whitespace issues to make pep8 happy

Change-Id: I021b55423e057be68395def5a2c3aee3421ad97c
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
do not stub out controller we have deleted

Change-Id: I58b6d80d5c9bae6c26860a21915dd050f88ca556
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
add q argument to get_json() to make it easier to pass queries to the service

Change-Id: I26a2900477bee8e6f897532c75637cef0a34c0ce
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
add some debugging and error checking to _query_to_kwargs

Change-Id: Ie890de2de48bebe9e29b9714c22a289a595be590
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
convert prints to logging calls and add a few todo/fixme notes

Change-Id: Ic1d9aabd5946b8c7f30942564ce196f1f0d08ec5
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
update tests for listing meters

Change-Id: If4d5f42f32890465a8946a74d54975fda409befc
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
update url used in acl tests

Change-Id: I7c2cad0c8a89a672b19fce36537f1d51b7317269
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
only include the start and end timestamp keywords wanted by the EventFilter

Change-Id: I0e28e3a00477f4346b2049d32ccd19e1a87cd630
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
always include all query fields to keep values aligned

Change-Id: I64612ab819547e70df363192b069605283ac1065
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
enable logging for wsme in the tests to help with debugging

Change-Id: I4871935c16e8aab2a1f38df676432dc267054349
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fix sum tests for resource queries

Fix the statistics calculation in the mongo driver to handle getting
no data back from the query.

Update the queries in the test code.

Change-Id: I4b49cdb586cd714bf27feb20d4a5fbc5dbfb237d
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
fix tests for stats using project filter

Change-Id: I780a122c9504d705863921763da03e7e588ffff6
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
fix max tests for resource queries

Change-Id: I1a6add4cd0e1be7c86370f93490e61f892314324
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
fix max statistics tests for projects

Change-Id: Ic281c092193f164b1db8764bdf268e0e619b911b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
remove obsolete list tests

Change-Id: I4924f22db5885a22966ab9e4b7d019c5e6561486
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
update resource listing tests

Change-Id: I08b58d071f2b857b7ee61716ecfe59c89f57c8f6
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge pull request #1 from dhellmann/v2flatten

a bunch of test updates