'This test ensures that only binary is used for blob type parameters.'

def test_non_binary_input_for_blobs_fails(self):

    self.set_http_response(status_code=200)
    data = u'\xe9'
    with self.assertRaises(TypeError):
        self.service_connection.encrypt(key_id='foo', plaintext=data)
