Make pgaas tests propagate test failures 39/98439/1
authorMiroslav Los <miroslav.los@pantheon.tech>
Fri, 15 Nov 2019 08:30:47 +0000 (09:30 +0100)
committerMiroslav Los <miroslav.los@pantheon.tech>
Fri, 15 Nov 2019 08:30:47 +0000 (09:30 +0100)
commiteee4701e82b2e8622d776f6c025ef3f429455644
tree07e320f416ac3dd3d5f51fc44d59ff1808f85679
parent18673c56f47a3662ef8b0b981a9af774e2e29826
Make pgaas tests propagate test failures

Reraise the exceptions so that test harness reports them properly.
Fix parameters passed in test_update_database.
Ensure strings are encoded before hashing (enforced in python3).

Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Issue-ID: CCSDK-1929
Change-Id: Iee098fd53bc0fbd1c69d737002d1f63f9548f7f4
pgaas/pgaas/pgaas_plugin.py
pgaas/tests/test_plugin.py