File: test_init.py

package info (click to toggle)
hdf-compass 0.7~b15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,492 kB
  • sloc: python: 5,683; makefile: 23; sh: 3
file content (16 lines) | stat: -rw-r--r-- 404 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import unittest

from hdf_compass.utils import __version__


class TestHDFCompass(unittest.TestCase):

    def test_version(self):
        self.assertEqual(len(__version__.split(".")), 3)
        self.assertGreaterEqual(int(__version__.split(".")[0]), 0)


def suite():
    s = unittest.TestSuite()
    s.addTests(unittest.TestLoader().loadTestsFromTestCase(TestHDFCompass))
    return s