async def test_wolfram_api_imagebytes_string_int(self):
     api = (self.api_owner, "api/private/str_image_int")
     with open(self.get_data_path("32x2.png"), "rb") as fp:
         buffer = fp.read()
     apicall = WolframAPICallAsync(self.cloud_session_async, api)
     apicall.set_parameter("str", "abc")
     apicall.set_parameter("int", 10)
     apicall.add_image_data_parameter("image", buffer)
     result = await apicall.perform()
     res = await result.get()
     self.assertEqual(res, ["abc", [32, 2], 10])
 async def test_wolfram_api_imagebytes_string_int(self):
     api = (self.api_owner, 'api/private/str_image_int')
     with open(self.get_data_path('32x2.png'), 'rb') as fp:
         buffer = fp.read()
     apicall = WolframAPICallAsync(self.cloud_session_async, api)
     apicall.set_parameter('str', 'abc')
     apicall.set_parameter('int', 10)
     apicall.add_image_data_parameter('image', buffer)
     result = await apicall.perform()
     res = await result.get()
     self.assertListEqual(res, ['abc', [32, 2], 10])