Skip to content

Commit 1626f17

Browse files
committed
Reactivate sorting tests
1 parent 444805d commit 1626f17

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/functional/test_client.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@ def test_plot_metrics(create_test_run: tuple[sv_run.Run, dict]) -> None:
161161
ids=("sorted-metadata", "sorted-name-created", None)
162162
)
163163
def test_get_artifacts_entries(create_test_run: tuple[sv_run.Run, dict], sorting: list[tuple[str, bool]] | None) -> None:
164-
# TODO: Reinstate this test once server bug fixed
165-
if any("metadata" in a[0] for a in sorting or []):
166-
pytest.skip(reason="Server bug fix required for metadata sorting.")
167164
client = svc.Client()
168165
assert dict(client.list_artifacts(create_test_run[1]["run_id"], sort_by_columns=sorting))
169166
assert client.get_artifact(create_test_run[1]["run_id"], name="test_attributes")
@@ -252,9 +249,6 @@ def test_get_run(create_test_run: tuple[sv_run.Run, dict]) -> None:
252249
ids=("no-sort", "sort-path-metadata", "sort-modified")
253250
)
254251
def test_get_folders(create_test_run: tuple[sv_run.Run, dict], sorting: list[tuple[str, bool]] | None) -> None:
255-
#TODO: Once server is fixed reinstate this test
256-
if "modified" in (a[0] for a in sorting or []):
257-
pytest.skip(reason="Server bug when sorting by 'modified'")
258252
client = svc.Client()
259253
assert (folders := client.get_folders(sort_by_columns=sorting))
260254
_id, _folder = next(folders)

0 commit comments

Comments
 (0)