Commit 3936b3b2 authored by Andreas Jung's avatar Andreas Jung

minor changes

parent 52758876
import os,sys,unittest import os,sys,unittest
execfile(os.path.join(sys.path[0],'framework.py')) from Products.PluginIndexes.TextIndex.Splitter.UnicodeSplitter.UnicodeSplitter import UnicodeSplitter
from UnicodeSplitter import UnicodeSplitter
class UnicodeSplitterTests(unittest.TestCase): class UnicodeSplitterTests(unittest.TestCase):
def setUp(self): def setUp(self):
texts = ('The quick brown fox jumps over the lazy dog', texts = ('The quick brown fox jumps over the lazy dog',
'Bei den dreitgigen Angriffen seien auch bis auf einen alle Flugpltze der Taliban zerstrt worden', 'Bei den dreitgigen Angriffen seien auch bis'
' auf einen alle Flugpltze der Taliban zerstrt worden',
) )
self.testdata = [] self.testdata = []
...@@ -43,4 +42,5 @@ class UnicodeSplitterTests(unittest.TestCase): ...@@ -43,4 +42,5 @@ class UnicodeSplitterTests(unittest.TestCase):
raise AssertionError raise AssertionError
framework() def test_suite():
return unittest.makeSuite(UnicodeSplitterTests)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment