diff --git a/ckanext/resourceproxy/tests/test_proxy.py b/ckanext/resourceproxy/tests/test_proxy.py index 7de6e965436..dac7c747606 100644 --- a/ckanext/resourceproxy/tests/test_proxy.py +++ b/ckanext/resourceproxy/tests/test_proxy.py @@ -170,12 +170,3 @@ def test_resource_url_doesnt_proxy_non_http_or_https_urls_by_default(self): proxied_url = proxy.get_proxified_resource_url(data_dict, scheme) assert non_proxied_url == url, non_proxied_url assert proxied_url != url, proxied_url - - def test_non_existent_resource(self): - self.data_dict = {'package': {'name': 'doesnotexist'}, - 'resource': {'id': 'doesnotexist'}} - - proxied_url = proxy.get_proxified_resource_url(self.data_dict) - result = self.app.get(proxied_url, status='*') - assert result.status == 404, result.status - assert 'Resource not found' in result.body, result.body