Skip to content

Commit

Permalink
bug(ci): fix tag check in the api test (#2596)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianweidut authored Aug 4, 2023
1 parent cba5c49 commit 81bd2b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/apitest/pytest/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_tag_update(self, host, port):
response = res.json()

assert res.status_code == 200
assert response["data"] == ["test1"]
assert "test1" in response["data"]

res = requests.delete(hu.url(host, port) + path + "/test1", headers=hu.header())
assert res.status_code == 200
Expand Down
2 changes: 1 addition & 1 deletion scripts/apitest/pytest/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_tag_update(self, host, port):
response = res.json()

assert res.status_code == 200
assert response["data"] == ["test1"]
assert "test1" in response["data"]

res = requests.delete(hu.url(host, port) + path + "/test1", headers=hu.header())
assert res.status_code == 200
Expand Down
2 changes: 1 addition & 1 deletion scripts/apitest/pytest/test_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_tag_update(self, host, port):
response = res.json()

assert res.status_code == 200
assert response["data"] == ["test1"]
assert "test1" in response["data"]

res = requests.delete(hu.url(host, port) + path + "/test1", headers=hu.header())
assert res.status_code == 200
Expand Down

0 comments on commit 81bd2b6

Please sign in to comment.