summaryrefslogtreecommitdiffstats
path: root/bindings/python/tests/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/tests/tests.py')
-rw-r--r--bindings/python/tests/tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bindings/python/tests/tests.py b/bindings/python/tests/tests.py
index c402ac1..bdae7cb 100644
--- a/bindings/python/tests/tests.py
+++ b/bindings/python/tests/tests.py
@@ -2,6 +2,7 @@ import unittest
import shutil
import tempfile
import os
+import types
gpod = __import__('__init__')
@@ -61,6 +62,9 @@ class TestiPodFunctions(unittest.TestCase):
self.assertEqual(len(self.db),n)
self.db.remove(track, ipod=True)
self.failIf(os.path.exists(track_file))
-
+
+ def testVersion(self):
+ self.assertEqual(type(gpod.version_info),
+ types.TupleType)
if __name__ == '__main__':
unittest.main()