1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

Cosmetic changes to test files for modules video and misc.

This commit is contained in:
2009-05-19 19:46:45 +00:00
parent 5ccdd8ee6f
commit 83b9d944cf
2 changed files with 6 additions and 2 deletions

View File

@@ -7,8 +7,10 @@
"""
import unittest
import os
import pygtktalog.misc as pgtkmisc
class TestMiscModule(unittest.TestCase):
"""
Tests functions from misc module
@@ -25,7 +27,7 @@ class TestMiscModule(unittest.TestCase):
self.assertRaises(TypeError, pgtkmisc.float_to_string, None)
self.assertRaises(TypeError, pgtkmisc.float_to_string, '10')
if __name__ == "__main__":
os.chdir(os.path.join(os.path.abspath(os.path.dirname(__file__)), "../"))
print os.path.abspath(os.path.curdir)
unittest.main()