(self)
| 642 | |
| 643 | class LongWordWithHyphensTestCase(BaseTestCase): |
| 644 | def setUp(self): |
| 645 | self.wrapper = TextWrapper() |
| 646 | self.text1 = '''\ |
| 647 | We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase. |
| 648 | ''' |
| 649 | self.text2 = '''\ |
| 650 | 1234567890-1234567890--this_is_a_very_long_option_indeed-good-bye" |
| 651 | ''' |
| 652 | |
| 653 | def test_break_long_words_on_hyphen(self): |
| 654 | expected = ['We used enyzme 2-succinyl-6-hydroxy-2,4-', |
nothing calls this directly
no test coverage detected