Skip to content

Commit

Permalink
fixes here and there
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel Chen authored and Rachel Chen committed Jan 9, 2025
1 parent 3d2be5d commit 0fb48b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def test_page_token_offset_filter(self) -> None:
)
res = EndpointTraceItemAttributeNames().execute(req)
page_token = res.page_token
assert res.WhichOneof("page_token") == "filter_offset"
assert res.attributes == expected_attributes[:at_a_time]
expected_attributes = expected_attributes[at_a_time:]
done += at_a_time
Expand Down
3 changes: 2 additions & 1 deletion tests/web/rpc/v1/test_trace_item_attribute_values_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_page_token(self, setup_teardown: Any) -> None:
done += at_a_time
assert expected_values == []

def test_filter_offset_is_not_implemented_right_now(self) -> None:
def test_page_token_filter_offset(self) -> None:
expected_values = [
"blah",
"derpderp",
Expand All @@ -170,6 +170,7 @@ def test_filter_offset_is_not_implemented_right_now(self) -> None:
)
res = AttributeValuesRequest().execute(req)
page_token = res.page_token
assert res.WhichOneof("page_token") == "filter_offset"
assert res.values == expected_values[:at_a_time]
expected_values = expected_values[at_a_time:]
done += at_a_time
Expand Down

0 comments on commit 0fb48b0

Please sign in to comment.