(self)
| 36 | self.assertMatchSingle("bar", s.find_man_page("bar")[0], matchedresult) |
| 37 | |
| 38 | def test_known_arg(self): |
| 39 | matchedresult = [ |
| 40 | MR(0, 3, "bar synopsis", "bar"), |
| 41 | MR(4, 10, "-a desc", "-a --a"), |
| 42 | MR(11, 13, "-? help text", "-?"), |
| 43 | ] |
| 44 | |
| 45 | self.assertMatchSingle( |
| 46 | "bar -a --a -?", s.find_man_page("bar")[0], matchedresult |
| 47 | ) |
| 48 | |
| 49 | def test_arg_in_fuzzy_with_expected_value(self): |
| 50 | cmd = "baz -ab arg" |
nothing calls this directly
no test coverage detected