(self)
| 204 | print(e) |
| 205 | |
| 206 | def test_call_binary(self): |
| 207 | result = self.client.algo('quality/echo').pipe(bytearray('foo', 'utf-8')) |
| 208 | self.assertEqual('binary', result.metadata.content_type) |
| 209 | self.assertEqual(bytearray('foo', 'utf-8'), result.result) |
| 210 | |
| 211 | def test_async_call(self): |
| 212 | result = self.client.algo('quality/echo').set_options(output=OutputType.void).pipe("foo") |