From 8cacd651433f4b108a0b81e9ab861fb745fcd672 Mon Sep 17 00:00:00 2001 From: gggeek Date: Thu, 31 Dec 2020 14:52:02 +0000 Subject: [PATCH] tests --- .travis.yml | 1 + NEWS | 4 ++-- extras/test.py | 4 +--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e285205f..c9da95fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,6 +54,7 @@ before_script: script: - ./vendor/bin/phpunit -v $PHPUNIT_OPTS tests - python3 extras/test.py + - python3 extras/test.pl after_failure: # Troubleshoot test env build problems diff --git a/NEWS b/NEWS index 0c1eddc1..03222c86 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -XML-RPC for PHP version 4.5.0 - (unreleased) +XML-RPC for PHP version 4.5.0 - 2020/12/31 * new: it is now possible to control the precision used when serializing DOUBLE values via usage of `PhpXmlRpc::$xmlpc_double_precision` @@ -16,7 +16,7 @@ XML-RPC for PHP version 4.5.0 - (unreleased) * minor improvements in the debugger to allow easier integration of phpxmlrpc/jsonrpc and friends -* removed obsolete files from the 'extras' directory +* removed obsolete files from the 'extras' directory and updated the demo perl and python files XML-RPC for PHP version 4.4.3 - 2020/12/17 diff --git a/extras/test.py b/extras/test.py index ff81e286..4b599e65 100644 --- a/extras/test.py +++ b/extras/test.py @@ -33,9 +33,7 @@ try: print (r) # test base 64 - b = 'Mary had a little lamb She tied it to a pylon' - b = base64.b64encode(b.encode('ascii')) - r = server.examples.decode64(b) + r = server.examples.decode64(b'Mary had a little lamb She tied it to a pylon') print (r) except xmlrpc.client.Fault as err: -- 2.47.0