~thomas-deruyter-3/qreator/qreator

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/python
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
### BEGIN LICENSE
# This file is in the public domain
### END LICENSE

import sys
import os.path
import unittest
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), "..")))

from qreator import AboutQreatorDialog

class TestExample(unittest.TestCase):
    def setUp(self):
        self.AboutQreatorDialog_members = [
        'AboutQreatorDialog', 'get_builder', 'gettext', 'Gtk']

    def test_AboutQreatorDialog_members(self):
        all_members = dir(AboutQreatorDialog)
        public_members = [x for x in all_members if not x.startswith('_')]
        public_members.sort()
        self.assertEqual(self.AboutQreatorDialog_members, public_members)

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