def test_api_assert(self):
        with pytest.raises(exceptions.APIError):
            exceptions.api_assert(False, 400)

        exceptions.api_assert(True, 400)
Check if the storlet should be executed at proxy server
dataset/ETHPy150Open hfaran/Tornado-JSON/tests/test_tornado_json.py/TestUtils.test_api_assert--crossover with--dataset/ETHPy150Open openstack/storlets/Engine/swift/storlet_middleware/storlet_handler.py/StorletProxyHandler.is_proxy_runnable