diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/test_button.py | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index c2d40c88..444a4275 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -4,6 +4,7 @@ tests = \ test_actiongroup.py \ test_api.py \ test_bin.py \ + test_button.py \ test_container.py test_conversion.py \ test_dialog.py \ diff --git a/tests/test_button.py b/tests/test_button.py new file mode 100644 index 00000000..a38edafa --- /dev/null +++ b/tests/test_button.py @@ -0,0 +1,12 @@ +import unittest + +from common import gtk + +class TextButton(unittest.TestCase): + # Bug #524187. + def test_constructor(self): + button = gtk.Button() + self.assert_(button.props.use_underline) + +if __name__ == '__main__': + unittest.main() |