test: Fix the structure_changed message test

The core changed to use sink pads for the structure changed
message instead of source pads. Might as well fix the test too.
This commit is contained in:
Jan Schmidt 2009-09-11 22:41:28 +01:00
parent e32f83d608
commit b0898556bb

View file

@ -168,7 +168,7 @@ class TestCreateMessages(TestCase):
def testStructureChangeMessage(self):
if hasattr(gst, 'message_new_structure_change'):
p = gst.Pad("blah", gst.PAD_SRC)
p = gst.Pad("blah", gst.PAD_SINK)
m = gst.message_new_structure_change(p,
gst.STRUCTURE_CHANGE_TYPE_PAD_LINK,
self.element, True)