diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/test_plug.py | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 444a4275..e5756f4c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -13,6 +13,7 @@ tests = \ test_glade.py \ test_liststore.py test_pango.py \ + test_plug.py \ test_radiobutton.py \ test_style.py \ test_textview.py \ diff --git a/tests/test_plug.py b/tests/test_plug.py new file mode 100644 index 00000000..2d54acf1 --- /dev/null +++ b/tests/test_plug.py @@ -0,0 +1,13 @@ +import unittest + +from common import gtk + +class TextPlug(unittest.TestCase): + + # Bug #539365. Just check that it doesn't raise anything. + def test_constructor_socket_id(self): + self.assert_(isinstance(gtk.Plug(0), gtk.Plug)) + self.assert_(isinstance(gtk.Plug(0L), gtk.Plug)) + +if __name__ == '__main__': + unittest.main() |