Convert test suite to OUnit2 before running

This is needed since running an OUnit 1.x test suite using OUnit2 installed
does not return non-zero exit code even on failure or error.

Converting the suite at this point is desirable in favour of converting all the
tests because we can keep writing tests using OUnit 1.x style, making them
backportable to old build environments without OUnit2 (and without this patch).

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Unit tests: Don't attempt to talk to squeezed

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Disable test case that uses API call

The mock API feature is not quite feature-full to fully mock API calls as this
test case attempts to make use of. There is a Helpers.call_api_functions
(indirectly) in the codepath which fails since the mock database created does
not persist as far as the server that handles the API call.

We'll disable this test for now which is error-ing (not failing) until we have
time to properly provide a mock API.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1751 from simonjbeaumont/fix-ounit-tests

Convert test suite to OUnit2 before running