Explicit URL distro should NOT fall back — missing is missing.
(self)
| 292 | self.assertIn(b"aonly", rv.data) |
| 293 | |
| 294 | def test_url_distro_no_fallback(self): |
| 295 | """Explicit URL distro should NOT fall back — missing is missing.""" |
| 296 | app = self._make_app(self._store_with_ubuntu_and_arch()) |
| 297 | with app.test_client() as c: |
| 298 | rv = c.get("/explain/arch/latest?cmd=uonly+-u") |
| 299 | self.assertEqual(rv.status_code, 200) |
| 300 | self.assertIn(b"missing man page", rv.data) |
| 301 | |
| 302 | def test_all_distros_miss_still_raises(self): |
| 303 | """A command that exists nowhere should still show missing.""" |
nothing calls this directly
no test coverage detected