testinggtk r199 - trunk/tests/giotests



Author: bjornl
Date: Sat Jun 21 16:46:09 2008
New Revision: 199
URL: http://svn.gnome.org/viewvc/testinggtk?rev=199&view=rev

Log:
Add test_wrapper_complete test with bug ref

Modified:
   trunk/tests/giotests/test_contenttype.py

Modified: trunk/tests/giotests/test_contenttype.py
==============================================================================
--- trunk/tests/giotests/test_contenttype.py	(original)
+++ trunk/tests/giotests/test_contenttype.py	Sat Jun 21 16:46:09 2008
@@ -3,6 +3,15 @@
 '''
 import gio
 
+def test_wrapper_complete():
+    '''
+    Ensure that all public attributes are wrapped.
+
+    :bug: #539485
+    '''
+    assert hasattr(gio, 'content_type_guess')
+    assert hasattr(gio, 'content_type_from_mime_type')
+
 def test_content_type_guess():
     assert gio.content_type_guess('foo') == 'application/octet-stream'
     assert gio.content_type_guess('.gif') == 'image/gif'



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]