camd/moztrap-connect — pull request #2 by klrmn (2012-09-06 17:05:22+00:00)
Title: Expand connect api

goal: give the Connect object the ability to filter results on things that the moztrap api doesn't support natively.
Also, deal with pagination by turning it off by default.

This PR is split into nice clean commits, if it's too big to review in one go.

test_connect.py:14: TestConnect.test_connect_limits PASSED
test_connect.py:27: TestConnect.test_get_products_no_filter PASSED
test_connect.py:36: TestConnect.test_get_products_filter_by_name PASSED
test_connect.py:43: TestConnect.test_get_productversions_by_version_id PASSED
test_connect.py:49: TestConnect.test_get_productversions_by_product_name_only PASSED
test_connect.py:58: TestConnect.test_get_productversions_by_product_name_and_version_name PASSED
test_connect.py:64: TestConnect.test_get_productversions_by_version_name_only_throws_exception PASSED
test_connect.py:71: TestConnect.test_get_product_environments_by_productversion_id PASSED
test_connect.py:83: TestConnect.test_get_runs_filter_by_id PASSED
test_connect.py:89: TestConnect.test_get_runs_filter_by_just_name_raises_exception PASSED
test_connect.py:97: TestConnect.test_get_runs_filter_by_just_product_name_raises_exception PASSED
test_connect.py:105: TestConnect.test_get_runs_filter_by_just_version_name_raises_exception PASSED
test_connect.py:113: TestConnect.test_get_runs_filter_by_productversion_id PASSED
test_connect.py:119: TestConnect.test_get_runs_filter_by_product_and_version PASSED
test_connect.py:125: TestConnect.test_get_runs_filter_by_product_and_version_and_name PASSED
test_connect.py:133: TestConnect.test_get_run_environments_by_run_id PASSED
test_connect.py:146: TestConnect.test_get_run_environments_by_run_id_and_name PASSED
test_connect.py:156: TestConnect.test_get_run_cases PASSED
test_connect.py:169: TestConnect.test_submit_in_two_parts xfail