~pygame/pygame/trunk

« back to all changes in this revision

Viewing changes to test/run_tests__tests/incomplete_todo/fake_3_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
if __name__ == '__main__':
 
2
    import sys
 
3
    import os
 
4
    pkg_dir = (os.path.split(
 
5
                   os.path.split(
 
6
                       os.path.split(
 
7
                           os.path.abspath(__file__))[0])[0])[0])
 
8
    parent_dir, pkg_name = os.path.split(pkg_dir)
 
9
    is_pygame_pkg = (pkg_name == 'tests' and
 
10
                     os.path.split(parent_dir)[1] == 'pygame')
 
11
    if not is_pygame_pkg:
 
12
        sys.path.insert(0, parent_dir)
 
13
else:
 
14
    is_pygame_pkg = __name__.startswith('pygame.tests.')
 
15
 
 
16
import unittest
 
17
 
 
18
class KeyModuleTest(unittest.TestCase):
 
19
    def test_get_focused(self):
 
20
        self.assert_(True) 
 
21
 
 
22
    def test_get_mods(self):
 
23
        self.assert_(True) 
 
24
 
 
25
    def test_get_pressed(self):
 
26
        self.assert_(True) 
 
27
 
 
28
    def test_name(self):
 
29
        self.assert_(True) 
 
30
 
 
31
    def test_set_mods(self):
 
32
        self.assert_(True) 
 
33
 
 
34
    def test_set_repeat(self):
 
35
        self.assert_(True) 
 
36
 
 
37
if __name__ == '__main__':
 
38
    unittest.main()