Commit 2158ecd0 authored by Martin Pitt's avatar Martin Pitt
Browse files

Fix typo in previous commit

In the test case, actually assign the newly created object, so that we test the
properties of the right object.
parent 84e3471b
......@@ -540,7 +540,7 @@ class TestProperties(unittest.TestCase):
object_.props.gtype = int
self.assertEquals(object_.props.gtype, GObject.TYPE_INT)
object_ = Everything.TestObj(gtype=int)
self.assertEquals(object_.props.gtype, GObject.TYPE_INT)
object_.props.gtype = str
self.assertEquals(object_.props.gtype, GObject.TYPE_STRING)
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