def test_remove_lines_exclude_uppercase(self): cleaned_lines = wc.remove_lines(WCTests.lines, '#', 'exCLUDE') self.assertEqual("", cleaned_lines[0])
def test_remove_lines_include_uppercase(self): cleaned_lines = wc.remove_lines(WCTests.lines, '@', "INclude") test_text = "(1) 13 July France 4-1 (3-0) Mexico @ Estadio Pocitos, Montevideo" self.assertEqual(test_text, cleaned_lines[0])