Skip to content

Commit

Permalink
test: update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Apr 17, 2024
1 parent c51c241 commit 8c59957
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions labelu/tests/internal/adapter/routers/test_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_sample_list_by_page(
json = r.json()
assert r.status_code == 200
assert len(json["data"]) == 10
assert json["data"][0]["id"] == 1
assert json["data"][0]["id"] == 14
assert json["meta_data"]["total"] == 14

def test_sample_list_by_before(
Expand Down Expand Up @@ -233,8 +233,8 @@ def test_sample_list_by_after(
json = r.json()
assert r.status_code == 200
assert len(json["data"]) == 9
assert json["data"][0]["id"] == 6
assert json["data"][8]["id"] == 14
assert json["data"][0]["id"] == 14
assert json["data"][8]["id"] == 6
assert json["meta_data"]["total"] == 14

def test_sample_list_with_sort(
Expand Down

0 comments on commit 8c59957

Please sign in to comment.