def test_normalize_summary_formatted_as_title(self):
     summary = '# This is a title'
     self.assertEqual(summary, docformatter.normalize_summary(summary))
 def test_normalize_summary_with_different_punctuation(self):
     summary = 'This is a question?'
     self.assertEqual(summary, docformatter.normalize_summary(summary))
Exemple #3
0
 def test_normalize_summary_with_different_punctuation(self):
     summary = 'This is a question?'
     self.assertEqual(
         summary,
         docformatter.normalize_summary(summary))
 def test_normalize_summary(self):
     self.assertEqual(
         'This is a sentence.',
         docformatter.normalize_summary('This \n\t is\na sentence'))
Exemple #5
0
 def test_normalize_summary(self):
     self.assertEqual(
         'This is a sentence.',
         docformatter.normalize_summary('This \n\t is\na sentence'))