Skip to content

Commit

Permalink
TST: fix and not announce xfailed test which checks /server-info - ve…
Browse files Browse the repository at this point in the history
…rsion is provided now
  • Loading branch information
yarikoptic committed Aug 10, 2023
1 parent 71bd0fe commit f333685
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dandi/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,14 +394,13 @@ def test_get_instance_arbitrary_api_url() -> None:
)


@pytest.mark.xfail(reason="https://github.com/dandi/dandi-archive/issues/1045")
@mark.skipif_no_network
def test_server_info() -> None:
r = requests.get("https://dandiarchive.org/server-info")
r.raise_for_status()
data = r.json()
assert "version" in data
assert Version(data["version"]) >= Version("1.2.0")
assert Version(data["version"]) >= Version("0.2.18")
assert "cli-minimal-version" in data
assert "cli-bad-versions" in data
assert "services" in data
Expand Down

0 comments on commit f333685

Please sign in to comment.