Commit 4069c3d8 authored by Martin Pitt's avatar Martin Pitt
Browse files

test_everything: Ensure TestSignals callback does get called

parent 4e4c87e3
......@@ -690,9 +690,12 @@ class TestSignals(unittest.TestCase):
def callback(obj, obj_param):
self.assertEqual(, 3)
self.assertGreater(obj_param.__grefcount__, 1)
obj.called = True
obj.called = False
obj.connect('sig-with-obj', callback)
def test_int64_param_from_py(self):
obj = Everything.TestObj()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment