def test_main_w_options(self, mock_stdout): args = ['a[1-2]b'] main(args) eq_(mock_stdout.getvalue(), 'a1b a2b\n')
def test_main_standard(self): args = ['a[1-2]b'] eq_(main(args), 0)