def test_remove_lines(): in1 = ['This is a test', '#abc', '<a class="mk-toclify" id="test">hello</a>', 'line', '[[back to top](#table-of-contents)] hello', 'last line', ] out1 = ['This is a test', '#abc', 'line', 'last line', ] assert(mt.remove_lines(in1) == out1)
def test_remove_lines(): in1 = [ 'This is a test', '#abc', '<a class="mk-toclify" id="test">hello</a>', 'line', '[[back to top](#table-of-contents)] hello', 'last line', ] out1 = [ 'This is a test', '#abc', 'line', 'last line', ] assert (mt.remove_lines(in1) == out1)