Mercurial > hg > TextShaper
view tests/test_split.py @ 49:643c8e92e71e
wip
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 16 May 2015 20:13:12 -0700 |
parents | 03ce88daa98d |
children | 1284c99a94fa |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- """ unit tests for `textshaper.split` """ # imports import unittest from textshaper import split class SplitUnitTest(unittest.TestCase): def test_findall(self): """test basic""" # 012345678901 string = 'a cat, a bat' retval = split.findall(string, 'a') if __name__ == '__main__': unittest.main()