diff --git a/README.md b/README.md index 02ae162..2a47bdf 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ $ git clone https://github.com/HEPData/hepdata-cli.git $ cd hepdata-cli $ python3 -m venv ~/venv/hepdata-cli $ source ~/venv/hepdata-cli/bin/activate -(hepdata-cli) $ pip install -e .[tests] +(hepdata-cli) $ pip install -e '.[tests]' (hepdata-cli) $ hepdata-cli --help (hepdata-cli) $ pytest --cov=hepdata_cli ``` diff --git a/tests/test_resilient_requests.py b/tests/test_resilient_requests.py index 3c8b817..a86b31b 100644 --- a/tests/test_resilient_requests.py +++ b/tests/test_resilient_requests.py @@ -12,5 +12,5 @@ def test_timeout(): adapter = TimeoutHTTPAdapter(max_retries=retry_strategy, timeout=0.0001) with requests.Session() as session: session.mount("https://", adapter) - with pytest.raises(requests.exceptions.ConnectTimeout): + with pytest.raises(requests.exceptions.ConnectionError): session.get(SITE_URL + '/ping')