tests
authorgggeek <giunta.gaetano@gmail.com>
Thu, 31 Dec 2020 14:52:02 +0000 (14:52 +0000)
committergggeek <giunta.gaetano@gmail.com>
Thu, 31 Dec 2020 14:52:02 +0000 (14:52 +0000)
.travis.yml
NEWS
extras/test.py

index e285205..c9da95f 100644 (file)
@@ -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 0c1eddc..03222c8 100644 (file)
--- 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
index ff81e28..4b599e6 100644 (file)
@@ -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: