Logo Search packages:      
Sourcecode: qa-assistant version File versions  Download package

def treetipstest::TestTreeTipCreation::test_TreetipCreateInvalidTreeView (   self  ) 

Catch trying to create a TreeTips with a non-TreeView object

Attempt to create a TreeTips with an integer instead of a gtk.TreeView
and make sure we raise a TypeError when this happens.

Definition at line 55 of file treetipstest.py.

00055                                                :
        '''Catch trying to create a TreeTips with a non-TreeView object

        Attempt to create a TreeTips with an integer instead of a gtk.TreeView
        and make sure we raise a TypeError when this happens.
        '''
        self.assertRaises(TypeError, treetips.TreeTips, 3, 1)

class TestTreeTips(unittest.TestCase):


Generated by  Doxygen 1.6.0   Back to index