PyUT: Add initial unittest framework, limit possible python versions to >= 2.7.
authorDidier Raboud <odyx@debian.org>
Fri, 4 May 2012 11:41:25 +0000 (13:41 +0200)
committerDidier Raboud <odyx@debian.org>
Mon, 7 May 2012 17:28:54 +0000 (19:28 +0200)
commit8931d361916d22e5a0c4a7345a9a6bbd80ef80ee
tree15d5bb15bf1665c8f89d7ebacdf406c2e126969d
parent13cdb58298888ce2fa85c7bc15985ed05aa928f8
PyUT: Add initial unittest framework, limit possible python versions to >= 2.7.

Limiting the supported python versions to >= 2.6 permits to avoid unneccessary
code to permit the use of unittest in all python 2 and 3 versions such as:

import sys

if sys.version_info[0] >= 3:
import unittest
else:
import unittest2 as unittest

python2.7 is the default version in Debian unstable since Sep 2011.
debian/control
debian/rules
test/test_lsb_release.py [new file with mode: 0644]