(self)
| 2200 | """CliRunner tests for the ``show`` command group.""" |
| 2201 | |
| 2202 | def setUp(self): |
| 2203 | self.tmp = tempfile.mkdtemp() |
| 2204 | self.db_path = os.path.join(self.tmp, "test.db") |
| 2205 | self.store = Store.create(self.db_path) |
| 2206 | self.store.add_manpage( |
| 2207 | _make_manpage( |
| 2208 | "tar", |
| 2209 | options=[ |
| 2210 | Option(text="create archive", short=["-c"], long=["--create"]), |
| 2211 | Option(text="extract", short=["-x"], long=["--extract"]), |
| 2212 | ], |
| 2213 | ), |
| 2214 | _make_raw(), |
| 2215 | ) |
| 2216 | self.store.add_manpage(_make_manpage("echo"), _make_raw()) |
| 2217 | |
| 2218 | def tearDown(self): |
| 2219 | self.store.close() |
nothing calls this directly
no test coverage detected