Skip to content

Commit

Permalink
Merge pull request #1319 from dandi/bf-tests
Browse files Browse the repository at this point in the history
TST: fix and not announce xfailed test which checks /server-info - version is provided now
  • Loading branch information
yarikoptic authored Aug 10, 2023
2 parents aad09af + f333685 commit 171a45b
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 171a45b

Please sign in to comment.