[d-feet/pygi] Fix tests



commit 9f43cfe41d34aa9c12aee8053947271f5e3d9381
Author: Thomas Bechtold <thomasbechtold jpberlin de>
Date:   Tue Oct 9 08:32:10 2012 +0200

    Fix tests

 tests/tests.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/tests/tests.py b/tests/tests.py
index bb58ffd..bb6659d 100755
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -75,15 +75,13 @@ class AddressInfoTest(unittest.TestCase):
 
     def test_session_bus(self):
         """ introspect a name on the session bus """
-        return
         ai = AddressInfo(Gio.BusType.SESSION, "org.freedesktop.DBus")
 
+    @unittest.skip("TODO: create another bus and test with the other bus")
     def test_other_bus(self):
         """ test another bus """
-        return 
         sysbus_addr = os.getenv("DBUS_SYSTEM_BUS_ADDRESS")
         ai = AddressInfo(sysbus_addr, "org.freedesktop.DBus")
-        #TODO: create another bus and test with the other bus
     
     @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]