Skip to content

Commit 276b851

Browse files
committed
remove contract test
1 parent 6ffac4e commit 276b851

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

tests/test_api/test_run.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,3 @@ def test_run_v2_publish_not_supported(run_v2):
119119
match="RunV2API: v2 API does not support `publish` for resource `run`",
120120
):
121121
run_v2.publish(path="run", files={"description": "<run/>"})
122-
123-
124-
@pytest.mark.test_server()
125-
def test_run_v1_v2_contracts(run_v1, run_v2):
126-
run_from_v1 = run_v1.get(run_id=1)
127-
_assert_run_shape(run_from_v1)
128-
129-
with pytest.raises(OpenMLNotSupportedError, match="does not support `get`"):
130-
run_v2.get(run_id=1)
131-
132-
with pytest.raises(OpenMLNotSupportedError, match="does not support `list`"):
133-
run_v2.list(limit=5, offset=0)
134-
135-
with pytest.raises(OpenMLNotSupportedError, match="does not support `publish`"):
136-
run_v2.publish(path="run", files={"description": "<run/>"})

0 commit comments

Comments
 (0)