summaryrefslogtreecommitdiff
path: root/tests/test_filechooserdialog.py
blob: 4bf6b2ace0bfded1da69cb628a02afd8874e0d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import unittest

from common import gtk

class FileChooserDialogTest(unittest.TestCase):
    def testFileChooserDialog(self):
        fc = gtk.FileChooserDialog()
        
        action = fc.get_action()
        self.assertEqual(action, gtk.FILE_CHOOSER_ACTION_OPEN)

if __name__ == '__main__':
    unittest.main()