(self)
| 214 | self.assertMatchSingle(cmd, s.find_man_page("withargs")[0], matchedresult) |
| 215 | |
| 216 | def test_arg_with_expected_value(self): |
| 217 | cmd = "bar -b arg --b arg" |
| 218 | matchedresult = [ |
| 219 | MR(0, 3, "bar synopsis", "bar"), |
| 220 | MR(4, 18, "-b <arg> desc", "-b arg --b arg"), |
| 221 | ] |
| 222 | |
| 223 | self.assertMatchSingle(cmd, s.find_man_page("bar")[0], matchedresult) |
| 224 | |
| 225 | def test_arg_with_expected_value_from_list(self): |
| 226 | cmd = "bar -c one" |
nothing calls this directly
no test coverage detected