c0a5504ce6ff8a850eabd5a33488ccf535a55b4f,tests/test_summarizers/test_edmundson.py,TestEdmundson,test_cue_empty,#TestEdmundson#,98
Before Change
self.assertRaises(ValueError, summarize.cue_method, 10)
def test_cue_empty(self):
document = build_document()
summarize = EdmundsonSummarizer(document)
summarize.bonus_words = ("ba", "bb", "bc",)
summarize.stigma_words = ("sa", "sb", "sc",)
After Change
summarizer.bonus_words = ("ba", "bb", "bc",)
summarizer.stigma_words = ("sa", "sb", "sc",)
sentences = summarizer.cue_method(build_document(), 10)
self.assertEqual(len(sentences), 0)
def test_cue_letters_case(self):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: miso-belica/sumy
Commit Name: c0a5504ce6ff8a850eabd5a33488ccf535a55b4f
Time: 2013-05-21
Author: miso.belica@gmail.com
File Name: tests/test_summarizers/test_edmundson.py
Class Name: TestEdmundson
Method Name: test_cue_empty
Project Name: miso-belica/sumy
Commit Name: c0a5504ce6ff8a850eabd5a33488ccf535a55b4f
Time: 2013-05-21
Author: miso.belica@gmail.com
File Name: tests/test_summarizers/test_edmundson.py
Class Name: TestEdmundson
Method Name: test_key_empty
Project Name: miso-belica/sumy
Commit Name: c0a5504ce6ff8a850eabd5a33488ccf535a55b4f
Time: 2013-05-21
Author: miso.belica@gmail.com
File Name: tests/test_summarizers/test_edmundson.py
Class Name: TestEdmundson
Method Name: test_location_method_with_empty_document
Project Name: miso-belica/sumy
Commit Name: c0a5504ce6ff8a850eabd5a33488ccf535a55b4f
Time: 2013-05-21
Author: miso.belica@gmail.com
File Name: tests/test_summarizers/test_edmundson.py
Class Name: TestEdmundson
Method Name: test_title_method_with_empty_document