mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Upgrade httpx and remove xfail from tests, refs #1005
This commit is contained in:
parent
afed51b1e3
commit
cc6774cbaa
3 changed files with 1 additions and 6 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue