annotate tests/test_split.py @ 48:03ce88daa98d

start test
author Jeff Hammel <k0scist@gmail.com>
date Sat, 16 May 2015 19:07:38 -0700
parents
children 643c8e92e71e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
48
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 #!/usr/bin/env python
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4 """
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
5 unit tests for `textshaper.split`
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
6 """
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
7
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
8 # imports
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
9 import unittest
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
10 from textshaper import split
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
11
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
12
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
13 class SplitUnitTest(unittest.TestCase):
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
14
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
15 def test_findall(self):
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
16 """test basic"""
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
17
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
18
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
19 if __name__ == '__main__':
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
20 unittest.main()
03ce88daa98d start test
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
21