osmo-python-tests.git branch master updated. 566f2a7590fbee3337c016b561af8b0c42e2364f

gitosis at osmocom.org gitosis at osmocom.org
Fri Jan 5 10:11:59 UTC 2018

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, master has been updated
       via  566f2a7590fbee3337c016b561af8b0c42e2364f (commit)
       via  8a02e36575d92360bc482e8453b1df04182f3390 (commit)
      from  6588960d1d27d5a6da7fb6144e72f6f134e69063 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 566f2a7590fbee3337c016b561af8b0c42e2364f
Author: Max <msuraev at sysmocom.de>
Date:   Thu Dec 21 14:38:39 2017 +0100

    Update ctrl command parsing for python3
    * make parse() return command id in addition to variable name and value
    * introduce parse_kv() wrapper which ignores that id and use it instead
      of old parse()
    * make parse() compatible with python3 where we got bytes, not string
      from the socket so we have to decode it properly before using split()
    * expand test_py3.py with simply asyn server which verifies that
      osmo_ctrl.py works properly
    Change-Id: I599f9f5a18109929f59386ab4416b8bfd75c74d1


commit 8a02e36575d92360bc482e8453b1df04182f3390
Author: Max <msuraev at sysmocom.de>
Date:   Thu Dec 21 14:37:23 2017 +0100

    Use python3 for osmo_ctrl.py
    It's a standalone script illustrating the use of ctrl protocol from
    python. Since it's not used as a library and nothing depends on it, we
    can safely switch to python3.
    Change-Id: I2461dd9af67771beed5306116e8a1b0ee2285aa8


Summary of changes:
 contrib/jenkins.sh     |  5 ++++-
 osmopy/osmo_ipa.py     | 41 +++++++++++++++++++++++++++++++----------
 scripts/osmo_ctrl.py   | 10 +++++-----
 scripts/twisted_ipa.py |  4 ++--
 setup.py               |  1 +
 tests/test_py3.py      | 50 +++++++++++++++++++++++++++++++++++++++++++++++---
 6 files changed, 90 insertions(+), 21 deletions(-)


More information about the osmocom-commitlog mailing list