Upgrade httpx and remove xfail from tests, refs #1005

pull/1252/head
Simon Willison 2021-02-28 14:34:44 -08:00
rodzic afed51b1e3
commit cc6774cbaa
3 zmienionych plików z 1 dodań i 6 usunięć

Wyświetl plik

@ -48,7 +48,7 @@ setup(
"click-default-group~=1.2.2",
"Jinja2>=2.10.3,<2.12.0",
"hupper~=1.9",
"httpx>=0.15",
"httpx>=0.17",
"pint~=0.9",
"pluggy~=0.13.0",
"uvicorn~=0.11",

Wyświetl plik

@ -810,7 +810,6 @@ def test_table_shape_object_compound_primary_key(app_client):
assert {"a,b": {"pk1": "a", "pk2": "b", "content": "c"}} == response.json
@pytest.mark.xfail
def test_table_with_slashes_in_name(app_client):
response = app_client.get(
"/fixtures/table%2Fwith%2Fslashes.csv?_shape=objects&_format=json"
@ -1286,7 +1285,6 @@ def test_row_format_in_querystring(app_client):
assert [{"id": "1", "content": "hello"}] == response.json["rows"]
@pytest.mark.xfail
def test_row_strange_table_name(app_client):
response = app_client.get(
"/fixtures/table%2Fwith%2Fslashes.csv/3.json?_shape=objects"

Wyświetl plik

@ -158,7 +158,6 @@ def test_row_redirects_with_url_hash(app_client_with_hash):
assert response.status == 200
@pytest.mark.xfail
def test_row_strange_table_name_with_url_hash(app_client_with_hash):
response = app_client_with_hash.get(
"/fixtures/table%2Fwith%2Fslashes.csv/3", allow_redirects=False
@ -552,7 +551,6 @@ def test_facets_persist_through_filter_form(app_client):
]
@pytest.mark.xfail
@pytest.mark.parametrize(
"path,expected_classes",
[
@ -584,7 +582,6 @@ def test_css_classes_on_body(app_client, path, expected_classes):
assert classes == expected_classes
@pytest.mark.xfail
@pytest.mark.parametrize(
"path,expected_considered",
[