Skip to content

Commit

Permalink
Add RecordingUri to check_all_components_ui.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Nov 25, 2024
1 parent cf5c330 commit 5c53182
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ exclude = [
'https://static.rerun.io/my_screenshot/',
'https://your-hosted-asset-url.com/widget.js',
'file:///path/to/file',
'rerun://localhost:51234/recording/some-recording-id',

# Link fragments and data links in examples.
'https://raw.githubusercontent.com/googlefonts/noto-emoji/', # URL fragment.
Expand Down
6 changes: 6 additions & 0 deletions tests/python/release_checklist/check_all_components_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ def alternatives(self) -> list[Any] | None:
"Position3DBatch": TestCase(batch=[(0, 3, 4), (1, 4, 5), (2, 5, 6)]),
"RadiusBatch": TestCase(batch=[4.5, 5, 6, 7]),
"Range1DBatch": TestCase((0, 5)),
"RecordingUriBatch": TestCase(
batch=[
rr.components.RecordingUri("file:///path/to/file"),
rr.components.RecordingUri("rerun://localhost:51234/recording/some-recording-id"),
]
),
"ResolutionBatch": TestCase((1920, 1080)),
"RotationAxisAngleBatch": TestCase(
rr.datatypes.RotationAxisAngle(axis=(1, 0, 0), angle=rr.datatypes.Angle(rad=math.pi))
Expand Down

0 comments on commit 5c53182

Please sign in to comment.