<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/test/test-client.py, branch dbus-python-1.2.6</title>
<subtitle>gitlab.freedesktop.org: dbus/dbus-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/'/>
<entry>
<title>Avoid using async keyword</title>
<updated>2018-01-29T10:30:43+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2018-01-29T10:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=2d5ccd0cb9e580732d0abfbf8a97b1bf779d2a9e'/>
<id>2d5ccd0cb9e580732d0abfbf8a97b1bf779d2a9e</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use TAP syntax for all directly-run tests</title>
<updated>2016-08-11T08:24:22+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2016-08-11T07:34:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=56af7b702bfd9fa97c11111d4f832bb95263273f'/>
<id>56af7b702bfd9fa97c11111d4f832bb95263273f</id>
<content type='text'>
For now this means that skipped tests will be reported as passed.
This will be corrected in the next commit.

Signed-off-by: Simon McVittie &lt;smcv@debian.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For now this means that skipped tests will be reported as passed.
This will be corrected in the next commit.

Signed-off-by: Simon McVittie &lt;smcv@debian.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use non-recursive make for tests, and make them into installed-tests</title>
<updated>2016-01-20T12:19:26+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2016-01-20T12:19:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=c145c7c6b6c62ef097ed33e1abeaa2987b01007d'/>
<id>c145c7c6b6c62ef097ed33e1abeaa2987b01007d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for skipping tests, and use it</title>
<updated>2013-05-08T07:38:22+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2013-05-08T07:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=9b26cf8238a7d432fe96a50a75008aa6bce110da'/>
<id>9b26cf8238a7d432fe96a50a75008aa6bce110da</id>
<content type='text'>
Now that Python 2.6 isn't a supported version in Debian, it doesn't
get a gi module, but we can still get some minimal test coverage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that Python 2.6 isn't a supported version in Debian, it doesn't
get a gi module, but we can still get some minimal test coverage.
</pre>
</div>
</content>
</entry>
<entry>
<title>Slightly better test coverage</title>
<updated>2012-10-16T17:31:43+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-10-16T17:31:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=544e05a16e55dad7e666baabfb665997a79d6580'/>
<id>544e05a16e55dad7e666baabfb665997a79d6580</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More Python 3 porting, this time primarily to get test-client.py working.</title>
<updated>2011-12-16T22:07:07+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-16T22:07:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=f8dab5af0bef5d26a51df41a564a5285c16a9cb5'/>
<id>f8dab5af0bef5d26a51df41a564a5285c16a9cb5</id>
<content type='text'>
Changes include:

- DBusException.get_dbus_message(): In Python 3, the str of the exception will
  already be a unicode, so don't try to decode it unless it's a bytes object
  (a.k.a. 8-bit str in Python 2).
- gobject_service.py: Switch to pygi and rewrite the metaclass instantiation
  code to be portable between Python 2 and Python 3.
- run-test.sh: echo a few more useful environment variables
- test-client.py:
  - Globally replace deprecated assertEquals with assertEqual
  - Globally replace deprecated assert_ with assertTrue
  - Use bytes objects for both 'ay' signatured methods on the server
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - Reformat some long lines for debugging.
- test-service.py:
  - Open the log file in 'a' mode for easier tailing.
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - reformat some long lines for debugging.
  - Put module-scope code into a main() function and add a bunch of logger
    output for better debugging.  `session_bus` must still be global though.
    Wrap main() in a bit try/except to log all top-level exceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes include:

- DBusException.get_dbus_message(): In Python 3, the str of the exception will
  already be a unicode, so don't try to decode it unless it's a bytes object
  (a.k.a. 8-bit str in Python 2).
- gobject_service.py: Switch to pygi and rewrite the metaclass instantiation
  code to be portable between Python 2 and Python 3.
- run-test.sh: echo a few more useful environment variables
- test-client.py:
  - Globally replace deprecated assertEquals with assertEqual
  - Globally replace deprecated assert_ with assertTrue
  - Use bytes objects for both 'ay' signatured methods on the server
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - Reformat some long lines for debugging.
- test-service.py:
  - Open the log file in 'a' mode for easier tailing.
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - reformat some long lines for debugging.
  - Put module-scope code into a main() function and add a bunch of logger
    output for better debugging.  `session_bus` must still be global though.
    Wrap main() in a bit try/except to log all top-level exceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-enable the other tests, even though these still fail for me (b.f.o #43303).</title>
<updated>2011-12-16T16:15:01+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-16T16:15:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=2167b305db78b8345b0f5ea23bfa445fa7cfca4d'/>
<id>2167b305db78b8345b0f5ea23bfa445fa7cfca4d</id>
<content type='text'>
Fix another except syntax problem.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix another except syntax problem.
</pre>
</div>
</content>
</entry>
<entry>
<title>This is the big one; it adds Python 3 support.</title>
<updated>2011-12-15T11:57:21+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-15T11:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=4c1c2eade1c5b383adad94a7a4fd6553873fecf0'/>
<id>4c1c2eade1c5b383adad94a7a4fd6553873fecf0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Python 3 syntax to catch exceptions</title>
<updated>2011-12-13T11:55:44+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-13T11:55:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=14225c74b5bd75cf6c4cda3647341dc20214e6b8'/>
<id>14225c74b5bd75cf6c4cda3647341dc20214e6b8</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;simon.mcvittie@collabora.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;simon.mcvittie@collabora.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Omit the remote traceback from certain D-Bus errors</title>
<updated>2008-07-17T12:00:15+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2008-07-17T12:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=d1ded84e774c4aaad9bf02842e1898580dd599ea'/>
<id>d1ded84e774c4aaad9bf02842e1898580dd599ea</id>
<content type='text'>
Specifically, DBusException and its subclasses no longer have the remote
traceback by default (although subclasses can turn it back on again
by setting include_traceback = True, and the various "programmer error"
subclasses of DBusException do have this set).

Hopefully this will stop people thinking it's a dbus-python or
telepathy-python bug when a D-Bus API like Telepathy deliberately raises an
error (and so dbus-python or telepathy-python is visible in the traceback).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specifically, DBusException and its subclasses no longer have the remote
traceback by default (although subclasses can turn it back on again
by setting include_traceback = True, and the various "programmer error"
subclasses of DBusException do have this set).

Hopefully this will stop people thinking it's a dbus-python or
telepathy-python bug when a D-Bus API like Telepathy deliberately raises an
error (and so dbus-python or telepathy-python is visible in the traceback).
</pre>
</div>
</content>
</entry>
</feed>
