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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user