diff options
author | Johan Dahlin <johan@src.gnome.org> | 2006-08-05 15:27:48 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2006-08-05 15:27:48 +0000 |
commit | 52dec17a0696c382502214bf7c58f6ace8834294 (patch) | |
tree | 00baccadfbee16b41eca6e90614fd21e8135d501 /tests | |
parent | 6be712c2f6ac9efb4e354276050f9f82b180a4d3 (diff) | |
download | pygtk-52dec17a0696c382502214bf7c58f6ace8834294.tar.gz |
Special case __members__ to dir on the real module, fixes (#349892, John
* gtk/_lazyutils.py (LazyModule.__getattr__): Special case __members__
to dir on the real module, fixes (#349892, John Finlay)
* tests/test_api.py (APITest.testKeysyms):
Add a test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_api.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index cc79c840..beb22a46 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -4,6 +4,7 @@ from common import gobject, gtk, glade class APITest(unittest.TestCase): def testKeysyms(self): + self.failUnless('Escape' in dir(gtk.keysyms)) self.failUnless(hasattr(gtk.keysyms, 'Escape')) self.assertEqual(gtk.keysyms.Escape, 0xFF1B) |