Skip to content

Commit

Permalink
bring back fe2 URLs (#210)
Browse files Browse the repository at this point in the history
* chore(domains): update speckle.xyz to app.speckle.systems

* reverted tests for FE1; fixed logo

* typo

* typo

* fe1 to fe2 links

* remove dependent FE2 tests

---------

Co-authored-by: Iain Sproat <[email protected]>
  • Loading branch information
KatKatKateryna and iainsproat authored Jul 25, 2024
1 parent d72c0c2 commit be57c43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
2 changes: 1 addition & 1 deletion speckle/converter/geometry/polygon.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def polygonToSpeckle(
if mesh is not None:
polygon.displayValue = [mesh]
# polygon["baseGeometry"] = mesh
# https://latest.speckle.dev/streams/85bc4f61c6/commits/2a5d23a277
# https://latest.speckle.systems/projects/85bc4f61c6/models/6cd9058fba@2a5d23a277
# https://speckle.community/t/revit-add-new-parameters/5170/2
else:
polygon.displayValue = []
Expand Down
23 changes: 1 addition & 22 deletions tests/unit/utils/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ def data_storage():
return sample_obj


@pytest.fixture()
def stream_wrapper_fe1():
sample_obj = StreamWrapper("https://latest.speckle.dev/streams/2099ac4b5f")
sample_obj.get_client()
return sample_obj


@pytest.fixture()
def stream_wrapper_fe2():
sample_obj = StreamWrapper("https://latest.speckle.systems/projects/92b620fb17")
Expand All @@ -47,12 +40,6 @@ def speckle_client(stream_wrapper_fe2):
return sample_obj


@pytest.fixture()
def stream_fe1(stream_wrapper_fe1):
sample_obj = stream_wrapper_fe1._client.stream.get(id=stream_wrapper_fe1.stream_id)
return sample_obj


@pytest.fixture()
def stream(stream_wrapper_fe2):
sample_obj = stream_wrapper_fe2._client.stream.get(id=stream_wrapper_fe2.stream_id)
Expand All @@ -75,14 +62,6 @@ def commit_id():
return "6283209680"


def test_tryGetClient_fe1(stream_wrapper_fe1, data_storage):
result = tryGetClient(
stream_wrapper_fe1, data_storage, write=False, dockwidget=None
)
assert isinstance(result[0], SpeckleClient)
assert isinstance(result[1], Stream)


def test_tryGetClient_fe2(stream_wrapper_fe2, data_storage):
result = tryGetClient(
stream_wrapper_fe2, data_storage, write=False, dockwidget=None
Expand Down Expand Up @@ -117,7 +96,7 @@ def test_validateBranch(stream):


def test_validateBranch_no_commits():
sample_wrapper = StreamWrapper("https://latest.speckle.dev/streams/7117052f4e")
sample_wrapper = StreamWrapper("https://latest.speckle.systems/projects/7117052f4e")
sample_wrapper.get_client()
stream_fe1 = sample_wrapper._client.stream.get(id=sample_wrapper.stream_id)
branch_name = "empty_branch"
Expand Down

0 comments on commit be57c43

Please sign in to comment.