[d-feet/wjt/fix-ci] WIP
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [d-feet/wjt/fix-ci] WIP
- Date: Tue, 6 Aug 2019 14:46:10 +0000 (UTC)
commit 850158b0664923f1846a4fde75ea4f7c8e859eb7
Author: Will Thompson <will willthompson co uk>
Date: Tue Aug 6 15:40:25 2019 +0100
WIP
src/tests/tests.py.in | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/src/tests/tests.py.in b/src/tests/tests.py.in
index de40cf3..29fda39 100755
--- a/src/tests/tests.py.in
+++ b/src/tests/tests.py.in
@@ -89,16 +89,26 @@ class AddressInfoTest(unittest.TestCase):
"""tests for the AddressInfo class and the introspection stuff"""
def setUp(self):
+ print("setUp 1")
self.bus = Gio.TestDBus()
+ print("setUp 2")
self.bus.unset()
+ print("setUp 3")
self.bus.up()
+ print("setUp 4")
def tearDown(self):
+ print("tearDown 1")
self.bus.stop()
+ print("tearDown 2")
def test_bus(self):
"""introspect a name on the system bus"""
- ai = AddressInfo(DATA_DIR, self.bus.get_bus_address(), None, "org.freedesktop.DBus")
+ print("HELLO")
+ address = self.bus.get_bus_address()
+ print("ABC")
+ ai = AddressInfo(DATA_DIR, address, None, "org.freedesktop.DBus")
+ print("OK")
@unittest.skip("TODO:peer to peer test not implemented")
def test_peer_to_peer(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]