def test_get_collections(self):
    resp = self.db.list_sentry_roles_by_group() # Non Sentry Admin can do that
    assert_not_equal(0, resp.status.value, resp)
    assert_true('denied' in resp.status.message, resp)

    resp = self.db.list_sentry_roles_by_group(groupName='*')
    assert_equal(0, resp.status.value, resp)
dataset/ETHPy150Open cloudera/hue/desktop/libs/libsentry/src/libsentry/tests.py/TestWithSentry.test_get_collections/original