diff --git a/lib/galaxy/webapps/galaxy/buildapp.py b/lib/galaxy/webapps/galaxy/buildapp.py index 4df4e624673..8062272db83 100644 --- a/lib/galaxy/webapps/galaxy/buildapp.py +++ b/lib/galaxy/webapps/galaxy/buildapp.py @@ -1041,8 +1041,6 @@ def populate_api_routes(webapp, app): conditions=dict(method=["POST", "GET"]), ) - webapp.mapper.resource_with_deleted("library", "libraries", path_prefix="/api") - webapp.mapper.resource( "content", "contents", diff --git a/test/unit/webapps/test_routes.py b/test/unit/webapps/test_routes.py index 6f478b8a736..6e515469fe9 100644 --- a/test/unit/webapps/test_routes.py +++ b/test/unit/webapps/test_routes.py @@ -39,42 +39,6 @@ def test_galaxy_routes(): id="testtoolshed.g2.bx.psu.edu/devteam/tool1", ) - test_webapp.assert_maps("/api/datatypes/sniffers", controller="datatypes", action="sniffers") - - test_webapp.assert_maps("/api/histories/123/contents/456", controller="history_contents", action="show") - - test_webapp.assert_maps( - "/api/histories/123/contents/456", - method="PUT", - controller="history_contents", - action="update", - ) - - # Test differeniating datasets and datasets collections - # in history contents. - test_webapp.assert_maps( - "/api/histories/123/contents/datasets/456", - method="PUT", - controller="history_contents", - action="update", - type="dataset", - ) - - test_webapp.assert_maps( - "/api/histories/123/contents/dataset_collections/456", - method="PUT", - controller="history_contents", - action="update", - type="dataset_collection", - ) - - assert_url_is(url_for("history_content", history_id="123", id="456"), "/api/histories/123/contents/456") - - assert_url_is( - url_for("history_content_typed", history_id="123", id="456", type="dataset"), - "/api/histories/123/contents/datasets/456", - ) - test_webapp.assert_maps("/api/dependency_resolvers", controller="tool_dependencies", action="index") test_webapp.assert_maps(