testinggtk r192 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r192 - trunk/tests
- Date: Sat, 21 Jun 2008 15:13:45 +0000 (UTC)
Author: bjornl
Date: Sat Jun 21 15:13:45 2008
New Revision: 192
URL: http://svn.gnome.org/viewvc/testinggtk?rev=192&view=rev
Log:
Test getting the cell renderers
Modified:
trunk/tests/test_cellview.py
Modified: trunk/tests/test_cellview.py
==============================================================================
--- trunk/tests/test_cellview.py (original)
+++ trunk/tests/test_cellview.py Sat Jun 21 15:13:45 2008
@@ -9,6 +9,17 @@
assert not cv.get_property('model')
assert not cv.get_displayed_row()
+ utils fail_on_warnings
+def test_get_cell_renderers():
+ '''
+ Ensure that ``gtk.CellView`` has an empty list of cell renderers
+ by default.
+
+ :bug: #539469
+ '''
+ cv = gtk.CellView()
+ assert cv.get_cell_renderers() == []
+
def test_set_get_model():
'''
Ensure that setting and getting the model attribute works as
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]