~pygame/pygame/trunk

« back to all changes in this revision

Viewing changes to test/run_tests__tests/exclude/invisible_tag_test.py

  • Committer: pygame
  • Date: 2017-01-10 00:31:42 UTC
  • Revision ID: git-v1:2eea4f299a2e791f884608d7ed601558634af73c
commit 1639c41a8cb3433046882ede92c80ce69d59016b
Author: Thomas Kluyver <takowl@gmail.com>
Date:   Sun Jan 8 18:46:46 2017 +0000

    Build newer versions of libogg and libvorbis into Linux base images

    Closes #317
    Closes #323

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
__tags__ = ['invisible']
 
2
 
 
3
if __name__ == '__main__':
 
4
    import sys
 
5
    import os
 
6
    pkg_dir = (os.path.split(
 
7
                   os.path.split(
 
8
                       os.path.split(
 
9
                           os.path.abspath(__file__))[0])[0])[0])
 
10
    parent_dir, pkg_name = os.path.split(pkg_dir)
 
11
    is_pygame_pkg = (pkg_name == 'tests' and
 
12
                     os.path.split(parent_dir)[1] == 'pygame')
 
13
    if not is_pygame_pkg:
 
14
        sys.path.insert(0, parent_dir)
 
15
else:
 
16
    is_pygame_pkg = __name__.startswith('pygame.tests.')
 
17
 
 
18
import unittest
 
19
 
 
20
class KeyModuleTest(unittest.TestCase):
 
21
    def test_get_focused(self):
 
22
        self.assert_(True) 
 
23
 
 
24
    def test_get_mods(self):
 
25
        self.assert_(True) 
 
26
 
 
27
    def test_get_pressed(self):
 
28
        self.assert_(True) 
 
29
 
 
30
    def test_name(self):
 
31
        self.assert_(True) 
 
32
 
 
33
    def test_set_mods(self):
 
34
        self.assert_(True) 
 
35
 
 
36
    def test_set_repeat(self):
 
37
        self.assert_(True) 
 
38
 
 
39
if __name__ == '__main__':
 
40
    unittest.main()