testinggtk r250 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r250 - trunk/tests
- Date: Wed, 25 Jun 2008 21:19:11 +0000 (UTC)
Author: bjornl
Date: Wed Jun 25 21:19:11 2008
New Revision: 250
URL: http://svn.gnome.org/viewvc/testinggtk?rev=250&view=rev
Log:
Tests for gtk.Builder
Added:
trunk/tests/test_builder.py
Added: trunk/tests/test_builder.py
==============================================================================
--- (empty file)
+++ trunk/tests/test_builder.py Wed Jun 25 21:19:11 2008
@@ -0,0 +1,10 @@
+'''
+Tests for the ``gtk.Builder`` class.
+'''
+import gtk
+
+def test_default_attributes():
+ b = gtk.Builder()
+ assert not b.get_property('translation-domain')
+ assert not b.get_translation_domain()
+ assert b.get_objects() == []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]