Mercurial > p > roundup > code
comparison test/test_token.py @ 7181:6971c9249c6d
Fix missed roundup.token import.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 26 Feb 2023 12:30:32 -0500 |
| parents | 364c54991861 |
| children | 9a74dfeb8620 |
comparison
equal
deleted
inserted
replaced
| 7180:e3f3f859256c | 7181:6971c9249c6d |
|---|---|
| 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 10 | 10 |
| 11 import unittest, time | 11 import unittest, time |
| 12 | 12 |
| 13 from roundup.token import token_split | 13 from roundup.token_r import token_split |
| 14 | 14 |
| 15 class TokenTestCase(unittest.TestCase): | 15 class TokenTestCase(unittest.TestCase): |
| 16 def testValid(self): | 16 def testValid(self): |
| 17 l = token_split('hello world') | 17 l = token_split('hello world') |
| 18 self.assertEqual(l, ['hello', 'world']) | 18 self.assertEqual(l, ['hello', 'world']) |
