From c1f82fa0d234a35ede35f072f5dedfdd33411cea Mon Sep 17 00:00:00 2001 From: Jonathon Broughton <760691+jsdbroughton@users.noreply.github.com> Date: Mon, 23 Feb 2026 10:29:35 +0000 Subject: [PATCH] fix(tests): Update broken test cases for StreamWrapper URLs (#489) * Update test cases for StreamWrapper URLs * Update branch name in StreamWrapper test * Update project URLs in test_wrapper.py * Uncomment URLs in test_to_string function Uncommented specific URLs in the test case to enable testing. --- tests/integration/test_wrapper.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/integration/test_wrapper.py b/tests/integration/test_wrapper.py index e08df07..c500a06 100644 --- a/tests/integration/test_wrapper.py +++ b/tests/integration/test_wrapper.py @@ -157,10 +157,10 @@ def test_parse_project(): def test_parse_model(): wrap = StreamWrapper( - "https://latest.speckle.systems/projects/843d07eb10/models/d9eb4918c8" + "https://app.speckle.systems/projects/8be1007be1/models/cc7578012d" ) - assert wrap.branch_name == "building wrapper" + assert wrap.branch_name == "speckle tower revit 2025" assert wrap.type == "branch" @@ -191,10 +191,10 @@ def test_parse_object_fe2(): def test_parse_version(): wrap = StreamWrapper( - "https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838@c42d5cbac1" + "https://app.speckle.systems/projects/8be1007be1/models/cc7578012d@7199443eff" ) wrap_quoted = StreamWrapper( - "https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838%40c42d5cbac1" + "https://app.speckle.systems/projects/8be1007be1/models/cc7578012d%407199443eff" ) assert wrap.type == "commit" assert wrap_quoted.type == "commit" @@ -208,11 +208,11 @@ def test_to_string(): "https://testing.speckle.dev/streams/0c6ad366c4/globals/abd3787893", "https://testing.speckle.dev/streams/4c3ce1459c/commits/8b9b831792", "https://testing.speckle.dev/streams/a75ab4f10f/objects/5530363e6d51c904903dafc3ea1d2ec6", - "https://latest.speckle.systems/projects/843d07eb10", - "https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838", - "https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838@c42d5cbac1", - "https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838%40c42d5cbac1", - "https://latest.speckle.systems/projects/24c3741255/models/b48d1b10f5a732f4ca4144286391282c", + "https://app.speckle.systems/projects/8be1007be1", + "https://app.speckle.systems/projects/8be1007be1/models/cc7578012d", + "https://app.speckle.systems/projects/8be1007be1/models/cc7578012d@7199443eff", + "https://app.speckle.systems/projects/8be1007be1/models/cc7578012d%407199443eff", + "https://app.speckle.systems/projects/8be1007be1/models/9b5e57dca804a923a8d42d55dcc0191a", ] for url in urls: wrap = StreamWrapper(url)