def test_doap(pyramid_request): resp = pypi.doap(pyramid_request) assert resp.status_code == 410 assert resp.status == "410 DOAP is no longer supported."