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
from pygtktalog.video import Video
class TestVideo(unittest.TestCase):
"""Class for retrive midentify script output and put it in dict.
Usually there is no need for such a detailed movie/clip information.
@@ -101,7 +103,7 @@ class TestVideo(unittest.TestCase):
self.assertEqual(file_size, 9077)
os.unlink(filename)
if __name__ == "__main__":
os.chdir(os.path.join(os.path.abspath(os.path.dirname(__file__)), "../"))
print os.path.abspath(os.path.curdir)
unittest.main()