gnucash master: Multiple changes pushed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gnucash master: Multiple changes pushed

Geert Janssens-3
Updated via  https://github.com/Gnucash/gnucash/commit/34bab999 (commit)
         via  https://github.com/Gnucash/gnucash/commit/3cd2a655 (commit)
        from  https://github.com/Gnucash/gnucash/commit/e0af43d4 (commit)



commit 34bab999a556c4bafb9c63f8a180f3ac1278fe01
Author: Guy Taylor <[hidden email]>
Date:   Tue May 16 17:11:28 2017 +0100

    Fix coredump in Python when using "get_namespaces"
   
    The Python API incorectly had GncCommodityTable.get_namespaces() defined
    as a list of GncCommodityNamespace over the correct list of String. This
    fixes the issue and adds a test for GncCommodityTable.get_namespaces()
    and GncCommodityTable.get_namespaces_list().
   
    Note: This is not a direct fix as I could not get SWIG to detect/convert
    "GList *" to a "gchar *" to a Python str list.

commit 3cd2a6554c40b2df0aef3f091e115614fa12b93e
Author: Guy Taylor <[hidden email]>
Date:   Tue May 16 17:17:04 2017 +0100

    Enable Python tests in Travis CI



Summary of changes:
 .travis.yml                                        |  2 +-
 src/optional/python-bindings/gnucash_core.py       |  7 +++--
 src/optional/python-bindings/tests/runTests.py.in  |  3 +-
 .../python-bindings/tests/test_commodity.py        | 32 ++++++++++++++++++++++
 4 files changed, 39 insertions(+), 5 deletions(-)
 create mode 100644 src/optional/python-bindings/tests/test_commodity.py

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches