Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: fix and not announce xfailed test which checks /server-info - version is provided now #1319

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading