Skip to content

Commit c1f82fa

Browse files
authored
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.
1 parent c53a51c commit c1f82fa

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tests/integration/test_wrapper.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ def test_parse_project():
157157

158158
def test_parse_model():
159159
wrap = StreamWrapper(
160-
"https://latest.speckle.systems/projects/843d07eb10/models/d9eb4918c8"
160+
"https://app.speckle.systems/projects/8be1007be1/models/cc7578012d"
161161
)
162162

163-
assert wrap.branch_name == "building wrapper"
163+
assert wrap.branch_name == "speckle tower revit 2025"
164164
assert wrap.type == "branch"
165165

166166

@@ -191,10 +191,10 @@ def test_parse_object_fe2():
191191

192192
def test_parse_version():
193193
wrap = StreamWrapper(
194-
"https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838@c42d5cbac1"
194+
"https://app.speckle.systems/projects/8be1007be1/models/cc7578012d@7199443eff"
195195
)
196196
wrap_quoted = StreamWrapper(
197-
"https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838%40c42d5cbac1"
197+
"https://app.speckle.systems/projects/8be1007be1/models/cc7578012d%407199443eff"
198198
)
199199
assert wrap.type == "commit"
200200
assert wrap_quoted.type == "commit"
@@ -208,11 +208,11 @@ def test_to_string():
208208
"https://testing.speckle.dev/streams/0c6ad366c4/globals/abd3787893",
209209
"https://testing.speckle.dev/streams/4c3ce1459c/commits/8b9b831792",
210210
"https://testing.speckle.dev/streams/a75ab4f10f/objects/5530363e6d51c904903dafc3ea1d2ec6",
211-
"https://latest.speckle.systems/projects/843d07eb10",
212-
"https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838",
213-
"https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838@c42d5cbac1",
214-
"https://latest.speckle.systems/projects/843d07eb10/models/4e7345c838%40c42d5cbac1",
215-
"https://latest.speckle.systems/projects/24c3741255/models/b48d1b10f5a732f4ca4144286391282c",
211+
"https://app.speckle.systems/projects/8be1007be1",
212+
"https://app.speckle.systems/projects/8be1007be1/models/cc7578012d",
213+
"https://app.speckle.systems/projects/8be1007be1/models/cc7578012d@7199443eff",
214+
"https://app.speckle.systems/projects/8be1007be1/models/cc7578012d%407199443eff",
215+
"https://app.speckle.systems/projects/8be1007be1/models/9b5e57dca804a923a8d42d55dcc0191a",
216216
]
217217
for url in urls:
218218
wrap = StreamWrapper(url)

0 commit comments

Comments
 (0)