NetworkManager/tools
Thomas Haller c569fc23bf libnm/tests: fix handling ByteArray in test-networkmanager-service.py for Python 3
In Python 3, dbus.ByteArray() must be created using a byte string,
while strings obtained via DBUS are unicode strings.

This was wrong in WifiAp.__get_props() which broke the test
test_wifi_ap_added_removed().

    File "/usr/lib/python3.3/site-packages/dbus/service.py", line 707, in _message_cb
      retval = candidate_method(self, *args, **keywords)
    File "./NetworkManager/tools/test-networkmanager-service.py", line 102, in GetAll
      return self._get_dbus_properties(iface)
    File "./NetworkManager/tools/test-networkmanager-service.py", line 96, in _get_dbus_properties
      return self.__dbus_ifaces[iface]()
    File "./NetworkManager/tools/test-networkmanager-service.py", line 315, in __get_props
      props[PP_SSID] = dbus.ByteArray(self.ssid)
    TypeError: string argument without an encoding

https://bugzilla.gnome.org/show_bug.cgi?id=739448
2015-01-05 14:18:47 +01:00
..
check-exports.sh build: fix check-exports.sh for ppc64 arch 2014-12-19 14:53:00 +01:00
debug-helper.py tools: move debug-helper.py from test/ to tools/ 2014-07-30 15:56:19 -04:00
doc-generator.xsl add tools directory and xsl for spec generation 2008-03-24 16:47:39 +00:00
Makefile.am tools: move libnm-glib's fake NM service implementations here 2014-07-30 15:56:29 -04:00
run-test-valgrind.sh valgrind: print absolute path 2013-07-30 11:39:28 +02:00
test-networkmanager-service.py libnm/tests: fix handling ByteArray in test-networkmanager-service.py for Python 3 2015-01-05 14:18:47 +01:00
test-sudo-wrapper.sh nmtst: add nmtst_reexec_sudo() function 2014-06-05 18:12:57 +02:00