Tests mit unittest import unittest from parselist import parse_int_list class TestParseIntList(unittest.TestCase): def test_multiple(self): """Test parse_int_list with several ints""" self.assertEquals(parse_int_list("1 2 3"), [1, 2, 3]) if __name__ == "__main__": unittest.main()