summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.py b/test/test.py
index c6ba522..d067b15 100755
--- a/test/test.py
+++ b/test/test.py
@@ -11,6 +11,9 @@ import sys
class MagicTest(unittest.TestCase):
TESTDATA_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'testdata')
+ def test_version(self):
+ self.assertTrue(magic.version() > 0)
+
def test_fs_encoding(self):
self.assertEqual('utf-8', sys.getfilesystemencoding().lower())